Переглянути джерело

临时拆合班增加课程类型

周箭河 5 роки тому
батько
коміт
decf1ed265

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

@@ -224,10 +224,10 @@
     <!-- 根据乐团id获取乐团下所有班级 -->
     <select id="findClassGroupByMusicGroupId" resultMap="ClassGroupTeachers">
         SELECT * FROM class_group WHERE music_group_id_ = #{musicGroupId}
-        <if test="type !=null and type !=''">
+        <if test="type !=null">
             AND FIND_IN_SET(type_,#{type})
         </if>
-        <if test="classGroupId !=null and classGroupId !=''">
+        <if test="classGroupId !=null">
             AND id_ = #{classGroupId}
         </if>
         AND del_flag_ = 0