Browse Source

修复 bug 4465

魏熙美 6 years ago
parent
commit
dd3c2ad2d4

+ 2
- 2
CODE/smart-community/app-api/src/main/resources/mapper/TpRentalHouseMapper.xml View File

@@ -567,11 +567,11 @@
567 567
       and rh.house_status = 1
568 568
     </where>
569 569
     <if test="priceFluctuate == 1" >
570
-        order by (rh.rental_price+0)  asc
570
+        order by rh.sort desc, (rh.rental_price+0)  asc
571 571
     </if>
572 572
 
573 573
     <if test="priceFluctuate == 2" >
574
-        order by (rh.rental_price+0)  desc
574
+        order by rh.sort desc, (rh.rental_price+0)  desc
575 575
     </if>
576 576
   </select>
577 577
 </mapper>