Commit 2f6cb7a33d0b9b7abced63c1c4a26d6a945e0925

Authored by 张志伟
1 parent d9f35c9f

:bug: 跟进主动放弃判断公共池bug修复

fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/cust/CustomerBizService.java
... ... @@ -369,9 +369,6 @@ public class CustomerBizService extends AbstractCustomerService {
369 369 if (Objects.isNull(detailDto)) {
370 370 return;
371 371 }
372   - if (publicPoolService.queryByPlate(detailDto.getPlateNo(), detailDto.getGroupId()).isPresent()) {
373   - return;
374   - }
375 372 List<FollowTypeEnum> typeList = Arrays.asList(FollowTypeEnum.AC, FollowTypeEnum.IR);
376 373 HashSet<FollowTypeEnum> set = new HashSet<>(typeList);
377 374 if (set.contains(task.getType())) {
... ... @@ -383,6 +380,9 @@ public class CustomerBizService extends AbstractCustomerService {
383 380 if (FollowTypeEnum.RM.equals(task.getType())) {
384 381 type = PublicPoolTypeEnum.RM;
385 382 }
  383 + if (publicPoolService.queryByPlate(detailDto.getPlateNo(), detailDto.getGroupId()).isPresent()) {
  384 + return;
  385 + }
386 386 PublicPool publicPool = createPublicPool(detailDto, type, "系统判定");
387 387 boolean updated = customerService.update(Wrappers.<Customer>lambdaUpdate()
388 388 .set(Customer::getAdviserId, null)
... ...