Commit c27692e7 authored by fangxinjiang's avatar fangxinjiang

管理员减员不限制-fxj

parent 077693a8
......@@ -6383,7 +6383,9 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
errorList.add(param);
continue;
}
if(deptNoList.stream().noneMatch(u -> u.equals(one.getDeptNo()))){
//非系统管理员,项目权限校验
if(Common.isNotNull(user) && !CommonConstants.ZERO_STRING.equals(user.getSystemFlag())
&& deptNoList.stream().noneMatch(u -> u.equals(one.getDeptNo()))){
param.setErrorMessage(InsurancesConstants.DEPT_NO_NOT_IN_DEPT_LIST);
errorList.add(param);
continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment