Bladeren bron

* 代码优化

顾绍勇 5 jaren geleden
bovenliggende
commit
32ec790e4a

+ 6
- 0
src/main/java/com/huiju/estateagents/po/TaHousingResourcesPO.java Bestand weergeven

@@ -107,4 +107,10 @@ public class TaHousingResourcesPO extends TaHousingResources {
107 107
      */
108 108
     @TableField(exist = false)
109 109
     private Integer raiseRecordId;
110
+
111
+    /**
112
+     * 是否展示房源价格
113
+     */
114
+    @TableField(exist = false)
115
+    private Boolean displayHousePrice;
110 116
 }

+ 6
- 0
src/main/java/com/huiju/estateagents/po/TaPreselectionRecordPO.java Bestand weergeven

@@ -110,4 +110,10 @@ public class TaPreselectionRecordPO extends TaPreselectionRecord {
110 110
      */
111 111
     @TableField(exist = false)
112 112
     private TaHousingResources housingInfo;
113
+
114
+    /**
115
+     * 是否展示房源价格
116
+     */
117
+    @TableField(exist = false)
118
+    private Boolean displayHousePrice;
113 119
 }

+ 2
- 1
src/main/resources/mapper/TaPreselectionRecordMapper.xml Bestand weergeven

@@ -14,7 +14,8 @@
14 14
             t2.apartment_id,
15 15
             t2.building_id buildingId,
16 16
             t2.`status` housingStatus,
17
-            t3.`status` saleBatchStatus
17
+            t3.`status` saleBatchStatus,
18
+            t3.display_house_price
18 19
         FROM
19 20
             ta_preselection_record t
20 21
         LEFT JOIN ta_housing_resources t2 ON t.house_id = t2.house_id