Browse Source

修复 bug 4465

魏熙美 6 years ago
parent
commit
6115fa4938

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

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