|
@@ -10,10 +10,11 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="getWfTeacherCourseTimeList" parameterType="com.xjrsoft.module.classtime.entity.ClassTimeStatistics" resultType="com.xjrsoft.module.oa.entity.WfTeacherCourseTime">
|
|
|
- SELECT t1.* FROM wf_teacher_course_time t1
|
|
|
- INNER JOIN xjr_workflow_form_relation t2 ON t1.id = t2.form_key_value
|
|
|
- WHERE t2.current_state = 'COMPLETED'
|
|
|
- and t1.schedule_date BETWEEN #{dto.startDate} and #{dto.endDate}
|
|
|
+ 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 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'
|
|
|
+ AND t2.schedule_date BETWEEN #{dto.startDate} and #{dto.endDate}
|
|
|
</select>
|
|
|
|
|
|
<select id="getCourseList" parameterType="com.xjrsoft.module.classtime.entity.ClassTimeStatistics" resultType="com.xjrsoft.module.classtime.vo.CourseListVo">
|