|
@@ -358,6 +358,38 @@ public class OmstruckOrderController extends BaseRESTfulController {
|
|
return success(pageList);
|
|
return success(pageList);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ @ApiOperation(value = "查询运输订单对应的车牌以及车辆的状态")
|
|
|
|
+ @ApiImplicitParams({
|
|
|
|
+ @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
|
|
|
|
+ @ApiImplicitParam(name = "apiId(85)", value = "动态表头", required = false, dataType = "Integer"),
|
|
|
|
+ @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
|
|
|
|
+ @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
|
|
|
|
+ })
|
|
|
|
+ @PostMapping("/getTransportOrder")
|
|
|
|
+ public RESTfulResult getTransportOrder(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ Integer orderId,
|
|
|
|
+ Integer orderStatus
|
|
|
|
+ ) {
|
|
|
|
+ if (orderId!=null){
|
|
|
|
+ mapValue.put("orderId",orderId);
|
|
|
|
+ }
|
|
|
|
+ if (orderStatus!=null||!orderStatus.equals("")){
|
|
|
|
+ mapValue.put("orderStatus",orderStatus);
|
|
|
|
+ }
|
|
|
|
+ //不分页筛选数据
|
|
|
|
+ PageHelper.startPage(pageNum, pageSize);
|
|
|
|
+ //分页数据
|
|
|
|
+ List<Map<String, Object>> capacity = omstruckOrderService.getTransportOrder(mapValue);
|
|
|
|
+ PageListAdd pageList = columnDataUtil.tableColumnData(apiId, null, capacity);
|
|
|
|
+ return success(pageList);
|
|
|
|
+ }
|
|
|
|
+
|
|
@ApiOperation(value = "分解运输计划后 新增订单 或者直接新增订单 ")
|
|
@ApiOperation(value = "分解运输计划后 新增订单 或者直接新增订单 ")
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParam(name = "mapValue", value = "运输计划实绩对象", required = false, dataType = "Map"),
|
|
@ApiImplicitParam(name = "mapValue", value = "运输计划实绩对象", required = false, dataType = "Map"),
|