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/AuxiliaryCorrectionHoursMapper.xml | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/performance-server/src/main/resources/mapper/AuxiliaryCorrectionHoursMapper.xml b/performance-server/src/main/resources/mapper/AuxiliaryCorrectionHoursMapper.xml index fa2a6be..d898a23 100644 --- a/performance-server/src/main/resources/mapper/AuxiliaryCorrectionHoursMapper.xml +++ b/performance-server/src/main/resources/mapper/AuxiliaryCorrectionHoursMapper.xml @@ -44,18 +44,19 @@ <result column="update_user" property="updateUser"/> </resultMap> <select id="selectAuxiliaryCorrectionHours" resultType="com.yuanchu.mom.dto.AuxiliaryCorrectionHoursDto"> - select data.* + select A.* from ( select ach.*,name FROM auxiliary_correction_hours ach left join user on user.id=ach.name_user + WHERE 1=1 <if test="ids !=null and ids != ''"> - WHERE name_user in + and name_user in <foreach collection="ids" index="index" open="(" separator="," close=")" item="val"> #{val} </foreach> </if> - ) data + ) A <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''"> ${ew.customSqlSegment} </if> -- Gitblit v1.9.3