|
@@ -4,7 +4,7 @@
|
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
<mapper namespace="com.xjrsoft.module.courseTable.mapper.CourseTableMapper">
|
|
<mapper namespace="com.xjrsoft.module.courseTable.mapper.CourseTableMapper">
|
|
|
<select id="getList" parameterType="com.xjrsoft.module.schedule.dto.CourseTableDto" resultType="com.xjrsoft.module.schedule.vo.CourseDetailVo">
|
|
<select id="getList" parameterType="com.xjrsoft.module.schedule.dto.CourseTableDto" resultType="com.xjrsoft.module.schedule.vo.CourseDetailVo">
|
|
|
- SELECT t1.course_name, t2.name AS teacher_name,CONCAT(t4.name,t3.name) AS classroom_name,t1.weeks,t1.time_period,t1.time_number,t5.name as class_name FROM course_table t1
|
|
|
|
|
|
|
+ SELECT t1.course_name, t2.name AS teacher_name,CONCAT(t4.name,t3.name) AS classroom_name,t1.weeks,t1.time_period,t1.time_number,t5.name as class_name,t1.schedule_date FROM course_table t1
|
|
|
LEFT JOIN xjr_user t2 ON t1.teacher_id = t2.id
|
|
LEFT JOIN xjr_user t2 ON t1.teacher_id = t2.id
|
|
|
LEFT JOIN base_classroom t3 ON t1.site_id = t3.id
|
|
LEFT JOIN base_classroom t3 ON t1.site_id = t3.id
|
|
|
LEFT JOIN base_office_build t4 ON t3.office_build_id = t4.id
|
|
LEFT JOIN base_office_build t4 ON t3.office_build_id = t4.id
|