Browse Source

修复电话结果回填

master
WendyYang 1 year ago
parent
commit
54b7ba2a6a
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/meeting/task/ExpertCallResultRewriteTask.java

+ 2
- 1
pmapi/src/main/java/com/ningdatech/pmapi/meeting/task/ExpertCallResultRewriteTask.java View File

@@ -66,6 +66,7 @@ public class ExpertCallResultRewriteTask {
private final DictionaryCache dictionaryCache; private final DictionaryCache dictionaryCache;
private final YxtCallOrSmsHelper yxtCallOrSmsHelper; private final YxtCallOrSmsHelper yxtCallOrSmsHelper;
private final IExpertUserFullInfoService userFullInfoService; private final IExpertUserFullInfoService userFullInfoService;
private final static int MINUTES_CALL_RESULT_FEEDBACK = 15;


@PostConstruct @PostConstruct
public void initTask() { public void initTask() {
@@ -119,7 +120,7 @@ public class ExpertCallResultRewriteTask {
// 极端情况下获取不到submitKey异常情况 // 极端情况下获取不到submitKey异常情况
continue; continue;
} }
Integer minutes = callbackMinutes.get(expert.getRuleId());
Integer minutes = callbackMinutes.getOrDefault(expert.getRuleId(), MINUTES_CALL_RESULT_FEEDBACK);
Optional<Integer> status = getStatusByMsgRecordDetail(msgRecordDetail, minutes, expert.getCreateOn()); Optional<Integer> status = getStatusByMsgRecordDetail(msgRecordDetail, minutes, expert.getCreateOn());
if (status.isPresent()) { if (status.isPresent()) {
MeetingExpert update = new MeetingExpert(); MeetingExpert update = new MeetingExpert();


Loading…
Cancel
Save