|
@@ -104,10 +104,11 @@ public class StatisticalReportController extends BaseRESTfulController {
|
|
String userIds,
|
|
String userIds,
|
|
String con
|
|
String con
|
|
){
|
|
){
|
|
- if(carrierSsoId != null){
|
|
|
|
- if(!"null".equals(carrierSsoId)){
|
|
|
|
|
|
+ if(carrierSsoId != null) {
|
|
|
|
+ if (!"null".equals(carrierSsoId)) {
|
|
mapValue.put("carrierSsoId", carrierSsoId);
|
|
mapValue.put("carrierSsoId", carrierSsoId);
|
|
}
|
|
}
|
|
|
|
+ }
|
|
if (userId!=null){
|
|
if (userId!=null){
|
|
mapValue.put("userId",userId);
|
|
mapValue.put("userId",userId);
|
|
}
|
|
}
|
|
@@ -117,7 +118,7 @@ public class StatisticalReportController extends BaseRESTfulController {
|
|
if (con!=null&&!con.equals("undefined")){
|
|
if (con!=null&&!con.equals("undefined")){
|
|
mapValue.put("con","%"+con+"%");
|
|
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);
|
|
//分页数据
|
|
//分页数据
|
|
@@ -139,13 +140,25 @@ public class StatisticalReportController extends BaseRESTfulController {
|
|
Integer apiId,
|
|
Integer apiId,
|
|
Integer pageNum,
|
|
Integer pageNum,
|
|
Integer pageSize,
|
|
Integer pageSize,
|
|
- String carrierSsoId
|
|
|
|
|
|
+ String carrierSsoId,
|
|
|
|
+ String userId,
|
|
|
|
+ String userIds,
|
|
|
|
+ String con
|
|
){
|
|
){
|
|
if(carrierSsoId != null){
|
|
if(carrierSsoId != null){
|
|
if(!"null".equals(carrierSsoId)){
|
|
if(!"null".equals(carrierSsoId)){
|
|
mapValue.put("carrierSsoId", carrierSsoId);
|
|
mapValue.put("carrierSsoId", carrierSsoId);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ if (con!=null&&!con.equals("undefined")){
|
|
|
|
+ mapValue.put("con","%"+con+"%");
|
|
|
|
+ }
|
|
|
|
+ if (userId!=null){
|
|
|
|
+ mapValue.put("userId",userId);
|
|
|
|
+ }
|
|
|
|
+ if (userIds!=null){
|
|
|
|
+ mapValue.put("userIds",userIds);
|
|
|
|
+ }
|
|
List<Map<String, Object>> allReport = statisticalReportService.getSporadicSuppliesReportNum2(mapValue);
|
|
List<Map<String, Object>> allReport = statisticalReportService.getSporadicSuppliesReportNum2(mapValue);
|
|
PageHelper.startPage(pageNum, pageSize);
|
|
PageHelper.startPage(pageNum, pageSize);
|
|
//分页数据
|
|
//分页数据
|