|
@@ -5,7 +5,7 @@
|
|
<mapper namespace="com.xjrsoft.module.classtime.mapper.ClassTimeDeleteMapper">
|
|
<mapper namespace="com.xjrsoft.module.classtime.mapper.ClassTimeDeleteMapper">
|
|
<select id="getPage" parameterType="com.xjrsoft.module.classtime.dto.ClassTimeDeletePageDto" resultType="com.xjrsoft.module.classtime.vo.ClassTimeDeletePageVo">
|
|
<select id="getPage" parameterType="com.xjrsoft.module.classtime.dto.ClassTimeDeletePageDto" resultType="com.xjrsoft.module.classtime.vo.ClassTimeDeletePageVo">
|
|
SELECT t1.id, t2.name AS class_name,t3.name AS type_cn,t1.type,t4.name AS operation_user_name,t1.remark,t1.time_period,
|
|
SELECT t1.id, t2.name AS class_name,t3.name AS type_cn,t1.type,t4.name AS operation_user_name,t1.remark,t1.time_period,
|
|
- t1.start_date,t1.end_date,t1.status,IFNULL(t1.modify_date,t1.create_date) AS operation_time FROM class_time_delete t1
|
|
|
|
|
|
+ t1.start_date,t1.end_date,t1.status,IFNULL(t1.modify_date,t1.create_date) AS operation_date FROM class_time_delete t1
|
|
INNER JOIN base_class t2 ON t1.class_id = t2.id
|
|
INNER JOIN base_class t2 ON t1.class_id = t2.id
|
|
LEFT JOIN xjr_dictionary_detail t3 ON t1.type = t3.code
|
|
LEFT JOIN xjr_dictionary_detail t3 ON t1.type = t3.code
|
|
LEFT JOIN xjr_user t4 ON IFNULL(t1.modify_user_id, t1.create_user_id) = t4.id
|
|
LEFT JOIN xjr_user t4 ON IFNULL(t1.modify_user_id, t1.create_user_id) = t4.id
|