jiaosong
2023-09-12 b0a9e3b690af73fa1c493e151fde2526110c28fa
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);