|
@@ -2,6 +2,7 @@ package com.steerinfo.dil.feign;
|
|
|
|
|
|
import com.steerinfo.framework.controller.RESTfulResult;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
+import io.swagger.models.auth.In;
|
|
|
import oracle.jdbc.proxy.annotation.Post;
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
@@ -221,14 +222,15 @@ public interface OmsFeign {
|
|
|
@RequestParam("orderStatus") Integer orderStatus,
|
|
|
@RequestParam("con") String con
|
|
|
);
|
|
|
+
|
|
|
@PostMapping("api/v1/oms/omstruckorders/selectSteelSaleForCarrier/{carrierId}")
|
|
|
public Map<String,Object> selectSteelSaleForCarrier(@RequestBody(required=false) Map<String,Object> mapValue,
|
|
|
@RequestParam Integer apiId,
|
|
|
@RequestParam Integer pageNum,
|
|
|
@RequestParam Integer pageSize,
|
|
|
@PathVariable Integer carrierId
|
|
|
-
|
|
|
);
|
|
|
+
|
|
|
@PostMapping("api/v1/oms/omstruckorders/selectInfoBySaleOrderId/{saleOrderId}")
|
|
|
public Map<String,Object> selectInfoBySaleOrderId(@RequestBody(required=false) Map<String,Object> mapValue,
|
|
|
@RequestParam Integer apiId,
|
|
@@ -257,7 +259,21 @@ public interface OmsFeign {
|
|
|
|
|
|
|
|
|
);
|
|
|
-
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+ @ApiOperation(value="车牌号下拉")
|
|
|
+ @GetMapping(value = "api/v1/oms/omstruckorders/getDriverCapacity")
|
|
|
+ Map<String, Object> getDriverCapacity();
|
|
|
+
|
|
|
+ @ApiOperation(value="派单信息")
|
|
|
+ @PostMapping(value = "api/v1/oms/omstruckorders/getTruckNoDispatchMap")
|
|
|
+ Map<String, Object> getTruckNoDispatchMap(@RequestParam Integer dispatchId);
|
|
|
+
|
|
|
+ @ApiOperation(value="承运商分派运输订单给司机")
|
|
|
+ @PostMapping(value = "api/v1/oms/omstruckorders/addAppTruckOrder")
|
|
|
+ Map<String, Object> addAppTruckOrder(@RequestParam Integer dispatchId,
|
|
|
+ @RequestParam Integer orderType,
|
|
|
+ @RequestParam Integer driverCapacityId);
|
|
|
}
|
|
|
|