Browse Source

* 代码优化

顾绍勇 5 years ago
parent
commit
32ec790e4a

+ 6
- 0
src/main/java/com/huiju/estateagents/po/TaHousingResourcesPO.java View File

107
      */
107
      */
108
     @TableField(exist = false)
108
     @TableField(exist = false)
109
     private Integer raiseRecordId;
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 View File

110
      */
110
      */
111
     @TableField(exist = false)
111
     @TableField(exist = false)
112
     private TaHousingResources housingInfo;
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 View File

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