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);