Browse Source

课时补充作废后生效问题

dzx 4 months ago
parent
commit
7a4c7c5a5c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/resources/mapper/classtime/ClassTimeStatisticsMapper.xml

+ 1 - 1
src/main/resources/mapper/classtime/ClassTimeStatisticsMapper.xml

@@ -13,7 +13,7 @@
         SELECT t2.id,t2.apply_user_id,t2.dept_id,t1.course_time_type,t1.course_time,t1.schedule_date,t1.remark,t1.explains, t1.teacher_id as teacher_ids FROM wf_teacher_course_time_detail t1
         INNER JOIN wf_teacher_course_time t2 ON t1.wf_teacher_course_time_id = t2.id
         INNER JOIN xjr_workflow_form_relation t3 ON t2.id = t3.form_key_value
-        WHERE t3.current_state = 'COMPLETED'
+        WHERE t3.current_state = 'COMPLETED' and t2.enabled_mark = 1
         AND t1.schedule_date BETWEEN #{dto.startDate} and #{dto.endDate}
     </select>