|
@@ -421,6 +421,20 @@ public class AMScontroller{
|
|
|
return amsFeign.getAmsContractTransportPrice1(mapValue, pageNum, pageSize, apiId, deleted);
|
|
|
}
|
|
|
|
|
|
+ @PostMapping("/getInwardContractPrice")
|
|
|
+ @ApiOperation(value = "查询内转汽运单价信息")
|
|
|
+ public Map<String, Object> getInwardContractPrice(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize,
|
|
|
+ Integer apiId,
|
|
|
+ Integer deleted) {
|
|
|
+ if (mapValue == null) {
|
|
|
+ mapValue = new HashMap<>();
|
|
|
+ }
|
|
|
+ return amsFeign.getInwardContractPrice(mapValue, pageNum, pageSize, apiId, deleted);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* 新增汽运单价
|
|
|
* @param mapVal
|
|
@@ -431,6 +445,14 @@ public class AMScontroller{
|
|
|
Map<String, Object> addAmsContractTransportUnitPrice1(@RequestBody Map<String, Object> mapVal) {
|
|
|
return amsFeign.addAmsContractTransportUnitPrice1(mapVal);
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+ @PostMapping("insertInwardPrice")
|
|
|
+ @ApiOperation(value = "新增内转运输单价")
|
|
|
+ Map<String, Object> insertInwardPrice(@RequestBody Map<String, Object> mapVal) {
|
|
|
+ return amsFeign.insertInwardPrice(mapVal);
|
|
|
+ }
|
|
|
+
|
|
|
@PostMapping("deleteAmsContractTransportPrice1")
|
|
|
@ApiOperation(value = "通过主键id删除汽运单价")
|
|
|
Map<String, Object> deleteAmsContractTransportPrice1(@RequestParam BigDecimal priceId) {
|
|
@@ -1425,8 +1447,12 @@ public class AMScontroller{
|
|
|
Integer pageNum,
|
|
|
Integer pageSize,
|
|
|
Integer apiId,
|
|
|
- String con){
|
|
|
- return amsFeign.getSaleOrderListBySaleCompanyes(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId, con);
|
|
|
+ String con,
|
|
|
+ Integer shipperId
|
|
|
+// String startDate,
|
|
|
+// String endDate
|
|
|
+ ){
|
|
|
+ return amsFeign.getSaleOrderListBySaleCompanyes(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId, con, shipperId);
|
|
|
}
|
|
|
|
|
|
@PostMapping("getAmsSaleOrderApprovedes")
|
|
@@ -1698,6 +1724,95 @@ public class AMScontroller{
|
|
|
return amsFeign.refuseDispatchSaleOrderList(mapList);
|
|
|
}
|
|
|
|
|
|
+ @ApiModelProperty(value = "新增钢材销售订单")
|
|
|
+ @PostMapping("/addSteelSaleOrder")
|
|
|
+ public Map<String, Object> addSteelSaleOrder(@RequestBody Map<String,Object> mapValue) {
|
|
|
+ return amsFeign.addSteelSaleOrder(mapValue);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "查询销售订单下的物资")
|
|
|
+ @PostMapping("/getTruckNoAndMaterialList")
|
|
|
+ public RESTfulResult getTruckNoAndMaterialList(@RequestParam Integer saleOrderId) {
|
|
|
+ return amsFeign.getTruckNoAndMaterialList(saleOrderId);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "销售钢材派车")
|
|
|
+ @PostMapping("/dispatchSteelOrder")
|
|
|
+ public Map<String, Object> dispatchSteelOrder(@RequestBody List<Map<String,Object>> mapList) {
|
|
|
+ return amsFeign.dispatchSteelOrder(mapList);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "根据详细地址匹配承运商")
|
|
|
+ @GetMapping("/getCarrierByPlace")
|
|
|
+ public RESTfulResult getCarrierByPlace(@RequestParam Integer placeId) {
|
|
|
+ return amsFeign.getCarrierByPlace(placeId);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "将车序号下发给承运商")
|
|
|
+ @PostMapping("/dispatchToCarrier")
|
|
|
+ public RESTfulResult dispatchToCarrier(@RequestBody List<Map<String,Object>> mapList) {
|
|
|
+ return amsFeign.dispatchToCarrier(mapList);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "将车序号下发给承运商")
|
|
|
+ @PostMapping("/getSaleOrderListToCarrier")
|
|
|
+ public RESTfulResult getSaleOrderListToCarrier(@RequestBody(required = false) Map<String,Object> mapValue,
|
|
|
+ @RequestParam Integer pageNum,
|
|
|
+ @RequestParam Integer pageSize,
|
|
|
+ @RequestParam Integer apiId,
|
|
|
+ @RequestParam String carrierSsoId,
|
|
|
+ @RequestParam(required = false) String con) {
|
|
|
+ if (mapValue == null) {
|
|
|
+ mapValue = new HashMap<>();
|
|
|
+ }
|
|
|
+ return amsFeign.getSaleOrderListToCarrier(mapValue,pageNum,pageSize,apiId,carrierSsoId,con);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "展示未匹配承运商的车序号")
|
|
|
+ @PostMapping("/getSteelTruckNoList")
|
|
|
+ public RESTfulResult getSteelTruckNoList(@RequestBody(required = false) Map<String,Object> mapValue,
|
|
|
+ @RequestParam Integer apiId,
|
|
|
+ @RequestParam Integer pageNum,
|
|
|
+ @RequestParam Integer pageSize,
|
|
|
+ @RequestParam(required = false) String con) {
|
|
|
+ if (mapValue == null) {
|
|
|
+ mapValue = new HashMap<>();
|
|
|
+ }
|
|
|
+ return amsFeign.getSteelTruckNoList(mapValue,apiId,pageNum,pageSize,con);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "展示未匹配承运商的车序号详情")
|
|
|
+ @PostMapping("/getTruckNoMaterial")
|
|
|
+ public RESTfulResult getTruckNoMaterial(@RequestParam Integer saleOrderMaterialId) {
|
|
|
+ return amsFeign.getTruckNoMaterial(saleOrderMaterialId);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "展示已分配承运商但未派车的车序号")
|
|
|
+ @PostMapping("/getNoCarTruckNoList")
|
|
|
+ public RESTfulResult getNoCarTruckNoList(@RequestBody(required = false) Map<String,Object> mapValue,
|
|
|
+ @RequestParam Integer apiId,
|
|
|
+ @RequestParam Integer pageNum,
|
|
|
+ @RequestParam Integer pageSize,
|
|
|
+ @RequestParam(required = false) String con) {
|
|
|
+ if (mapValue == null) {
|
|
|
+ mapValue = new HashMap<>();
|
|
|
+ }
|
|
|
+ return amsFeign.getNoCarTruckNoList(mapValue,apiId,pageNum,pageSize,con);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "展示已派车的车序号")
|
|
|
+ @PostMapping("/getHaveCarTruckNoList")
|
|
|
+ public RESTfulResult getHaveCarTruckNoList(@RequestBody(required = false) Map<String,Object> mapValue,
|
|
|
+ @RequestParam Integer apiId,
|
|
|
+ @RequestParam Integer pageNum,
|
|
|
+ @RequestParam Integer pageSize,
|
|
|
+ @RequestParam(required = false) String con) {
|
|
|
+ if (mapValue == null) {
|
|
|
+ mapValue = new HashMap<>();
|
|
|
+ }
|
|
|
+ return amsFeign.getHaveCarTruckNoList(mapValue, apiId, pageNum, pageSize, con);
|
|
|
+ }
|
|
|
+
|
|
|
@ApiOperation(value="获取零星订单的物资详情")
|
|
|
@PostMapping(value = "/getSporadic")
|
|
|
public Map<String, Object> getSporadic(Integer sporadicId) {
|
|
@@ -1716,4 +1831,10 @@ public class AMScontroller{
|
|
|
}
|
|
|
|
|
|
|
|
|
+ @ApiOperation(value = "查询内转物流运输单价")
|
|
|
+ @PostMapping("/getInwardPriceBy")
|
|
|
+ public Map<String,Object>getInwardPriceBy(@RequestBody(required = false)Map<String,Object>mapvalue){
|
|
|
+ return amsFeign.getInwardPriceBy(mapvalue);
|
|
|
+ }
|
|
|
+
|
|
|
}
|