From 54b7ba2a6a10bcaf3407ab859097394c5638fd5e Mon Sep 17 00:00:00 2001 From: WendyYang Date: Sun, 2 Apr 2023 16:22:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=94=B5=E8=AF=9D=E7=BB=93?= =?UTF-8?q?=E6=9E=9C=E5=9B=9E=E5=A1=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ningdatech/pmapi/meeting/task/ExpertCallResultRewriteTask.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/meeting/task/ExpertCallResultRewriteTask.java b/pmapi/src/main/java/com/ningdatech/pmapi/meeting/task/ExpertCallResultRewriteTask.java index d0d8ee3..4a6016a 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/meeting/task/ExpertCallResultRewriteTask.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/meeting/task/ExpertCallResultRewriteTask.java @@ -66,6 +66,7 @@ public class ExpertCallResultRewriteTask { private final DictionaryCache dictionaryCache; private final YxtCallOrSmsHelper yxtCallOrSmsHelper; private final IExpertUserFullInfoService userFullInfoService; + private final static int MINUTES_CALL_RESULT_FEEDBACK = 15; @PostConstruct public void initTask() { @@ -119,7 +120,7 @@ public class ExpertCallResultRewriteTask { // 极端情况下获取不到submitKey异常情况 continue; } - Integer minutes = callbackMinutes.get(expert.getRuleId()); + Integer minutes = callbackMinutes.getOrDefault(expert.getRuleId(), MINUTES_CALL_RESULT_FEEDBACK); Optional status = getStatusByMsgRecordDetail(msgRecordDetail, minutes, expert.getCreateOn()); if (status.isPresent()) { MeetingExpert update = new MeetingExpert();