|
|
@ -1255,7 +1255,7 @@ public class TechnicalSpecificationController { |
|
|
String status = technicalSpecificationService.getBMStatusDesc(data); |
|
|
String status = technicalSpecificationService.getBMStatusDesc(data); |
|
|
Boolean flag = false; |
|
|
Boolean flag = false; |
|
|
// 是否超级管理员 |
|
|
// 是否超级管理员 |
|
|
if (sysMenuDao.checkSuperAdmin(((SysUserEntity) SecurityUtils.getSubject().getPrincipal()).getUserId()).size() > 0) { |
|
|
|
|
|
|
|
|
if (!sysMenuDao.checkSuperAdmin(((SysUserEntity) SecurityUtils.getSubject().getPrincipal()).getUserId()).isEmpty()) { |
|
|
flag = true; |
|
|
flag = true; |
|
|
} |
|
|
} |
|
|
return R.ok().put("status",status).put("superAdmin",flag); |
|
|
return R.ok().put("status",status).put("superAdmin",flag); |
|
|
|