From 95e3d91f19763a7d96c0f084bf8fcd31ea8e5896 Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期六, 13 七月 2024 21:11:05 +0800 Subject: [PATCH] 光纤接头损耗 --- performance-server/src/main/resources/mapper/AuxiliaryCorrectionHoursMapper.xml | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/performance-server/src/main/resources/mapper/AuxiliaryCorrectionHoursMapper.xml b/performance-server/src/main/resources/mapper/AuxiliaryCorrectionHoursMapper.xml index fa2a6be..a57a4c3 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 - <if test="ids !=null and ids != ''"> + WHERE name_user in(#{ids}) + <!--<if test="ids !=null and ids != ''"> WHERE name_user in <foreach collection="ids" index="index" open="(" separator="," close=")" item="val"> #{val} </foreach> - </if> - ) data + </if>--> + ) A <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''"> ${ew.customSqlSegment} </if> -- Gitblit v1.9.3