胡轶钦 5 år sedan
förälder
incheckning
1b50254190

+ 2
- 1
src/main/java/com/huiju/estateagents/service/impl/TaRecommendCustomerServiceImpl.java Visa fil

276
 //        taRecommendCustomer.setDescribe(params.getString("describe"));
276
 //        taRecommendCustomer.setDescribe(params.getString("describe"));
277
         taRecommendCustomer.setRealtyConsultant(params.getString("realtyConsultant"));
277
         taRecommendCustomer.setRealtyConsultant(params.getString("realtyConsultant"));
278
         taRecommendCustomer.setBuildingId(params.getString("buildingId"));
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
         taRecommendCustomer.setReportRecommendStatus(CommConstant.VERIFY_AGREE);
281
         taRecommendCustomer.setReportRecommendStatus(CommConstant.VERIFY_AGREE);
281
         taRecommendCustomer.setCreateDate(LocalDateTime.now());
282
         taRecommendCustomer.setCreateDate(LocalDateTime.now());
282
         taRecommendCustomer.setReportDate(LocalDateTime.now());
283
         taRecommendCustomer.setReportDate(LocalDateTime.now());