Commit a0c3110f authored by xinglei's avatar xinglei

*)修改报错

parent 8fe4868d
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
<sql id="componentField"> <sql id="componentField">
r.sequence_nbr AS sequenceNbr, r.sequence_nbr AS sequenceNbr,
r.connect_id AS connectId,
r.file_type AS fileType, r.file_type AS fileType,
r.caller AS caller, r.caller AS caller,
r.called AS called, r.called AS called,
......
...@@ -119,7 +119,7 @@ public class VoiceRecordFileServiceImpl extends BaseService<VoiceRecordFileDto, ...@@ -119,7 +119,7 @@ public class VoiceRecordFileServiceImpl extends BaseService<VoiceRecordFileDto,
public VoiceRecordFileDto getRecordById(Long sequenceNbr) { public VoiceRecordFileDto getRecordById(Long sequenceNbr) {
VoiceRecordFileDto record = baseMapper.getRecordById(sequenceNbr); VoiceRecordFileDto record = baseMapper.getRecordById(sequenceNbr);
Map<String, String> callRecord = fusionService.getCallRecordByCID(record.getConnectId()); Map<String, String> callRecord = fusionService.getCallRecordByCID(record.getConnectId());
record.setFilePath(callRecord.get("cid")); record.setFilePath(String.format("/%s/%s", callRecord.get("subPath"), callRecord.get("recordName")));
return record; return record;
} }
......
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