|
@@ -234,12 +234,11 @@ public class StatisticalReportController extends BaseRESTfulController {
|
|
|
String startTime,
|
|
|
String endTime
|
|
|
){
|
|
|
- DataChange.queryDataByDate(startTime, endTime, mapValue, sdfDate);//根据时间段查询数据
|
|
|
- List<Map<String, Object>> allReport = statisticalReportService.getPurInwardReport(mapValue);
|
|
|
+ DataChange.queryDataByDateTime(startTime, endTime, mapValue, sdfDate);//根据时间段查询数据
|
|
|
PageHelper.startPage(pageNum, pageSize);
|
|
|
//分页数据
|
|
|
List<Map<String, Object>> report = statisticalReportService.getPurInwardReport(mapValue);
|
|
|
- PageListAdd pageList = columnDataUtil.tableColumnData(apiId, allReport, report);
|
|
|
+ PageListAdd pageList = columnDataUtil.tableColumnData(apiId, null, report);
|
|
|
return success(pageList);
|
|
|
}
|
|
|
}
|