소스 검색

feat:老师考勤列表过滤被合并课程

Joburgess 4 년 전
부모
커밋
a97c0a7e86
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      mec-biz/src/main/resources/config/mybatis/TeacherAttendanceMapper.xml

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

@@ -282,6 +282,7 @@
     <sql id="queryTeacherAttendancesCondition">
         <where>
             cs.del_flag_ = 0
+            AND (cs.new_course_id_ IS NULL OR cs.new_course_id_=cs.id_)
             <if test="search != null and search != ''">
                 AND (su.id_ = #{search} OR su.real_name_ LIKE CONCAT('%',#{search},'%') OR cs.id_ = #{search} OR cs.name_ LIKE CONCAT('%',#{search},'%'))
             </if>