Commit 2f6cb7a33d0b9b7abced63c1c4a26d6a945e0925
1 parent
d9f35c9f
跟进主动放弃判断公共池bug修复
Showing
1 changed file
with
3 additions
and
3 deletions
fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/cust/CustomerBizService.java
@@ -369,9 +369,6 @@ public class CustomerBizService extends AbstractCustomerService { | @@ -369,9 +369,6 @@ public class CustomerBizService extends AbstractCustomerService { | ||
369 | if (Objects.isNull(detailDto)) { | 369 | if (Objects.isNull(detailDto)) { |
370 | return; | 370 | return; |
371 | } | 371 | } |
372 | - if (publicPoolService.queryByPlate(detailDto.getPlateNo(), detailDto.getGroupId()).isPresent()) { | ||
373 | - return; | ||
374 | - } | ||
375 | List<FollowTypeEnum> typeList = Arrays.asList(FollowTypeEnum.AC, FollowTypeEnum.IR); | 372 | List<FollowTypeEnum> typeList = Arrays.asList(FollowTypeEnum.AC, FollowTypeEnum.IR); |
376 | HashSet<FollowTypeEnum> set = new HashSet<>(typeList); | 373 | HashSet<FollowTypeEnum> set = new HashSet<>(typeList); |
377 | if (set.contains(task.getType())) { | 374 | if (set.contains(task.getType())) { |
@@ -383,6 +380,9 @@ public class CustomerBizService extends AbstractCustomerService { | @@ -383,6 +380,9 @@ public class CustomerBizService extends AbstractCustomerService { | ||
383 | if (FollowTypeEnum.RM.equals(task.getType())) { | 380 | if (FollowTypeEnum.RM.equals(task.getType())) { |
384 | type = PublicPoolTypeEnum.RM; | 381 | type = PublicPoolTypeEnum.RM; |
385 | } | 382 | } |
383 | + if (publicPoolService.queryByPlate(detailDto.getPlateNo(), detailDto.getGroupId()).isPresent()) { | ||
384 | + return; | ||
385 | + } | ||
386 | PublicPool publicPool = createPublicPool(detailDto, type, "系统判定"); | 386 | PublicPool publicPool = createPublicPool(detailDto, type, "系统判定"); |
387 | boolean updated = customerService.update(Wrappers.<Customer>lambdaUpdate() | 387 | boolean updated = customerService.update(Wrappers.<Customer>lambdaUpdate() |
388 | .set(Customer::getAdviserId, null) | 388 | .set(Customer::getAdviserId, null) |