Explorar el Código

修复电话结果回填

master
WendyYang hace 1 año
padre
commit
54b7ba2a6a
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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 Ver fichero

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


Cargando…
Cancelar
Guardar