|
|
|
@ -590,7 +590,6 @@ public class QueryReportServiceImpl implements QueryReportService {
|
|
|
|
|
return CommonResponse.createBySuccess(list);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public CommonResponse<Object> getCallRecordDetails(Long clueId) {
|
|
|
|
|
|
|
|
|
@ -599,7 +598,8 @@ public class QueryReportServiceImpl implements QueryReportService {
|
|
|
|
|
int turnOnNum = 0;
|
|
|
|
|
int validNum = 0;
|
|
|
|
|
//查询线索的所有通话记录 (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();
|
|
|
|
|
List<AllCallInfo> allByClueId = allCallInfoRepository.queryAllByTime(beginOfDay, endOfDay, clueId);
|
|
|
|
|
List<CallRecordDetailsDTO> listDto = new ArrayList<>();
|
|
|
|
|