java110 лет назад: 3
Родитель
Сommit
07a6fcff7c

+ 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.layer,t.room_num
+        order by f.floor_num ,u.unit_num,CONVERT(t.layer,SIGNED),t.room_num
         <if test="page != -1 and page != null">
             limit #{page},#{row}
         </if>