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