dingxin 6 年前
父节点
当前提交
725f99fb75
共有 1 个文件被更改,包括 10 次插入10 次删除
  1. 10
    10
      CODE/smart-community/app-api/src/main/resources/mapper/TpRentalHouseMapper.xml

+ 10
- 10
CODE/smart-community/app-api/src/main/resources/mapper/TpRentalHouseMapper.xml 查看文件

@@ -537,31 +537,31 @@
537 537
       </if>
538 538
 
539 539
       <if test="rentalPrice == 1" >
540
-        and  '1000' >= rh.rental_price
540
+        and rh.rental_price <![CDATA[<= ]]> 1000
541 541
       </if>
542 542
 
543 543
       <if test="rentalPrice == 2" >
544
-        and  '1500' >= rh.rental_type
545
-        and  rh.rental_price >= '1000'
544
+        and  rh.rental_price <![CDATA[>= ]]> 1000
545
+        and  rh.rental_price <![CDATA[<= ]]> 1500
546 546
       </if>
547 547
 
548 548
       <if test="rentalPrice == 3" >
549
-        and  '2000' >= rh.rental_type
550
-        and  rh.rental_price >= '1500'
549
+        and  rh.rental_price <![CDATA[>= ]]> 1500
550
+        and  rh.rental_price <![CDATA[<= ]]> 2000
551 551
       </if>
552 552
 
553 553
       <if test="rentalPrice == 4" >
554
-        and  '3000' >= rh.rental_type
555
-        and  rh.rental_price >= '2000'
554
+        and  rh.rental_price <![CDATA[>= ]]> 2000
555
+        and  rh.rental_price <![CDATA[<= ]]> 3000
556 556
       </if>
557 557
 
558 558
       <if test="rentalPrice == 5" >
559
-        and  '4000' >= rh.rental_type
560
-        and  rh.rental_price >= '3000'
559
+        and  rh.rental_price <![CDATA[>= ]]> 3000
560
+        and  rh.rental_price<![CDATA[ <= ]]> 4000
561 561
       </if>
562 562
 
563 563
       <if test="rentalPrice == 6" >
564
-        and  rh.rental_price >= '4000'
564
+        and  rh.rental_price >= 4000
565 565
       </if>
566 566
 
567 567
       <if test="priceFluctuate == 1" >