dingxin 6 年前
父节点
当前提交
00b8b8234b

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

+ 1
- 1
CODE/smart-community/property-api/src/main/resources/mapper/TpShopMapper.xml 查看文件

@@ -33,7 +33,7 @@
33 33
         <if test="tpShop.shopStatus != null and tpShop.shopStatus != ''">
34 34
             and t.shop_status  = #{tpShop.shopStatus}
35 35
         </if>
36
-        ORDER BY t.sort
36
+        ORDER BY t.sort, t.update_date desc
37 37
     </select>
38 38
 
39 39
 </mapper>