ソースを参照

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

Joburgess 4 年 前
コミット
a97c0a7e86

+ 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>