浏览代码

feat:六一活动排课

Joburgess 4 年之前
父节点
当前提交
0d1a6446b3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/TeacherMapper.xml

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

@@ -943,7 +943,7 @@
             AND FIND_IN_SET(t.organ_id_,#{organId})
         </if>
         <if test="organId != null and includeFlowOrgan!=null and includeFlowOrgan">
-            (CONCAT(',',t.organ_id_,',',IFNULL(t.flow_organ_range_,''),',') REGEXP CONCAT(',(',replace(#{organId},',','|'),'),'))
+            AND (CONCAT(',',t.organ_id_,',',IFNULL(t.flow_organ_range_,''),',') REGEXP CONCAT(',(',replace(#{organId},',','|'),'),'))
         </if>
         <if test="subjectIds != null">
             AND INTE_ARRAY(t.subject_id_,#{subjectIds})