Browse Source

问题修改

xiaochen 2 years ago
parent
commit
9c3589f2d8
1 changed files with 1 additions and 0 deletions
  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>