lizijie
2021-04-23 4318ffbc62cf082dbea4e045b7ed84da7e0a66ab
screen-manage/src/main/java/com/moral/api/service/impl/ManageRoleServiceImpl.java
@@ -105,8 +105,8 @@
            return resultMap;
        }
        if (manageRoleMapper.getManageRoleByName(manageRole.getName()) != null){
            resultMap.put("code",ResponseCodeEnum.ROLE_IS_EXPIRE.getCode());
            resultMap.put("msg",ResponseCodeEnum.ROLE_IS_EXPIRE.getMsg());
            resultMap.put("code",ResponseCodeEnum.ROLE_IS_EXIST.getCode());
            resultMap.put("msg",ResponseCodeEnum.ROLE_IS_EXIST.getMsg());
            return resultMap;
        }
        manageRoleMapper.insertOne(manageRole);