소스 검색

优化停车场功

wuxw 6 년 전
부모
커밋
11a6d4641d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      java110-db/src/main/resources/mapper/community/ParkingAreaServiceDaoImplMapper.xml

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

@@ -100,6 +100,7 @@
         <if test="bId !=null and bId != ''">
             and t.b_id= #{bId}
         </if>
+        order by t.create_time desc
         <if test="page != -1 and page != null ">
             limit #{page}, #{row}
         </if>