dingxin 6 年前
父节点
当前提交
4873092d91

+ 1
- 1
CODE/smart-community/app-api/src/main/resources/mapper/TaSysMenuMapper.xml 查看文件

@@ -131,6 +131,6 @@
131 131
     select
132 132
     <include refid="Base_Column_List" />
133 133
     from ta_sys_menu
134
-    where community_id = #{communityId,jdbcType=INTEGER} and status = 0
134
+    where community_id = #{communityId,jdbcType=INTEGER} and status = 0 order by sort
135 135
   </select>
136 136
 </mapper>

+ 1
- 0
CODE/smart-community/property-api/src/main/resources/mapper/TaSysMenuMapper.xml 查看文件

@@ -19,6 +19,7 @@
19 19
             ta_sys_menu tas
20 20
         WHERE
21 21
             tas.community_id = #{communityId}
22
+        order by sort
22 23
     </select>
23 24
 
24 25
 </mapper>