From 2f6cb7a33d0b9b7abced63c1c4a26d6a945e0925 Mon Sep 17 00:00:00 2001 From: Kurisu Date: Tue, 23 Feb 2021 14:14:27 +0800 Subject: [PATCH] :bug: 跟进主动放弃判断公共池bug修复 --- fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/cust/CustomerBizService.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/cust/CustomerBizService.java b/fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/cust/CustomerBizService.java index 73c0fb5..186610a 100644 --- a/fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/cust/CustomerBizService.java +++ b/fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/cust/CustomerBizService.java @@ -369,9 +369,6 @@ public class CustomerBizService extends AbstractCustomerService { if (Objects.isNull(detailDto)) { return; } - if (publicPoolService.queryByPlate(detailDto.getPlateNo(), detailDto.getGroupId()).isPresent()) { - return; - } List typeList = Arrays.asList(FollowTypeEnum.AC, FollowTypeEnum.IR); HashSet set = new HashSet<>(typeList); if (set.contains(task.getType())) { @@ -383,6 +380,9 @@ public class CustomerBizService extends AbstractCustomerService { if (FollowTypeEnum.RM.equals(task.getType())) { type = PublicPoolTypeEnum.RM; } + if (publicPoolService.queryByPlate(detailDto.getPlateNo(), detailDto.getGroupId()).isPresent()) { + return; + } PublicPool publicPool = createPublicPool(detailDto, type, "系统判定"); boolean updated = customerService.update(Wrappers.lambdaUpdate() .set(Customer::getAdviserId, null) -- libgit2 0.22.2