|
@@ -141,7 +141,7 @@ public class UniversalController extends BaseRESTfulController {
|
|
|
@ApiOperation(value="查询所有空闲的运力信息")
|
|
|
@ApiImplicitParams({
|
|
|
@ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
|
|
|
- @ApiImplicitParam(name = "apiId()", value = "动态表头", required = false, dataType = "Integer"),
|
|
|
+ @ApiImplicitParam(name = "apiId(248)", value = "动态表头", required = false, dataType = "Integer"),
|
|
|
@ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
|
|
|
@ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
|
|
|
})
|
|
@@ -157,14 +157,16 @@ public class UniversalController extends BaseRESTfulController {
|
|
|
mapValue = new HashMap<>();
|
|
|
}
|
|
|
if(index != null){
|
|
|
- mapValue.put("index", "%" + index + "%");
|
|
|
+ mapValue.put("index","%" + index + "%");
|
|
|
}
|
|
|
- if(carrierSsoId != null){
|
|
|
- if(!"null".equals(carrierSsoId)){
|
|
|
- mapValue.put("carrierSsoId", carrierSsoId);
|
|
|
- }
|
|
|
+ if (carrierSsoId != null && carrierSsoId.equals("undefined")) {
|
|
|
+ carrierSsoId = null;
|
|
|
}
|
|
|
-
|
|
|
+ BigDecimal carrierId = null;
|
|
|
+ if (carrierSsoId != null) {
|
|
|
+ carrierId = universalMapper.getCarrierIdBySSO(carrierSsoId);
|
|
|
+ }
|
|
|
+ mapValue.put("carrierId",carrierId);
|
|
|
//不分页筛选数据
|
|
|
List<Map<String, Object>> allCapacity = universalMapper.getAllCapacityByCarrierLike(mapValue);
|
|
|
PageHelper.startPage(pageNum,pageSize);
|