|
@@ -87,7 +87,7 @@ public class StatisticalReportController extends BaseRESTfulController {
|
|
mapValue.put("carrierSsoId", carrierSsoId);
|
|
mapValue.put("carrierSsoId", carrierSsoId);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- DataChange.queryDataByTwoDate(startTime, endTime, mapValue, sdfDateTime);//根据时间段查询数据
|
|
|
|
|
|
+ DataChange.queryDataByDateTime(startTime, endTime, mapValue, sdfDateTime);//根据时间段查询数据
|
|
List<Map<String, Object>> allReport = statisticalReportService.getAllSaleReportNum(mapValue);
|
|
List<Map<String, Object>> allReport = statisticalReportService.getAllSaleReportNum(mapValue);
|
|
PageHelper.startPage(pageNum, pageSize);
|
|
PageHelper.startPage(pageNum, pageSize);
|
|
//分页数据
|
|
//分页数据
|
|
@@ -115,7 +115,7 @@ public class StatisticalReportController extends BaseRESTfulController {
|
|
mapValue.put("carrierSsoId", carrierSsoId);
|
|
mapValue.put("carrierSsoId", carrierSsoId);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- DataChange.queryDataByTwoDate(startTime, endTime, mapValue, sdfDateTime);//根据时间段查询数据
|
|
|
|
|
|
+ DataChange.queryDataByDateTime(startTime, endTime, mapValue, sdfDateTime);//根据时间段查询数据
|
|
List<Map<String, Object>> allReport = statisticalReportService.getAllSaleReportNum(mapValue);
|
|
List<Map<String, Object>> allReport = statisticalReportService.getAllSaleReportNum(mapValue);
|
|
//获取销售统计报表筛选过后的总净重
|
|
//获取销售统计报表筛选过后的总净重
|
|
BigDecimal AllResultNetWeight = new BigDecimal(0);
|
|
BigDecimal AllResultNetWeight = new BigDecimal(0);
|
|
@@ -143,29 +143,26 @@ public class StatisticalReportController extends BaseRESTfulController {
|
|
String startTime,
|
|
String startTime,
|
|
String endTime,
|
|
String endTime,
|
|
String carrierSsoId,
|
|
String carrierSsoId,
|
|
- String userId,
|
|
|
|
- String userIds,
|
|
|
|
- String con,
|
|
|
|
- Integer orderType
|
|
|
|
|
|
+ String userId, String userIds, String con, Integer orderType
|
|
){
|
|
){
|
|
if(carrierSsoId != null) {
|
|
if(carrierSsoId != null) {
|
|
if (!"null".equals(carrierSsoId)) {
|
|
if (!"null".equals(carrierSsoId)) {
|
|
mapValue.put("carrierSsoId", carrierSsoId);
|
|
mapValue.put("carrierSsoId", carrierSsoId);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- DataChange.queryDataByDate(startTime, endTime, mapValue, sdfDate);//根据时间段查询数据
|
|
|
|
- if (userId!=null){
|
|
|
|
- mapValue.put("userId",userId);
|
|
|
|
- }
|
|
|
|
- if (orderType!=null){
|
|
|
|
- mapValue.put("orderType",orderType);
|
|
|
|
- }
|
|
|
|
- if (userIds!=null){
|
|
|
|
- mapValue.put("userIds",userIds);
|
|
|
|
- }
|
|
|
|
- if (con!=null&&!con.equals("undefined")){
|
|
|
|
- mapValue.put("con","%"+con+"%");
|
|
|
|
- }
|
|
|
|
|
|
+ DataChange.queryDataByDateTime(startTime, endTime, mapValue, sdfDateTime);//根据时间段查询数据
|
|
|
|
+ if (userId!=null){
|
|
|
|
+ mapValue.put("userId",userId);
|
|
|
|
+ }
|
|
|
|
+ if (orderType!=null){
|
|
|
|
+ mapValue.put("orderType",orderType);
|
|
|
|
+ }
|
|
|
|
+ if (userIds!=null){
|
|
|
|
+ mapValue.put("userIds",userIds);
|
|
|
|
+ }
|
|
|
|
+ if (con!=null&&!con.equals("undefined")){
|
|
|
|
+ mapValue.put("con","%"+con+"%");
|
|
|
|
+ }
|
|
List<Map<String, Object>> allReport = statisticalReportService.getSporadicSuppliesReportNum1(mapValue);
|
|
List<Map<String, Object>> allReport = statisticalReportService.getSporadicSuppliesReportNum1(mapValue);
|
|
PageHelper.startPage(pageNum, pageSize);
|
|
PageHelper.startPage(pageNum, pageSize);
|
|
//分页数据
|
|
//分页数据
|
|
@@ -200,7 +197,7 @@ public class StatisticalReportController extends BaseRESTfulController {
|
|
mapValue.put("carrierSsoId", carrierSsoId);
|
|
mapValue.put("carrierSsoId", carrierSsoId);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- DataChange.queryDataByDate(startTime, endTime, mapValue, sdfDate);//根据时间段查询数据
|
|
|
|
|
|
+ DataChange.queryDataByDateTime(startTime, endTime, mapValue, sdfDateTime);//根据时间段查询数据
|
|
if (con!=null&&!con.equals("undefined")){
|
|
if (con!=null&&!con.equals("undefined")){
|
|
mapValue.put("con","%"+con+"%");
|
|
mapValue.put("con","%"+con+"%");
|
|
}
|
|
}
|