傅行帆 6 jaren geleden
bovenliggende
commit
f1044b6512

+ 1
- 1
CODE/smart-community/property-api/src/main/resources/mapper/TpRentalHouseMapper.xml Bestand weergeven

@@ -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>