Commit 70d779116a672a80844ed6e3324c8e49d78326af

Authored by 颜惠青
1 parent 5a6729dd

督察员抄送

urbanops-module-workorder/src/main/java/com/zteits/urbanops/module/workorder/service/garden/BpmInspectorServiceImpl.java
... ... @@ -114,7 +114,7 @@ public class BpmInspectorServiceImpl implements BpmInspectorService{
114 114 throw exception(APP_USER_ROLE_NOT_EXISTS);
115 115 }
116 116  
117   - if(!RoleListUtils.containsCode(roleList,INSPECTOR_GLOBAL) || !RoleListUtils.containsCode(roleList,INSPECTOR_GLOBAL_LEADER)){
  117 + if(!(RoleListUtils.containsCode(roleList,INSPECTOR_GLOBAL) || RoleListUtils.containsCode(roleList,INSPECTOR_GLOBAL_LEADER))){
118 118 throw exception(APP_INSPECTOR_USER_ROLE_ERROR);
119 119 }
120 120 //校验人员不能有 双重角色
... ...