瀏覽代碼

按楼层处理

java110 4 年之前
父節點
當前提交
55b2c10b02
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      java110-db/src/main/resources/mapper/community/RoomServiceDaoImplMapper.xml

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

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