|
@@ -419,10 +419,10 @@ public class TCallRecordServiceImpl implements ITCallRecordService
|
|
|
if(StringUtils.isNotBlank(userId)){
|
|
|
callUserCountInfo.setStatus(this.parseStatus(this.tCallRecordMapper.getStatusByUserId(userId)));
|
|
|
callUserCountInfo.setTotalTimes(this.tCallRecordMapper.getPersonTotalRecordIsRobot(0, userId));
|
|
|
- callUserCountInfo.setInTodayCount(this.tCallRecordMapper.getCountByTypeAndDate(0, date, userId));
|
|
|
- callUserCountInfo.setInAllCount(this.tCallRecordMapper.getCountByTypeAndDate(0, null, userId));
|
|
|
- callUserCountInfo.setOutTodayCount(this.tCallRecordMapper.getCountByTypeAndDate(1, date, userId));
|
|
|
- callUserCountInfo.setOutAllCount(this.tCallRecordMapper.getCountByTypeAndDate(1, null, userId));
|
|
|
+ callUserCountInfo.setInTodayCount(this.tCallRecordMapper.getCountByTypeAndDate(0, date, userId, null));
|
|
|
+ callUserCountInfo.setInAllCount(this.tCallRecordMapper.getCountByTypeAndDate(0, null, userId, null));
|
|
|
+ callUserCountInfo.setOutTodayCount(this.tCallRecordMapper.getCountByTypeAndDate(1, date, userId, null));
|
|
|
+ callUserCountInfo.setOutAllCount(this.tCallRecordMapper.getCountByTypeAndDate(1, null, userId, null));
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -472,12 +472,15 @@ public class TCallRecordServiceImpl implements ITCallRecordService
|
|
|
if(StringUtils.isNotBlank(userId)){
|
|
|
// callUserCountInfo.setStatus(this.tCallRecordMapper.getStatusByUserId(userId));
|
|
|
// callUserCountInfo.setTotalTimes(this.tCallRecordMapper.getPersonTotalRecordIsRobot(1, userId));
|
|
|
- callUserCountInfo.setInTodayCount(this.tCallRecordMapper.getCountByTypeAndDate(0, date, userId));
|
|
|
- callUserCountInfo.setInAllCount(this.tCallRecordMapper.getCountByTypeAndDate(0, null, userId));
|
|
|
+ callUserCountInfo.setInTodayCount(this.tCallRecordMapper.getCountByTypeAndDate(0, date, userId, null));
|
|
|
+ callUserCountInfo.setInAllCount(this.tCallRecordMapper.getCountByTypeAndDate(0, null, userId, null));
|
|
|
// callUserCountInfo.setOutTodayCount(this.tCallRecordMapper.getCountByTypeAndDate(1, date));
|
|
|
// callUserCountInfo.setOutAllCount(this.tCallRecordMapper.getCountByTypeAndDate(1, null));
|
|
|
callUserCountInfo.setTodayTransferCount(this.tCallRecordMapper.getTransferCount(userId, date));
|
|
|
callUserCountInfo.setTotalTransferCount(this.tCallRecordMapper.getTransferCount(userId, null));
|
|
|
+ //2025年03月24日15:37:36 新增新的统计 今日呼入-已接听 和 今日呼入-未接听
|
|
|
+ callUserCountInfo.setInTodaySuccessCount(this.tCallRecordMapper.getCountByTypeAndDate(0, date, userId, 1));
|
|
|
+ callUserCountInfo.setInTodayFailCount(this.tCallRecordMapper.getCountByTypeAndDate(0, date, userId, 0));
|
|
|
}
|
|
|
}
|
|
|
}
|