|
|
|
@ -135,7 +135,7 @@ public class ReportServiceImpl implements ReportService {
|
|
|
|
|
//获取线索名
|
|
|
|
|
String clueName = null;
|
|
|
|
|
List<String> label = new ArrayList<>();
|
|
|
|
|
String remark = null;
|
|
|
|
|
String remark = null;
|
|
|
|
|
if (clueMap.containsKey(key)) {
|
|
|
|
|
ResSourceLabel resSourceLabel = clueMap.get(key);
|
|
|
|
|
clueName = resSourceLabel.getName();
|
|
|
|
@ -657,17 +657,17 @@ public class ReportServiceImpl implements ReportService {
|
|
|
|
|
//统计通话时长
|
|
|
|
|
int doubleClueTime = 0;
|
|
|
|
|
if (CollUtil.isNotEmpty(doubleCallInfo)) {
|
|
|
|
|
for(AllCallInfo ai:doubleCallInfo){
|
|
|
|
|
if(ai.getStatus() == DefaultNumberConstants.TWO_NUMBER){
|
|
|
|
|
turnOnNum++;
|
|
|
|
|
doubleClueTime+=ai.getDuration();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
// doubleClueTime = doubleCallInfo.stream().mapToInt(AllCallInfo::getDuration).sum();
|
|
|
|
|
// if (doubleClueTime > 0) {
|
|
|
|
|
// //有通话时长 说明电话打通
|
|
|
|
|
// turnOnNum++;
|
|
|
|
|
// for (AllCallInfo ai : doubleCallInfo) {
|
|
|
|
|
// if (ai.getStatus() == DefaultNumberConstants.TWO_NUMBER) {
|
|
|
|
|
// doubleClueTime += ai.getDuration();
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
// doubleClueTime = doubleCallInfo.stream().mapToInt(AllCallInfo::getDuration).sum();
|
|
|
|
|
doubleClueTime = doubleCallInfo.stream().filter(item -> item.getStatus() == DefaultNumberConstants.TWO_NUMBER).collect(Collectors.toList()).stream().mapToInt(AllCallInfo::getDuration).sum();
|
|
|
|
|
if (doubleClueTime > 0) {
|
|
|
|
|
//有通话时长 说明电话打通
|
|
|
|
|
turnOnNum++;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
breatheTotalDuration += doubleClueTime;
|
|
|
|
|
}
|
|
|
|
|