|
@@ -878,9 +878,9 @@ public class AMScontroller{
|
|
|
return amsFeign.addRailOffsetDayplan(mapVal);
|
|
|
}
|
|
|
//删除钢材发往异地库计划
|
|
|
- @PostMapping("/deleteRailOffsetDayplan/{dayPlanId}")
|
|
|
- public Map<String,Object> deleteRailOffsetDayplan(@PathVariable("dayPlanId") BigDecimal dayPlanId) {
|
|
|
- return amsFeign.deleteRailOffsetDayplan(dayPlanId);
|
|
|
+ @PostMapping("/deleteRailOffsetDayplan/{dayplanId}")
|
|
|
+ public Map<String,Object> deleteRailOffsetDayplan(@PathVariable("dayplanId") Integer dayplanId) {
|
|
|
+ return amsFeign.deleteRailOffsetDayplan(dayplanId);
|
|
|
}
|
|
|
//修改钢材发往异地库计划
|
|
|
@PostMapping("/updateRailOffsetDayplan")
|
|
@@ -888,17 +888,35 @@ public class AMScontroller{
|
|
|
return amsFeign.updateRailOffsetDayplan(mapVal);
|
|
|
}
|
|
|
|
|
|
+ //钢材发运到异地库查询物资
|
|
|
+ @PostMapping("/getMaterialMesByDayPlanId")
|
|
|
+ public Map<String,Object> getMaterialMesByDayPlanId(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize,
|
|
|
+ Integer apiId,
|
|
|
+ Integer dayplanId){
|
|
|
+ return amsFeign.getMaterialMesByDayPlanId(mapValue,pageNum,pageSize,apiId,dayplanId);
|
|
|
+ }
|
|
|
+
|
|
|
//展示钢材发往异地库计划
|
|
|
@PostMapping("/getRailOffsetDayplan")
|
|
|
@ApiOperation(value = "展示钢材发往异地库计划")
|
|
|
public Map<String, Object> getRailOffsetDayplan(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
Integer pageNum,
|
|
|
Integer pageSize,
|
|
|
- Integer apiId) {
|
|
|
+ Integer apiId,
|
|
|
+ Integer dayplanReceiveStatus,
|
|
|
+ Integer carrierId) {
|
|
|
if (mapValue == null) {
|
|
|
mapValue = new HashMap<>();
|
|
|
}
|
|
|
- return amsFeign.getRailOffsetDayplan(mapValue, pageNum, pageSize, apiId);
|
|
|
+ return amsFeign.getRailOffsetDayplan(mapValue, pageNum, pageSize, apiId,dayplanReceiveStatus,carrierId);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "下发钢材发往异地库计划")
|
|
|
+ @PostMapping("/issueRailOffsetDayplan")
|
|
|
+ public RESTfulResult issueRailOffsetDayplan(@RequestBody List<Map<String,Object>> mapList) {
|
|
|
+ return amsFeign.issueRailOffsetDayplan(mapList);
|
|
|
}
|
|
|
|
|
|
////************************************内转物流***************************************************
|
|
@@ -910,9 +928,35 @@ public class AMScontroller{
|
|
|
return amsFeign.addTruckPlan(mapVal);
|
|
|
}
|
|
|
//删除
|
|
|
- @PostMapping("/deleteTruckRequirement/{planId}")
|
|
|
- public Map<String,Object> deleteTruckPlan(@PathVariable("planId") BigDecimal planId) {
|
|
|
- return amsFeign.deleteTruckPlan(planId);
|
|
|
+ @PostMapping("/deleteTruckPlan/{planId}")
|
|
|
+ public Map<String,Object> deleteTruckPlan(@PathVariable("planId") Integer planId) {
|
|
|
+ return amsFeign.deleteTruckPlan(new BigDecimal(planId));
|
|
|
+ }
|
|
|
+
|
|
|
+ //接收
|
|
|
+ @PostMapping("/receiveInwardPlan/{planId}")
|
|
|
+ public Map<String,Object> receiveInwardPlan(@PathVariable("planId") Integer planId) {
|
|
|
+ return amsFeign.receiveInwardPlan(new BigDecimal(planId));
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 修改渲染
|
|
|
+ * @param planId
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @PostMapping("/selectInwardPlanToUpdate/{planId}")
|
|
|
+ public Map<String,Object> selectInwardPlanToUpdate(@PathVariable("planId") Integer planId) {
|
|
|
+ return amsFeign.selectInwardPlanToUpdate(new BigDecimal(planId));
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 下发
|
|
|
+ * @param mapList
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @PostMapping("/downTruckPlan")
|
|
|
+ public Map<String,Object> downTruckPlan(@RequestBody List<Map<String,Object>> mapList) {
|
|
|
+ return amsFeign.downTruckPlan(mapList);
|
|
|
}
|
|
|
/**
|
|
|
* 修改运输计划/下发运输计划/承运商接收运输计划
|
|
@@ -933,17 +977,20 @@ public class AMScontroller{
|
|
|
@ApiImplicitParams({
|
|
|
@ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
|
|
|
@ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer"),
|
|
|
- @ApiImplicitParam(name = "apiId", value = "还未知", required = false, dataType = "BigDecimal")
|
|
|
+ @ApiImplicitParam(name = "apiId", value = "0:257/1,2:258", required = false, dataType = "BigDecimal")
|
|
|
})
|
|
|
@PostMapping("/getTruckPlanList")
|
|
|
public Map<String, Object> getTruckPlanList(@RequestBody(required = false) Map<String,Object> mapValue,
|
|
|
- Integer pageNum,
|
|
|
- Integer pageSize,
|
|
|
- Integer apiId) {
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize,
|
|
|
+ Integer apiId,
|
|
|
+ Integer planStatus,
|
|
|
+ Integer carrierId,
|
|
|
+ Integer planId) {
|
|
|
if (mapValue == null) {
|
|
|
mapValue = new HashMap<>();
|
|
|
}
|
|
|
- return amsFeign.getTruckPlanList(mapValue, pageNum, pageSize, apiId);
|
|
|
+ return amsFeign.getTruckPlanList(mapValue, pageNum, pageSize, apiId,planStatus,carrierId,planId);
|
|
|
}
|
|
|
/**
|
|
|
*用车单位提出需求
|
|
@@ -958,13 +1005,31 @@ public class AMScontroller{
|
|
|
public Map<String,Object> deleteTruckRequirement(@PathVariable("requirementId") BigDecimal requirementId) {
|
|
|
return amsFeign.deleteTruckRequirement(requirementId);
|
|
|
}
|
|
|
+ //下发用车需求
|
|
|
+ @PostMapping("/downRequirement")
|
|
|
+ public Map<String,Object> downRequirement(@RequestBody List<Map<String,Object>> requirementIds) {
|
|
|
+ return amsFeign.downRequirement(requirementIds);
|
|
|
+ }
|
|
|
+
|
|
|
+ //接收用车需求
|
|
|
+ @PostMapping("/receiveRequirement/{requirementId}")
|
|
|
+ public Map<String,Object> receiveRequirement(@PathVariable("requirementId") Integer requirementId) {
|
|
|
+ return amsFeign.receiveRequirement(requirementId);
|
|
|
+ }
|
|
|
/**
|
|
|
- * 修改用车需求/下发用车需求
|
|
|
+ * 修改用车需求
|
|
|
*/
|
|
|
@PostMapping("/updateTruckRequirement")
|
|
|
public Map<String,Object> updateTruckRequirement(@RequestBody Map<String, Object> mapVal){
|
|
|
return amsFeign.updateTruckRequirement(mapVal);
|
|
|
}
|
|
|
+ /**
|
|
|
+ * 查询修改渲染
|
|
|
+ */
|
|
|
+ @PostMapping("/selectRequirement/{requirementId}")
|
|
|
+ public Map<String,Object> selectRequirement(@PathVariable("requirementId") Integer requirementId) {
|
|
|
+ return amsFeign.selectRequirement(requirementId);
|
|
|
+ }
|
|
|
|
|
|
/**
|
|
|
* 展示用车需求
|
|
@@ -978,17 +1043,19 @@ public class AMScontroller{
|
|
|
@ApiImplicitParams({
|
|
|
@ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
|
|
|
@ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer"),
|
|
|
- @ApiImplicitParam(name = "apiId", value = "还未知", required = false, dataType = "BigDecimal")
|
|
|
+ @ApiImplicitParam(name = "apiId", value = "207", required = false, dataType = "BigDecimal")
|
|
|
})
|
|
|
@PostMapping("/getTruckRequirementList")
|
|
|
public Map<String, Object> getTruckRequirementList(@RequestBody(required = false) Map<String,Object> mapValue,
|
|
|
Integer pageNum,
|
|
|
Integer pageSize,
|
|
|
- Integer apiId) {
|
|
|
+ Integer apiId,
|
|
|
+ Integer requirementStatus,
|
|
|
+ String con) {
|
|
|
if (mapValue == null) {
|
|
|
mapValue = new HashMap<>();
|
|
|
}
|
|
|
- return amsFeign.getTruckRequirementList(mapValue, pageNum, pageSize, apiId);
|
|
|
+ return amsFeign.getTruckRequirementList(mapValue, pageNum, pageSize, apiId,requirementStatus,con);
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value="查询app端公开抢单")
|
|
@@ -1055,4 +1122,58 @@ public class AMScontroller{
|
|
|
String con) {
|
|
|
return amsFeign.getPCDispatchSaleOrderList(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,dispatchType, con);
|
|
|
}
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "展示批次信息")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
|
|
|
+ @ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer"),
|
|
|
+ @ApiImplicitParam(name = "apiId", value = "252", required = false, dataType = "Integer")
|
|
|
+ })
|
|
|
+ @PostMapping("/getPurchaseIdByBatch")
|
|
|
+ public Map<String, Object> getPurchaseIdByBatch(@RequestBody(required = false) Map<String,Object> mapValue,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize,
|
|
|
+ Integer apiId,
|
|
|
+ String con) {
|
|
|
+ return amsFeign.getPurchaseIdByBatch(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId, con);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "仓库模代框")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
|
|
|
+ @ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer"),
|
|
|
+ @ApiImplicitParam(name = "apiId", value = "251", required = false, dataType = "Integer")
|
|
|
+ })
|
|
|
+ @PostMapping("/getWareHouse")
|
|
|
+ public Map<String, Object> getWareHouse(@RequestBody(required = false) Map<String,Object> mapValue,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize,
|
|
|
+ Integer apiId,
|
|
|
+ String con) {
|
|
|
+ return amsFeign.getWareHouse(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId, con);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "车型下拉")
|
|
|
+ @GetMapping("/getCapacityType")
|
|
|
+ public Map<String,Object> getCapacityType() {
|
|
|
+ return amsFeign.getCapacityType();
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "用车单位下拉")
|
|
|
+ @GetMapping("/getShipperUser")
|
|
|
+ public Map<String,Object> getShipperUser() {
|
|
|
+ return amsFeign.getShipperUser();
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "承运商下拉")
|
|
|
+ @GetMapping("/getCarrierList")
|
|
|
+ public Map<String,Object> getCarrierList() {
|
|
|
+ return amsFeign.getCarrierList();
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "到站下拉")
|
|
|
+ @GetMapping("/getdayPlanToTheStationId")
|
|
|
+ public Map<String,Object> getdayPlanToTheStationId() {
|
|
|
+ return amsFeign.getdayPlanToTheStationId();
|
|
|
+ }
|
|
|
}
|