From 4e7efe3cc59d19e9c81cef1624f5bb125613124d Mon Sep 17 00:00:00 2001 From: zhenghaoyu Date: Tue, 27 Jun 2023 16:17:14 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=9F=A5=E8=AF=A2=E8=AE=A2=E5=8D=95=E4=BC=9A?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E5=A4=9A=E6=9D=A1=E8=AE=A2=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../factory/pan/service/impl/PanFactoryDataServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blade-service/logpm-factory/src/main/java/com/logpm/factory/pan/service/impl/PanFactoryDataServiceImpl.java b/blade-service/logpm-factory/src/main/java/com/logpm/factory/pan/service/impl/PanFactoryDataServiceImpl.java index 91b9162f1..0cae986ab 100644 --- a/blade-service/logpm-factory/src/main/java/com/logpm/factory/pan/service/impl/PanFactoryDataServiceImpl.java +++ b/blade-service/logpm-factory/src/main/java/com/logpm/factory/pan/service/impl/PanFactoryDataServiceImpl.java @@ -396,8 +396,8 @@ public class PanFactoryDataServiceImpl implements IPanFactoryDataService { QueryWrapper queryWrapper = new QueryWrapper<>(); queryWrapper.eq("order_no",orderNo); - PanFactoryOrder one = factoryOrderService.getOne(queryWrapper); - if(!Objects.isNull(one)){ + List one = factoryOrderService.list(queryWrapper); + if(!Objects.isNull(one)&& one.size() > 0){ //如果订单已存在就去验证订单下面的包件信息 List order_attributes = factoryOrderDTO.getORDER_ATTRIBUTES(); QueryWrapper qw = new QueryWrapper<>();