Ver código fonte

问题修改

xiaochen 2 anos atrás
pai
commit
9c3589f2d8
1 arquivos alterados com 1 adições e 0 exclusões
  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>