彭雪彬
2025-07-15 002dad83de409449f2c356f33f54f13dbed28527
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}")