傅行帆 6 년 전
부모
커밋
f1044b6512
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      CODE/smart-community/property-api/src/main/resources/mapper/TpRentalHouseMapper.xml

+ 1
- 1
CODE/smart-community/property-api/src/main/resources/mapper/TpRentalHouseMapper.xml 파일 보기

@@ -39,6 +39,6 @@
39 39
         <if test="tpRentalHouse.endPrice != null and tpRentalHouse.endPrice != ''">
40 40
             and t.rental_price  &lt;= #{tpRentalHouse.endPrice,jdbcType=INTEGER}
41 41
         </if>
42
-        order by t.sort
42
+        order by t.sort, t.update_date desc
43 43
     </select>
44 44
 </mapper>