|
@@ -192,7 +192,7 @@ public class TelephoneRobotServiceImpl implements ITelephoneRobotService {
|
|
recordPojo.setSuccessList(recordJson.getJSONArray("success"));
|
|
recordPojo.setSuccessList(recordJson.getJSONArray("success"));
|
|
recordPojo.setErrorList(recordJson.getJSONArray("error"));
|
|
recordPojo.setErrorList(recordJson.getJSONArray("error"));
|
|
}
|
|
}
|
|
- return ResultResponse.successMsg("查询导入记录成功。",callRecordList);
|
|
|
|
|
|
+ return ResultResponse.successMsg("查询导入记录成功。",new TableDataInfo(callRecordList,new Long(new PageInfo(callRecordList).getTotal()).intValue()));
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -211,7 +211,7 @@ public class TelephoneRobotServiceImpl implements ITelephoneRobotService {
|
|
//查询导入记录
|
|
//查询导入记录
|
|
List<SaleClueCallResultPojo> callResultList = saleClueCallResultMapper.getSaleClueCallResultList(createTime,state);
|
|
List<SaleClueCallResultPojo> callResultList = saleClueCallResultMapper.getSaleClueCallResultList(createTime,state);
|
|
|
|
|
|
- return ResultResponse.successMsg("查询通话记录成功。",callResultList);
|
|
|
|
|
|
+ return ResultResponse.successMsg("查询通话记录成功。",new TableDataInfo(callResultList,new Long(new PageInfo(callResultList).getTotal()).intValue()));
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|