|
@@ -514,15 +514,7 @@ public class JySceneUserAuthServiceImpl extends ServiceImpl<IJySceneUserAuthMapp
|
|
|
if(jySceneAuth!=null && jySceneAuth.getAuthType() == 1){
|
|
|
sceneAuthVo.setViewAuth(true);
|
|
|
}
|
|
|
- if(StringUtils.isNotBlank(num)){
|
|
|
|
|
|
- List<String> numList = manageConfig.getNumList();
|
|
|
- if(numList.contains(num)){
|
|
|
- sceneAuthVo.setViewAuth(true);
|
|
|
- sceneAuthVo.setEditAuth(true);
|
|
|
- return sceneAuthVo;
|
|
|
- }
|
|
|
- }
|
|
|
|
|
|
|
|
|
List<Case> caseList = null;
|
|
@@ -567,6 +559,14 @@ public class JySceneUserAuthServiceImpl extends ServiceImpl<IJySceneUserAuthMapp
|
|
|
if(sysUserId == null){
|
|
|
return sceneAuthVo;
|
|
|
}
|
|
|
+ if(StringUtils.isNotBlank(num)){
|
|
|
+ List<String> numList = manageConfig.getNumList();
|
|
|
+ if(numList.contains(num)){
|
|
|
+ sceneAuthVo.setViewAuth(true);
|
|
|
+ sceneAuthVo.setEditAuth(true);
|
|
|
+ return sceneAuthVo;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
SysUser byId = sysUserService.getById(sysUserId);
|
|
|
if(byId.getRoleId() == 1L ){
|