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