|
@@ -323,6 +323,10 @@ public class TCallRecordServiceImpl implements ITCallRecordService
|
|
|
String date = DateUtils.getDate();
|
|
|
if(!CollectionUtils.isEmpty(result)){
|
|
|
for (CallUserCountInfo callUserCountInfo : result) {
|
|
|
+ if(Objects.isNull(callUserCountInfo)){
|
|
|
+ log.error("统计人工客服数据的时候,存在姓名和ID全部为空的异常数据,跳过此次统计");
|
|
|
+ continue;
|
|
|
+ }
|
|
|
String userId = callUserCountInfo.getUserId();
|
|
|
if(StringUtils.isNotBlank(userId)){
|
|
|
callUserCountInfo.setStatus(this.tCallRecordMapper.getStatusByUserId(userId));
|
|
@@ -344,6 +348,10 @@ public class TCallRecordServiceImpl implements ITCallRecordService
|
|
|
String date = DateUtils.getDate();
|
|
|
if(!CollectionUtils.isEmpty(result)){
|
|
|
for (CallUserCountInfo callUserCountInfo : result) {
|
|
|
+ if(Objects.isNull(callUserCountInfo)){
|
|
|
+ log.error("统计机器人客服数据的时候,存在姓名和ID全部为空的异常数据,跳过此次统计");
|
|
|
+ continue;
|
|
|
+ }
|
|
|
String userId = callUserCountInfo.getUserId();
|
|
|
if(StringUtils.isNotBlank(userId)){
|
|
|
// callUserCountInfo.setStatus(this.tCallRecordMapper.getStatusByUserId(userId));
|