From 8f63d5ce747106195b279e1c158fd12f9997a770 Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期二, 18 三月 2025 19:08:40 +0800 Subject: [PATCH] 检验任务代码迁移&爱尚平台对接测试 --- performance-server/src/main/resources/mapper/PerformanceShiftMapper.xml | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/performance-server/src/main/resources/mapper/PerformanceShiftMapper.xml b/performance-server/src/main/resources/mapper/PerformanceShiftMapper.xml index c8ff49e..b92f761 100644 --- a/performance-server/src/main/resources/mapper/PerformanceShiftMapper.xml +++ b/performance-server/src/main/resources/mapper/PerformanceShiftMapper.xml @@ -110,8 +110,9 @@ <select id="performanceShiftList" resultMap="performanceShiftPageMap"> SELECT - if(u.department is not null and u.department != '', CONCAT(u.name, '锛�', u.department, '锛�'), u.name) name, - GROUP_CONCAT(s.work_time, '锛�', s.shift, '锛�', s.id order by s.work_time SEPARATOR ';') AS shift_time, u.id user_id, u.department + <!--if(u.department is not null and u.department != '', CONCAT(u.name, '锛�', u.department, '锛�'), u.name) name,--> + u.name name, + GROUP_CONCAT(s.work_time, '锛�', s.shift, '锛�', s.id order by s.work_time SEPARATOR ';') AS shift_time, u.id user_id, u.dept_id FROM performance_shift s LEFT JOIN user u on u.id = s.user_id <where> @@ -124,8 +125,8 @@ <if test="laboratory != null and laboratory != ''"> </if> </where> - order by s.create_time GROUP BY u.id + order by s.create_time </select> <select id="seldepLimsId" resultType="java.lang.String"> @@ -148,7 +149,7 @@ from user u left join department_lims dl on FIND_IN_SET(dl.id,u.depart_lims_id) - where dl.name in('閫氫俊浜у搧瀹為獙瀹�','鐢靛姏浜у搧瀹為獙瀹�') + where dl.name in('閫氫俊浜у搧瀹為獙瀹�','鐢靛姏浜у搧瀹為獙瀹�','妫�娴嬪姙') and u.status = 0 and u.is_custom = 0 </select> -- Gitblit v1.9.3