From 79bb03222410695f5254b7e4fdb9a7ed4153c934 Mon Sep 17 00:00:00 2001 From: liuzhaotian Date: Wed, 28 Aug 2024 17:28:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=94=9F=E4=BA=A7-=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=BC=80=E6=96=99=E6=8E=92=E5=8D=95=E6=9D=83=E9=99=90?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../optimizeplan/OptimizePlanServiceImpl.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/optimizeplan/OptimizePlanServiceImpl.java b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/optimizeplan/OptimizePlanServiceImpl.java index 5e795f8b2..629bf739b 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/optimizeplan/OptimizePlanServiceImpl.java +++ b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/optimizeplan/OptimizePlanServiceImpl.java @@ -274,14 +274,14 @@ public class OptimizePlanServiceImpl implements OptimizePlanService { Long planId = respVO.getPlanId(); List goodsNo = respVO.getGoodsNo(); - LoginUser loginUser = SecurityFrameworkUtils.getLoginUser(); - assert loginUser != null; - - if(!loginUser.getIsSupAdmin()){ - - throw exception(INSUFFICIENT_PERMISSIONS); - - } +// LoginUser loginUser = SecurityFrameworkUtils.getLoginUser(); +// assert loginUser != null; +// +// if(!loginUser.getIsSupAdmin()){ +// +// throw exception(INSUFFICIENT_PERMISSIONS); +// +// } PlanDO planDO = planMapper.selectById(planId); if (planDO == null) {