Commit 47c479784a736fe2455d7af77e375b6de8966700

Authored by 张志伟
2 parents 89b3ec40 3aaed71d

Merge remote-tracking branch 'origin/test'

fw-shirasawa-server/src/main/java/cn/fw/shirasawa/server/controller/task/CallReportDealTask.java
@@ -82,7 +82,7 @@ public class CallReportDealTask { @@ -82,7 +82,7 @@ public class CallReportDealTask {
82 boolean isStaffValid = Objects.nonNull(staffId) && Objects.nonNull(groupId); 82 boolean isStaffValid = Objects.nonNull(staffId) && Objects.nonNull(groupId);
83 if (!isStaffValid) { 83 if (!isStaffValid) {
84 StaffInfoDTO info = ehrRpcService.queryStaffInfoByMobile(staffMobile); 84 StaffInfoDTO info = ehrRpcService.queryStaffInfoByMobile(staffMobile);
85 - if (Objects.nonNull(info) && dto.getTalkTime() > 0 && dto.getCallTime().isBefore(LocalDateTime.now().minusMinutes(20L))) { 85 + if (Objects.isNull(info) && dto.getCallTime().isBefore(LocalDateTime.now().minusMinutes(20L))) {
86 redisTemplate.opsForList().rightPush(getFailReportKey(), callStr); 86 redisTemplate.opsForList().rightPush(getFailReportKey(), callStr);
87 continue; 87 continue;
88 } 88 }