|
@@ -318,13 +318,14 @@ public class StatisticalReportController extends BaseRESTfulController {
|
|
|
String isPage,
|
|
|
String index
|
|
|
){
|
|
|
- DataChange.queryDataByDateTime(startTime, endTime, mapValue,sdfDateTime);//根据时间段查询数据
|
|
|
+
|
|
|
if (orgCode!=null&&!"null".equals(orgCode)){
|
|
|
mapValue.put("orgCode",orgCode);
|
|
|
}
|
|
|
if (index!=null&&!"null".equals(index)){
|
|
|
mapValue.put("index",index);
|
|
|
}
|
|
|
+ DataChange.queryDataByDateTime(startTime, endTime, mapValue,sdfDateTime);//根据时间段查询数据
|
|
|
if("yes".equals(isPage)){
|
|
|
return success(statisticalReportService.getSaleOrderList(mapValue));
|
|
|
}
|
|
@@ -355,13 +356,14 @@ public class StatisticalReportController extends BaseRESTfulController {
|
|
|
String isPage,
|
|
|
String index
|
|
|
){
|
|
|
- DataChange.queryDataByDateTime(startTime, endTime, mapValue,sdfDateTime);//根据时间段查询数据
|
|
|
+
|
|
|
if (orgCode!=null&&!"null".equals(orgCode)){
|
|
|
mapValue.put("orgCode",orgCode);
|
|
|
}
|
|
|
if (index!=null&&!"null".equals(index)){
|
|
|
mapValue.put("index",index);
|
|
|
}
|
|
|
+ DataChange.queryDataByDateTime(startTime, endTime, mapValue,sdfDateTime);//根据时间段查询数据
|
|
|
if ("yes".equals(isPage)){
|
|
|
return success(statisticalReportService.getPurchaseOrderList(mapValue));
|
|
|
}
|
|
@@ -392,13 +394,14 @@ public class StatisticalReportController extends BaseRESTfulController {
|
|
|
String isPage,
|
|
|
String index
|
|
|
){
|
|
|
- DataChange.queryDataByDateTime(startTime, endTime, mapValue,sdfDateTime);//根据时间段查询数据
|
|
|
+
|
|
|
if (index!=null&&!"null".equals(index)){
|
|
|
mapValue.put("index",index);
|
|
|
}
|
|
|
if (orgCode!=null&&!"null".equals(orgCode)){
|
|
|
mapValue.put("orgCode",orgCode);
|
|
|
}
|
|
|
+ DataChange.queryDataByDateTime(startTime, endTime, mapValue,sdfDateTime);//根据时间段查询数据
|
|
|
if ("yes".equals(isPage)){
|
|
|
return success(statisticalReportService.getPurchaseInwardList(mapValue));
|
|
|
}
|
|
@@ -428,13 +431,14 @@ public class StatisticalReportController extends BaseRESTfulController {
|
|
|
String isPage,
|
|
|
String index
|
|
|
){
|
|
|
- DataChange.queryDataByDateTime(startTime, endTime, mapValue,sdfDateTime);//根据时间段查询数据
|
|
|
+
|
|
|
if (index!=null&&!"null".equals(index)){
|
|
|
mapValue.put("index",index);
|
|
|
}
|
|
|
if (orgCode!=null&&!"null".equals(orgCode)){
|
|
|
mapValue.put("orgCode",orgCode);
|
|
|
}
|
|
|
+ DataChange.queryDataByDateTime(startTime, endTime, mapValue,sdfDateTime);//根据时间段查询数据
|
|
|
if ("yes".equals(isPage)){
|
|
|
return success(statisticalReportService.getInwardInFactory(mapValue));
|
|
|
}
|