| server/src/main/java/doumeemes/biz/system/impl/SystemRoleBizImpl.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
server/src/main/java/doumeemes/biz/system/impl/SystemRoleBizImpl.java
@@ -45,7 +45,7 @@ // 验证用户名 LoginUserInfo user = (LoginUserInfo) SecurityUtils.getSubject().getPrincipal(); systemRole.setDeleted(Boolean.FALSE); if(systemRole.getType() ==null){ if(systemRole.getType() ==null || Constants.equalsInteger(user.getType(),Constants.USERTYPE.PLAT)){ systemRole.setType(Constants.ROLETYPE.plat); } systemRole.setCompanyId(null);