电话回调加入时间

This commit is contained in:
zhangheng 2026-09-22 14:29:30 +08:00
parent 5dc6b50d78
commit 3a8cdfc752

View File

@ -442,7 +442,12 @@ public class AIOBServiceImpl implements IAIOBService {
phoneDialRecord.setErrorCode(data.getEndType() == 0 ? 1L : 0);
phoneDialRecord.setErrorStatus(data.getEndType() == 0 ? ErrorStatusEnum.fail.getValue() : ErrorStatusEnum.success.getValue());
phoneDialRecord.setCreateTime(LocalDateTime.now());
if(Objects.nonNull(data.getTalkingTimeLen())){
phoneDialRecord.setPhoneDuration(new BigDecimal(data.getTalkingTimeLen()));
}
if (StringUtils.isNotBlank(signPatientManageRouteNode.getPhoneTemplateName())){
phoneDialRecord.setPhoneTemplateName(signPatientManageRouteNode.getPhoneTemplateName());
}
phoneDialRecord.setCtUuid(data.getContactUUID());
//phoneDialRecord.setPhoneDialRecordVideo(getPhoneDialRecord(data.getContactUUID()));