胡轶钦 5 年 前
コミット
1b50254190
共有1 個のファイルを変更した2 個の追加1 個の削除を含む
  1. 2
    1
      src/main/java/com/huiju/estateagents/service/impl/TaRecommendCustomerServiceImpl.java

+ 2
- 1
src/main/java/com/huiju/estateagents/service/impl/TaRecommendCustomerServiceImpl.java ファイルの表示

@@ -276,7 +276,8 @@ public class TaRecommendCustomerServiceImpl extends ServiceImpl<TaRecommendCusto
276 276
 //        taRecommendCustomer.setDescribe(params.getString("describe"));
277 277
         taRecommendCustomer.setRealtyConsultant(params.getString("realtyConsultant"));
278 278
         taRecommendCustomer.setBuildingId(params.getString("buildingId"));
279
-        taRecommendCustomer.setIntention(params.getString("intention"));
279
+        TaBuilding building = taBuildingMapper.selectById(params.getString("buildingId"));
280
+        taRecommendCustomer.setIntention(building.getBuildingName());
280 281
         taRecommendCustomer.setReportRecommendStatus(CommConstant.VERIFY_AGREE);
281 282
         taRecommendCustomer.setCreateDate(LocalDateTime.now());
282 283
         taRecommendCustomer.setReportDate(LocalDateTime.now());