|
@@ -41,8 +41,9 @@ public class OMSController {
|
|
|
Integer orderStatus,
|
|
|
Integer planId,
|
|
|
Integer orderType,
|
|
|
- Integer fuelOrder) {
|
|
|
- return omsFeign.getAllTruckOrder(mapValue == null? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderStatus, planId, orderType, fuelOrder);
|
|
|
+ Integer fuelOrder, String con) {
|
|
|
+ return omsFeign.getAllTruckOrder(mapValue == null? new HashMap<>() : mapValue, apiId, pageNum, pageSize,
|
|
|
+ orderStatus, planId, orderType, fuelOrder, con);
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "不适用表头返回数据")
|
|
@@ -93,9 +94,9 @@ public class OMSController {
|
|
|
|
|
|
|
|
|
@ApiOperation(value = "派单")
|
|
|
- @PostMapping("/dispatchOrder")
|
|
|
- public Map<String, Object> dispatchOrder(@RequestBody(required = false) Map<String, Object> map) {
|
|
|
- return omsFeign.dispatchOrder(map);
|
|
|
+ @PostMapping("/dispatchOrder/{orderId}")
|
|
|
+ public Map<String, Object> dispatchOrder(@PathVariable("orderId") Integer orderId) {
|
|
|
+ return omsFeign.dispatchOrder(orderId);
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "逻辑删除运单")
|
|
@@ -132,10 +133,11 @@ public class OMSController {
|
|
|
Integer pageSize,
|
|
|
@PathVariable Integer orderReceiveStatus,
|
|
|
Integer orderType,
|
|
|
- Integer orderStatus
|
|
|
+ Integer orderStatus,
|
|
|
+ String con
|
|
|
){
|
|
|
return omsFeign.getReceiveRefuseOrder(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum,
|
|
|
- pageSize, orderReceiveStatus, orderType, orderStatus);
|
|
|
+ pageSize, orderReceiveStatus, orderType, orderStatus, con);
|
|
|
}
|
|
|
|
|
|
|
|
@@ -195,10 +197,9 @@ public class OMSController {
|
|
|
Integer pageSize,
|
|
|
@PathVariable Integer orderReceiveStatus,
|
|
|
Integer orderType,
|
|
|
- Integer orderStatus,
|
|
|
- Integer fuelOrder){
|
|
|
+ Integer orderStatus, Integer fuelOrder,String con){
|
|
|
return omsFeign.getTransportDispatch(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize,
|
|
|
- orderReceiveStatus, orderType, orderStatus, fuelOrder);
|
|
|
+ orderReceiveStatus, orderType, orderStatus, fuelOrder, con);
|
|
|
}
|
|
|
|
|
|
/**
|