Commit be4d1cc621064b106ccb298b54851bba3b5d51e4
1 parent
c115219a
跟进时只校验第一次是否使用智能电话跟进
Showing
2 changed files
with
5 additions
and
0 deletions
fw-valhalla-server/src/main/java/cn/fw/valhalla/controller/task/CallReportDealTask.java
... | ... | @@ -90,6 +90,7 @@ public class CallReportDealTask { |
90 | 90 | dto.setStaffId(info.getId()); |
91 | 91 | dto.setGroupId(info.getGroupId()); |
92 | 92 | } |
93 | + // todo 记录通话记录(报表用) | |
93 | 94 | followBizService.readCallReport(dto, true, queryAccidentCar(mobileNo, groupId)); |
94 | 95 | followBizService.readCallReport(dto, false, queryCustomerIds(mobileNo, groupId)); |
95 | 96 | } catch (Exception e) { | ... | ... |
fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/follow/FollowBizService.java
... | ... | @@ -479,6 +479,10 @@ public class FollowBizService { |
479 | 479 | } |
480 | 480 | final Long groupId = dto.getGroupId(); |
481 | 481 | final Long staffId = dto.getStaffId(); |
482 | + final Long talkTime = dto.getTalkTime(); | |
483 | + if (Objects.isNull(talkTime) || talkTime <= 0) { | |
484 | + return; | |
485 | + } | |
482 | 486 | if (accidentCar) { |
483 | 487 | CustomerCluePool cluePool = customerCluePoolService.getOne(Wrappers.<CustomerCluePool>lambdaQuery() |
484 | 488 | .eq(CustomerCluePool::getRefererId, idArr[0]) | ... | ... |