Commit 93c68329 authored by xinglei's avatar xinglei

*)增加语音融合返回判断

parent a28664c7
......@@ -238,7 +238,9 @@ public class VoiceRecordFileServiceImpl extends BaseService<VoiceRecordFileDto,
private VoiceRecordFileDto buildFilePath(VoiceRecordFileDto record) {
Map<String, String> callRecord = fusionService.getCallRecordByCID(record.getConnectId());
record.setFilePath(String.format("/%s/%s", callRecord.get("subPath"), callRecord.get("recordName")));
if (!ValidationUtil.isEmpty(callRecord)){
record.setFilePath(String.format("/%s/%s", callRecord.get("subPath"), callRecord.get("recordName")));
}
return record;
}
}
\ No newline at end of file
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