Pārlūkot izejas kodu

优化房屋排序问题

java110 5 gadi atpakaļ
vecāks
revīzija
a5ed9dd9b6

+ 1 - 0
java110-db/src/main/resources/mapper/community/RoomServiceDaoImplMapper.xml

@@ -681,6 +681,7 @@
         <if test="communityId !=null and communityId != ''">
             and t.community_id= #{communityId}
         </if>
+        order by f.floor_num ,u.unit_num,t.room_num
         <if test="page != -1 and page != null">
             limit #{page},#{row}
         </if>