|
@@ -114,7 +114,9 @@ public class StatisticalReportController extends BaseRESTfulController {
|
|
mapValue.put("orderField","materialCode");
|
|
mapValue.put("orderField","materialCode");
|
|
mapValue.put("orderType","desc");
|
|
mapValue.put("orderType","desc");
|
|
}
|
|
}
|
|
- PageHelper.startPage(pageNum, pageSize);
|
|
|
|
|
|
+ if(mapValue.get("isExcel")==null){
|
|
|
|
+ PageHelper.startPage(pageNum, pageSize);
|
|
|
|
+ }
|
|
//分页数据
|
|
//分页数据
|
|
List<Map<String, Object>> report = statisticalReportService.getAllSaleReport(mapValue);
|
|
List<Map<String, Object>> report = statisticalReportService.getAllSaleReport(mapValue);
|
|
PageListAdd pageList = columnDataUtil.tableColumnData5(apiId, null, report);
|
|
PageListAdd pageList = columnDataUtil.tableColumnData5(apiId, null, report);
|
|
@@ -239,7 +241,9 @@ public class StatisticalReportController extends BaseRESTfulController {
|
|
if (con!=null&&!"null".equals(con)){
|
|
if (con!=null&&!"null".equals(con)){
|
|
mapValue.put("con","%"+con+"%");
|
|
mapValue.put("con","%"+con+"%");
|
|
}
|
|
}
|
|
- PageHelper.startPage(pageNum, pageSize);
|
|
|
|
|
|
+ if(mapValue.get("isExcel")==null){
|
|
|
|
+ PageHelper.startPage(pageNum, pageSize);
|
|
|
|
+ }
|
|
//分页数据
|
|
//分页数据
|
|
List<Map<String, Object>> report = statisticalReportService.getSporadicSuppliesReport1(mapValue);
|
|
List<Map<String, Object>> report = statisticalReportService.getSporadicSuppliesReport1(mapValue);
|
|
PageListAdd pageList = columnDataUtil.tableColumnData4(apiId, null, report);
|
|
PageListAdd pageList = columnDataUtil.tableColumnData4(apiId, null, report);
|
|
@@ -285,7 +289,9 @@ public class StatisticalReportController extends BaseRESTfulController {
|
|
if (userIds!=null){
|
|
if (userIds!=null){
|
|
mapValue.put("userIds",userIds);
|
|
mapValue.put("userIds",userIds);
|
|
}
|
|
}
|
|
- PageHelper.startPage(pageNum, pageSize);
|
|
|
|
|
|
+ if(mapValue.get("isExcel")==null){
|
|
|
|
+ PageHelper.startPage(pageNum, pageSize);
|
|
|
|
+ }
|
|
//分页数据
|
|
//分页数据
|
|
List<Map<String, Object>> report = statisticalReportService.getSporadicSuppliesReport2(mapValue);
|
|
List<Map<String, Object>> report = statisticalReportService.getSporadicSuppliesReport2(mapValue);
|
|
PageListAdd pageList = columnDataUtil.tableColumnData4(apiId, null, report);
|
|
PageListAdd pageList = columnDataUtil.tableColumnData4(apiId, null, report);
|
|
@@ -337,7 +343,9 @@ public class StatisticalReportController extends BaseRESTfulController {
|
|
if(con != null && !"null".equals(con)){
|
|
if(con != null && !"null".equals(con)){
|
|
mapValue.put("con","%" + con + "%");
|
|
mapValue.put("con","%" + con + "%");
|
|
}
|
|
}
|
|
- PageHelper.startPage(pageNum, pageSize);
|
|
|
|
|
|
+ if(mapValue.get("isExcel")==null){
|
|
|
|
+ PageHelper.startPage(pageNum, pageSize);
|
|
|
|
+ }
|
|
//分页数据
|
|
//分页数据
|
|
List<Map<String, Object>> report = statisticalReportService.getLXInwardReport(mapValue);
|
|
List<Map<String, Object>> report = statisticalReportService.getLXInwardReport(mapValue);
|
|
PageListAdd pageList = columnDataUtil.tableColumnData(apiId, null, report);
|
|
PageListAdd pageList = columnDataUtil.tableColumnData(apiId, null, report);
|
|
@@ -630,7 +638,9 @@ public class StatisticalReportController extends BaseRESTfulController {
|
|
String startTime,
|
|
String startTime,
|
|
String endTime){
|
|
String endTime){
|
|
DataChange.queryDataByDateTime(startTime, endTime, mapValue, sdfDateTime);//根据时间段查询数据
|
|
DataChange.queryDataByDateTime(startTime, endTime, mapValue, sdfDateTime);//根据时间段查询数据
|
|
- PageHelper.startPage(pageNum, pageSize);
|
|
|
|
|
|
+ if(mapValue.get("isExcel")==null){
|
|
|
|
+ PageHelper.startPage(pageNum, pageSize);
|
|
|
|
+ }
|
|
//分页数据
|
|
//分页数据
|
|
List<Map<String, Object>> report = statisticalReportService.getLoading(mapValue);
|
|
List<Map<String, Object>> report = statisticalReportService.getLoading(mapValue);
|
|
PageListAdd pageList = columnDataUtil.tableColumnData(apiId, null, report);
|
|
PageListAdd pageList = columnDataUtil.tableColumnData(apiId, null, report);
|
|
@@ -647,7 +657,9 @@ public class StatisticalReportController extends BaseRESTfulController {
|
|
String startTime,
|
|
String startTime,
|
|
String endTime){
|
|
String endTime){
|
|
DataChange.queryDataByDateTime(startTime, endTime, mapValue, sdfDateTime);//根据时间段查询数据
|
|
DataChange.queryDataByDateTime(startTime, endTime, mapValue, sdfDateTime);//根据时间段查询数据
|
|
- PageHelper.startPage(pageNum, pageSize);
|
|
|
|
|
|
+ if(mapValue.get("isExcel")==null){
|
|
|
|
+ PageHelper.startPage(pageNum, pageSize);
|
|
|
|
+ }
|
|
//分页数据
|
|
//分页数据
|
|
List<Map<String, Object>> report = statisticalReportService.getLoaderResult(mapValue);
|
|
List<Map<String, Object>> report = statisticalReportService.getLoaderResult(mapValue);
|
|
PageListAdd pageList = columnDataUtil.tableColumnData(apiId, null, report);
|
|
PageListAdd pageList = columnDataUtil.tableColumnData(apiId, null, report);
|
|
@@ -663,7 +675,9 @@ public class StatisticalReportController extends BaseRESTfulController {
|
|
String startTime,
|
|
String startTime,
|
|
String endTime){
|
|
String endTime){
|
|
DataChange.queryDataByDateTime(startTime, endTime, mapValue, sdfDateTime);//根据时间段查询数据
|
|
DataChange.queryDataByDateTime(startTime, endTime, mapValue, sdfDateTime);//根据时间段查询数据
|
|
- PageHelper.startPage(pageNum, pageSize);
|
|
|
|
|
|
+ if(mapValue.get("isExcel")==null){
|
|
|
|
+ PageHelper.startPage(pageNum, pageSize);
|
|
|
|
+ }
|
|
//分页数据
|
|
//分页数据
|
|
List<Map<String, Object>> report = statisticalReportService.getUnLoading(mapValue);
|
|
List<Map<String, Object>> report = statisticalReportService.getUnLoading(mapValue);
|
|
PageListAdd pageList = columnDataUtil.tableColumnData(apiId, null, report);
|
|
PageListAdd pageList = columnDataUtil.tableColumnData(apiId, null, report);
|