瀏覽代碼

问题修改

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>