mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
优化生产-修改开料排单权限修改
This commit is contained in:
+8
-8
@@ -274,14 +274,14 @@ public class OptimizePlanServiceImpl implements OptimizePlanService {
|
||||
Long planId = respVO.getPlanId();
|
||||
List<Long> 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) {
|
||||
|
||||
Reference in New Issue
Block a user