|
@@ -178,6 +178,39 @@ public class UniversalController extends BaseRESTfulController {
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ @ApiOperation(value="查询运力类型")
|
|
|
|
+ @ApiImplicitParams({
|
|
|
|
+ @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
|
|
|
|
+ @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"),
|
|
|
|
+ })
|
|
|
|
+ @PostMapping("/getCapacityType")
|
|
|
|
+ public RESTfulResult getCapacityType(@RequestBody(required=false) Map<String,Object> mapValue,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ String carrierSsoId,
|
|
|
|
+ String index
|
|
|
|
+ ){
|
|
|
|
+ if(mapValue == null){
|
|
|
|
+ mapValue = new HashMap<>();
|
|
|
|
+ }
|
|
|
|
+ if(index != null){
|
|
|
|
+ mapValue.put("index", index);
|
|
|
|
+ }
|
|
|
|
+ //不分页筛选数据
|
|
|
|
+ PageHelper.startPage(pageNum,pageSize);
|
|
|
|
+ //分页数据
|
|
|
|
+ List<Map<String, Object>> capacity = universalMapper.getCapacityType(mapValue);
|
|
|
|
+ PageListAdd pageList = columnDataUtil.tableColumnData(apiId, capacity);
|
|
|
|
+ return success(pageList);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
@ApiOperation(value="通过订单ID查询订单下所有物资")
|
|
@ApiOperation(value="通过订单ID查询订单下所有物资")
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
|
|
@ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
|