|
@@ -322,7 +322,7 @@ public class TaBuildingDynamicController extends BaseController {
|
322
|
322
|
customerQueryWrapper.eq("person_id",enlist.getPersonId());
|
323
|
323
|
customerQueryWrapper.eq("building_id",enlist.getBuildingId());
|
324
|
324
|
TaRecommendCustomer recommendCustomer = recommendCustomerService.getOne(customerQueryWrapper);
|
325
|
|
- if (recommendCustomer.getStatus().equals(CommConstant.CUSTOMER_REPORT)){
|
|
325
|
+ if (null != recommendCustomer&&recommendCustomer.getStatus().equals(CommConstant.CUSTOMER_REPORT)){
|
326
|
326
|
System.out.println("验证3");
|
327
|
327
|
recommendCustomer.setStatus(CommConstant.CUSTOMER_VISITE);
|
328
|
328
|
recommendCustomer.setArrivalDate(LocalDateTime.now());
|