Commit 7fac3a149255f56348dd8a9a97ed3e2a0bbabc4a
Merge remote-tracking branch 'origin/test'
Showing
1 changed file
with
2 additions
and
2 deletions
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()); |