Преглед изворни кода

1、课时申诉非管理员搜索无效

Joburgess пре 5 година
родитељ
комит
95c3098cfe
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/TeacherAttendanceMapper.xml

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

@@ -500,7 +500,7 @@
         <where>
         <where>
             cs.actual_teacher_id_ = ta.teacher_id_ AND ta.is_complaints_ = 1
             cs.actual_teacher_id_ = ta.teacher_id_ AND ta.is_complaints_ = 1
             <if test="organId != null and organId != ''">
             <if test="organId != null and organId != ''">
-                AND t.organ_id_ = #{organId}
+                AND FIND_IN_SET(t.organ_id_, #{organId})
             </if>
             </if>
             <if test="complaintsTime != null and complaintsTime != ''">
             <if test="complaintsTime != null and complaintsTime != ''">
                 AND ta.complaints_time_ = #{complaintsTime}
                 AND ta.complaints_time_ = #{complaintsTime}