胡轶钦 5 anos atrás
pai
commit
1b50254190

+ 2
- 1
src/main/java/com/huiju/estateagents/service/impl/TaRecommendCustomerServiceImpl.java Ver arquivo

@@ -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());