Crunchy
2024-07-13 3c6e6da7d37b174edd9e94301030f96ff726ad74
user-server/src/main/java/com/yuanchu/mom/service/impl/RoleServiceImp.java
@@ -75,6 +75,7 @@
    public int upRole(RolePowerDto rolePowerDto) {
        Role role = new Role();
        role.setName(rolePowerDto.getRoleName());
        role.setCategory(rolePowerDto.getCategory());
        role.setId(rolePowerDto.getRoleId2());
        int up = roleMapper.updateById(role);
        if (up == 1){
@@ -86,4 +87,4 @@
        }
        return 1;
    }
}
}