xiaochen 2 年 前
コミット
9c3589f2d8
1 ファイル変更1 行追加0 行削除
  1. 1 0
      src/main/resources/mapper/MenuMapper.xml

+ 1 - 0
src/main/resources/mapper/MenuMapper.xml

@@ -126,5 +126,6 @@
         FROM tld_menu a
         JOIN tld_user b on b.id = #{userId}
         where b.menu like CONCAT('%', CONCAT(a.id, ','), '%')
+        ORDER BY a.order_by
     </select>
 </mapper>