From 498e9ec858df0a9509f37bdb45e86fc8588a460b Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Wed, 6 Nov 2024 17:38:16 +0800 Subject: [PATCH] 2024-11-06 --- .../resources/mapper/part/PartInformationMapper.xml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/main/resources/mapper/part/PartInformationMapper.xml b/src/main/resources/mapper/part/PartInformationMapper.xml index e2e1f37a..8dcf85fc 100644 --- a/src/main/resources/mapper/part/PartInformationMapper.xml +++ b/src/main/resources/mapper/part/PartInformationMapper.xml @@ -100,7 +100,7 @@ update_by, plm_part_no, ifs_part_no, - case when status = 'Y' or (ifs_part_no is not null and ifs_part_no ]]> '') then '正式物料' else '临时物料' end as statusDesc + case when status = 'Y' then '正式物料' else '临时物料' end as statusDesc FROM part site = #{query.site} @@ -125,6 +125,15 @@ AND #{query.endDate} >= create_date + + AND status = 'Y' + + + AND status ]]> 'Y' + + + AND ifs_part_no like #{query.ifsPartNo} +