dingxin 6 years ago
parent
commit
4873092d91

+ 1
- 1
CODE/smart-community/app-api/src/main/resources/mapper/TaSysMenuMapper.xml View File

131
     select
131
     select
132
     <include refid="Base_Column_List" />
132
     <include refid="Base_Column_List" />
133
     from ta_sys_menu
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
   </select>
135
   </select>
136
 </mapper>
136
 </mapper>

+ 1
- 0
CODE/smart-community/property-api/src/main/resources/mapper/TaSysMenuMapper.xml View File

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