From 95edcd4febf38be4e942d27182687db5aaf5f17a Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Tue, 9 Dec 2025 15:13:15 +0800 Subject: [PATCH] =?UTF-8?q?2025-12-09=20=E6=96=B0=E5=A2=9E=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E7=89=A9=E6=96=99=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/part/service/impl/PartInformationServiceImpl.java | 2 +- .../mapper/sampleManagement/TechnicalSpecificationMapper.xml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/spring/modules/part/service/impl/PartInformationServiceImpl.java b/src/main/java/com/spring/modules/part/service/impl/PartInformationServiceImpl.java index 7b533960..20509f73 100644 --- a/src/main/java/com/spring/modules/part/service/impl/PartInformationServiceImpl.java +++ b/src/main/java/com/spring/modules/part/service/impl/PartInformationServiceImpl.java @@ -2747,7 +2747,7 @@ public class PartInformationServiceImpl extends ServiceImpl customerPartToAdd = partList.stream() - .filter(a -> partInformationMapper.getProjectCustomerPartNo(a) == null) + .filter(a -> partInformationMapper.getProjectCustomerPartNo(a).isEmpty()) .collect(Collectors.toList()); if (!customerPartToAdd.isEmpty()) { partInformationMapper.addCustomerPartInfo(customerPartToAdd); diff --git a/src/main/resources/mapper/sampleManagement/TechnicalSpecificationMapper.xml b/src/main/resources/mapper/sampleManagement/TechnicalSpecificationMapper.xml index 4d7fb2a2..40b306b0 100644 --- a/src/main/resources/mapper/sampleManagement/TechnicalSpecificationMapper.xml +++ b/src/main/resources/mapper/sampleManagement/TechnicalSpecificationMapper.xml @@ -2986,8 +2986,7 @@ parameterType="com.spring.modules.sampleManagement.data.PlmTechnicalSpecificationSheetData"> EXEC dbo.getTechnicalSpecificationPageWithSqlCount #{sql} - SELECT A.project_id, a.id,