Commit d5faeaf95f921c9e65bfeefd5282c924e94c95c4

Authored by 张志伟
1 parent 8b565927

:construction: 跟进到期划走bug修复

fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/cust/CustomerChangeBizService.java
@@ -355,11 +355,11 @@ public class CustomerChangeBizService extends AbstractCustomerService { @@ -355,11 +355,11 @@ public class CustomerChangeBizService extends AbstractCustomerService {
355 BV.isNotEmpty(userList, () -> "更换跟进人员失败:没有更多服务顾问"); 355 BV.isNotEmpty(userList, () -> "更换跟进人员失败:没有更多服务顾问");
356 Collections.shuffle(userList); 356 Collections.shuffle(userList);
357 PostUserDTO userDTO = userList.get(0); 357 PostUserDTO userDTO = userList.get(0);
358 - boolean bool = userDTO.getId().equals(task.getFinishUser()) && userList.size() <= 1; 358 + boolean bool = userDTO.getId().equals(task.getFollowUser()) && userList.size() <= 1;
359 if (bool) { 359 if (bool) {
360 return null; 360 return null;
361 } 361 }
362 - if (userDTO.getId().equals(task.getFinishUser())) { 362 + if (userDTO.getId().equals(task.getFollowUser())) {
363 userDTO = userList.get(1); 363 userDTO = userList.get(1);
364 } 364 }
365 customer.setAdviserId(userDTO.getUserId()); 365 customer.setAdviserId(userDTO.getUserId());