From 351f293a07a307770bc4487d4e8ad5d54f9ae2f8 Mon Sep 17 00:00:00 2001 From: gaoqr <13665037151@163.com> Date: Tue, 2 Jun 2026 18:43:58 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A6=85=E9=81=93bug#1611=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../imes/module/executor/api/plan/OrderPlanApiImpl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/api/plan/OrderPlanApiImpl.java b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/api/plan/OrderPlanApiImpl.java index d5fbadc23..dd3bcd972 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/api/plan/OrderPlanApiImpl.java +++ b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/api/plan/OrderPlanApiImpl.java @@ -119,7 +119,7 @@ public class OrderPlanApiImpl implements OrderPlanApi{ List plateDOS = plateMapper.selectNoCutPlateByPlateId(Collections.singletonList(orderId), organId); - if(CollUtil.isNotEmpty(plateDOS)){ + if (CollUtil.isNotEmpty(plateDOS)) { return CommonResult.success(false); } @@ -129,19 +129,19 @@ public class OrderPlanApiImpl implements OrderPlanApi{ .ne(PlateDO::getPlanId, 0L) .select(PlateDO::getPlanId)); - if(CollUtil.isNotEmpty(orderPlanPlateList)){ + if (CollUtil.isNotEmpty(orderPlanPlateList)) { List planIds = orderPlanPlateList.stream().map(PlateDO::getPlanId).distinct().toList(); List planDOS = planMapper.selectPlanList(planIds, organId); - if(CollUtil.isEmpty(planDOS)){ + if (CollUtil.isEmpty(planDOS)) { return CommonResult.success(true); } } - return CommonResult.success(false); + return CommonResult.success(true); }