xin
2025-06-17 8a780787a6b1db9f934bf730c17e0a6a4fc7f01b
oying-system/src/main/java/com/oying/modules/system/mapper/RoleMapper.java
@@ -7,7 +7,6 @@
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import java.util.List;
import java.util.Set;
/**
 * @author Z
@@ -27,8 +26,6 @@
    Role findByName(@Param("name") String name);
    List<Role> findByUserId(@Param("userId") Long userId);
    int countByDepts(@Param("deptIds") Set<Long> deptIds);
    @Select("SELECT role.role_id as id FROM sys_role role, sys_roles_menus rm " +
            "WHERE role.role_id = rm.role_id AND rm.menu_id = #{menuId}")