From 2e4af4ece3016604568c644fba68b6d86afa8507 Mon Sep 17 00:00:00 2001 From: 123456 <123456> Date: 星期二, 16 七月 2024 17:24:29 +0800 Subject: [PATCH] 报错信息修改 --- performance-server/src/main/resources/mapper/AuxiliaryOriginalHoursMapper.xml | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/performance-server/src/main/resources/mapper/AuxiliaryOriginalHoursMapper.xml b/performance-server/src/main/resources/mapper/AuxiliaryOriginalHoursMapper.xml index 1e9a012..110813c 100644 --- a/performance-server/src/main/resources/mapper/AuxiliaryOriginalHoursMapper.xml +++ b/performance-server/src/main/resources/mapper/AuxiliaryOriginalHoursMapper.xml @@ -18,13 +18,13 @@ left join department_lims dl on depart_lims_id = dl.id where date_time LIKE CONCAT('%', #{month}, '%') and awhd.state='宸叉壒鍑�' - and name_user in(#{ids}) - <!-- <if test="ids !=null and ids != ''"> + <!--and name_user in(#{ids})--> + <if test="ids !=null and ids != ''"> and name_user in <foreach collection="ids" index="index" open="(" separator="," close=")" item="val"> #{val} </foreach> - </if>--> + </if> order by month ) A group by A.name, A.month) C @@ -40,13 +40,13 @@ left join user on user.id = aowh.`check` left join department_lims dl on depart_lims_id = dl.id where date_time LIKE CONCAT('%', #{month}, '%') - and `check` in(#{ids}) - <!--<if test="ids !=null and ids != ''"> + <!--and `check` in(#{ids})--> + <if test="ids !=null and ids != ''"> and `check` in <foreach collection="ids" index="index" open="(" separator="," close=")" item="val"> #{val} </foreach> - </if>--> + </if> group by user.name, month order by user.name, month ) B -- Gitblit v1.9.3