获取2周的录音

master
wjt 2 years ago
parent 84dbc96529
commit e8a985c343

@ -590,7 +590,6 @@ public class QueryReportServiceImpl implements QueryReportService {
return CommonResponse.createBySuccess(list); return CommonResponse.createBySuccess(list);
} }
@Override @Override
public CommonResponse<Object> getCallRecordDetails(Long clueId) { public CommonResponse<Object> getCallRecordDetails(Long clueId) {
@ -599,7 +598,8 @@ public class QueryReportServiceImpl implements QueryReportService {
int turnOnNum = 0; int turnOnNum = 0;
int validNum = 0; int validNum = 0;
//查询线索的所有通话记录 (7天内7天外的录音会被迁移无法下载) //查询线索的所有通话记录 (7天内7天外的录音会被迁移无法下载)
String beginOfDay = DateUtil.beginOfDay(DateUtil.offsetDay(DateUtil.date(), -7)).toString(); //todo 改为两周
String beginOfDay = DateUtil.beginOfDay(DateUtil.offsetDay(DateUtil.date(), -14)).toString();
String endOfDay = DateUtil.date().toString(); String endOfDay = DateUtil.date().toString();
List<AllCallInfo> allByClueId = allCallInfoRepository.queryAllByTime(beginOfDay, endOfDay, clueId); List<AllCallInfo> allByClueId = allCallInfoRepository.queryAllByTime(beginOfDay, endOfDay, clueId);
List<CallRecordDetailsDTO> listDto = new ArrayList<>(); List<CallRecordDetailsDTO> listDto = new ArrayList<>();

Loading…
Cancel
Save