xiaochen %!s(int64=2) %!d(string=hai) anos
pai
achega
9c3589f2d8
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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>