Browse Source

修复电话结果回填

tags/24080901
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 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<Integer> status = getStatusByMsgRecordDetail(msgRecordDetail, minutes, expert.getCreateOn());
if (status.isPresent()) {
MeetingExpert update = new MeetingExpert();


Loading…
Cancel
Save