Commit b555f110 authored by 赵啸非's avatar 赵啸非

添加消息发送

parent c512eea5
......@@ -208,7 +208,7 @@ public class SyncAppointWaitAndFinTaskImpl implements ITaskExcuteService {
if (!ObjectUtils.isEmpty(careRecordsEntities)) {
careRecordsEntities.forEach(item -> {
FinPersonInfo finPersonInfo = waitMap.get(item.getWaitId());
item.setProcessStatus(ProcessStatusEnum.接件结束.getValue());
item.setProcessStatus(ProcessStatusEnum.办理中.getValue());
item.setCallTime(finPersonInfo.getCalltime());
Long diff = DateUtil.between(item.getTakeTime(), finPersonInfo.getCalltime(), DateUnit.SECOND);
if (!ObjectUtils.isEmpty(finPersonInfo.getAvgWaitTime())) {
......@@ -256,7 +256,7 @@ public class SyncAppointWaitAndFinTaskImpl implements ITaskExcuteService {
EndPersonInfo endPersonInfo = endMap.get(item.getWaitId());
item.setProcessStatus(ProcessStatusEnum.办理结束.getValue());
item.setEndTime(endPersonInfo.getEndtime());
Long diff = DateUtil.between(item.getCallTime(), endPersonInfo.getEndtime(), DateUnit.MINUTE);
Long diff = DateUtil.between(item.getCallTime(), endPersonInfo.getEndtime(), DateUnit.SECOND);
if (!ObjectUtils.isEmpty(endPersonInfo.getAvgHandleTime())) {
int avgWait = endPersonInfo.getAvgHandleTime();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment