Commit 40eda099f86b9758e2b39e9f092d39891ae1a93a

Authored by 张志伟
1 parent 7afb7e40

feature(*): 修复事故车跟进的bug

- 修复事故车跟进的bug
fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/follow/strategy/impl/ACFollowStrategy.java
... ... @@ -10,6 +10,7 @@ import cn.fw.valhalla.domain.db.customer.AccidentPool;
10 10 import cn.fw.valhalla.domain.db.customer.Customer;
11 11 import cn.fw.valhalla.domain.db.follow.ClueTask;
12 12 import cn.fw.valhalla.domain.db.follow.FollowClue;
  13 +import cn.fw.valhalla.domain.dto.CustomerDetailDto;
13 14 import cn.fw.valhalla.domain.enums.*;
14 15 import cn.fw.valhalla.domain.vo.setting.SettingVO;
15 16 import cn.fw.valhalla.rpc.ehr.dto.StaffInfoDTO;
... ... @@ -124,6 +125,15 @@ public class ACFollowStrategy extends AbstractFollowStrategy {
124 125 .bizId(followClue.getVin())
125 126 .build();
126 127  
  128 + if (StringUtils.isValid(followClue.getVin())) {
  129 + CustomerDetailDto customerDetailDto = customerBizService.queryByFrameNo(followClue.getVin(), followClue.getGroupId());
  130 + if (Objects.nonNull(customerDetailDto)) {
  131 + followInitDTO.setCustomerId(customerDetailDto.getId());
  132 + followInitDTO.setCustomerName(customerDetailDto.getName());
  133 + followInitDTO.setMemberId(customerDetailDto.getMemberId());
  134 + }
  135 + }
  136 +
127 137 ShopDTO shop = oopService.shop(clueTask.getFollowShop());
128 138 if (Objects.nonNull(shop)) {
129 139 followInitDTO.setShopName(shop.getShopName());
... ...