傅行帆 il y a 3 ans
Parent
révision
47e48862e7

+ 3
- 3
src/main/java/com/yunzhi/marketing/xlk/service/impl/SearchHouseServiceImpl.java Voir le fichier

109
     }
109
     }
110
 
110
 
111
     private Integer[] getUnitPriceRange(Integer minPriceW, Integer maxPriceW, Integer areaResultId) {
111
     private Integer[] getUnitPriceRange(Integer minPriceW, Integer maxPriceW, Integer areaResultId) {
112
-        Integer minPrice = minPriceW * 10000;
113
-        Integer maxPrice = maxPriceW * 10000;
112
+        Integer minPrice = minPriceW;
113
+        Integer maxPrice = maxPriceW;
114
 
114
 
115
         // 字典过滤 - 必须与小程序端保持一致
115
         // 字典过滤 - 必须与小程序端保持一致
116
         switch (areaResultId) {
116
         switch (areaResultId) {
151
                 break;
151
                 break;
152
         }
152
         }
153
 
153
 
154
-        return new Integer[] {minPrice, maxPrice};
154
+        return new Integer[] {minPrice * 10000, maxPrice * 10000};
155
     }
155
     }
156
 }
156
 }

+ 1
- 1
src/main/resources/mapper/TaBuildingMapper.xml Voir le fichier

49
         SELECT * FROM ta_building
49
         SELECT * FROM ta_building
50
         <where>
50
         <where>
51
             1 =1
51
             1 =1
52
-            and status = 1
52
+            and status != -1
53
             <if test="Name != null and Name != ''">
53
             <if test="Name != null and Name != ''">
54
                 and  (ta_building.name like concat('%',#{Name,jdbcType=VARCHAR},'%') or ta_building.building_name like concat('%',#{Name,jdbcType=VARCHAR},'%'))
54
                 and  (ta_building.name like concat('%',#{Name,jdbcType=VARCHAR},'%') or ta_building.building_name like concat('%',#{Name,jdbcType=VARCHAR},'%'))
55
             </if>
55
             </if>