zss
2024-08-20 5c23611de83b28d34ea486af67e1f4ce5c8a494b
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;
    }
}
}