mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-14 05:42:06 +08:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
+8
-8
@@ -274,14 +274,14 @@ public class OptimizePlanServiceImpl implements OptimizePlanService {
|
|||||||
Long planId = respVO.getPlanId();
|
Long planId = respVO.getPlanId();
|
||||||
List<Long> goodsNo = respVO.getGoodsNo();
|
List<Long> goodsNo = respVO.getGoodsNo();
|
||||||
|
|
||||||
LoginUser loginUser = SecurityFrameworkUtils.getLoginUser();
|
// LoginUser loginUser = SecurityFrameworkUtils.getLoginUser();
|
||||||
assert loginUser != null;
|
// assert loginUser != null;
|
||||||
|
//
|
||||||
if(!loginUser.getIsSupAdmin()){
|
// if(!loginUser.getIsSupAdmin()){
|
||||||
|
//
|
||||||
throw exception(INSUFFICIENT_PERMISSIONS);
|
// throw exception(INSUFFICIENT_PERMISSIONS);
|
||||||
|
//
|
||||||
}
|
// }
|
||||||
|
|
||||||
PlanDO planDO = planMapper.selectById(planId);
|
PlanDO planDO = planMapper.selectById(planId);
|
||||||
if (planDO == null) {
|
if (planDO == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user