From 9b015b51b72ba050b4c38a6ba79eb45b7065e67d Mon Sep 17 00:00:00 2001 From: Lius <Lius2225@163.com> Date: 星期四, 25 七月 2024 10:11:52 +0800 Subject: [PATCH] 调整sql --- lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/DailyInspectionStandardMapper.xml | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/DailyInspectionStandardMapper.xml b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/DailyInspectionStandardMapper.xml index 7192fef..6c73eb5 100644 --- a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/DailyInspectionStandardMapper.xml +++ b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/DailyInspectionStandardMapper.xml @@ -32,7 +32,10 @@ t1.write_person as writePerson, t1.audit_person as auditPerson, t1.approval_person as approvalPerson, - t1.lose_efficacy_person as loseEfficacyPerson + t1.lose_efficacy_person as loseEfficacyPerson, + t1.dis_uda1 as disUda1, + t1.dis_uda2 as disUda2, + t1.dis_uda3 as disUda3 FROM mom_eam_daily_inspection_standard t1 LEFT JOIN mom_eam_equipment t2 ON t1.equipment_id = t2.id @@ -49,7 +52,7 @@ and t2.name like concat('%',#{name},'%') </if> <if test="versionStatus != 'null' and versionStatus != ''"> - and t1.version_status like concat('%',#{versionStatus},'%') + and t1.version_status = #{versionStatus} </if> <if test="versionStatus == 'null' "> and t1.version_status='2' -- Gitblit v1.9.3