胡轶钦 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());