Merge pull request #45 from penbox/main

fix:移除 selectMenuListByUserId 中无效的排序字段
This commit is contained in:
valarchie
2023-09-07 10:36:19 +08:00
committed by GitHub

View File

@@ -29,7 +29,7 @@ public interface SysMenuMapper extends BaseMapper<SysMenuEntity> {
+ "WHERE u.user_id = #{userId} "
+ " AND m.status = 1 "
+ " AND m.deleted = 0 "
+ "ORDER BY m.parent_id, m.order_num")
+ "ORDER BY m.parent_id")
List<SysMenuEntity> selectMenuListByUserId(@Param("userId")Long userId);