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