Pārlūkot izejas kodu

修复电话结果回填

master
WendyYang pirms 1 gada
vecāks
revīzija
54b7ba2a6a
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  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 Parādīt failu

@@ -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();


Notiek ielāde…
Atcelt
Saglabāt