From 1dbba5d7ce7db0c096c7931a9ad08075d2a43a22 Mon Sep 17 00:00:00 2001 From: Aoi_Tori <2547614904@qq.com> Date: Sat, 14 Jun 2025 13:05:44 +0800 Subject: [PATCH] 2025/6/14 --- src/main/java/com/spring/modules/part/vo/PartInformationVo.java | 2 ++ src/main/resources/mapper/part/PartInformationMapper.xml | 1 + .../mapper/sampleManagement/TechnicalSpecificationMapper.xml | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/spring/modules/part/vo/PartInformationVo.java b/src/main/java/com/spring/modules/part/vo/PartInformationVo.java index cd98ca28..5586b226 100644 --- a/src/main/java/com/spring/modules/part/vo/PartInformationVo.java +++ b/src/main/java/com/spring/modules/part/vo/PartInformationVo.java @@ -167,4 +167,6 @@ public class PartInformationVo extends PartInformationEntity { private String copyFlag; private String virtualPartNo; + + private String ifHasPeifang; } diff --git a/src/main/resources/mapper/part/PartInformationMapper.xml b/src/main/resources/mapper/part/PartInformationMapper.xml index 30092078..ee71b5cb 100644 --- a/src/main/resources/mapper/part/PartInformationMapper.xml +++ b/src/main/resources/mapper/part/PartInformationMapper.xml @@ -102,6 +102,7 @@ ifs_part_no, show_in_query_flag, temporary_part_flag, + dbo.get_ifHas_peifang(site,part_no) as ifHasPeifang, case when status = 'Y' then '正式物料' else '临时物料' end as statusDesc FROM part diff --git a/src/main/resources/mapper/sampleManagement/TechnicalSpecificationMapper.xml b/src/main/resources/mapper/sampleManagement/TechnicalSpecificationMapper.xml index 2025391c..5fad7fed 100644 --- a/src/main/resources/mapper/sampleManagement/TechnicalSpecificationMapper.xml +++ b/src/main/resources/mapper/sampleManagement/TechnicalSpecificationMapper.xml @@ -2887,7 +2887,7 @@ and sdt.status = 'Y' and sdd.status = 'Y' - and sdd.dict_label like '#{query.dictLabel}' + and sdd.dict_label like #{query.dictLabel} \ No newline at end of file