shangke 2 лет назад
Родитель
Сommit
6f44804141
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/ClassGroupMapper.xml

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/ClassGroupMapper.xml

@@ -777,7 +777,7 @@
             <if test="groupName!=null and groupName!=''">
                 AND vg.name_ LIKE CONCAT('%', #{groupName}, '%')
             </if>
-            <if test="groupType = null">
+            <if test="groupType != null">
                 AND vg.group_type_ = #{groupType}
             </if>
         GROUP BY