|
@@ -228,14 +228,14 @@ public class WMSController extends BaseRESTfulController {
|
|
|
|
|
|
//删除倒垛单
|
|
|
@PostMapping("/deleteByResultId/{resultId}")
|
|
|
- public Map<String, Object> deleteByResultId(@PathVariable Integer resultId) {
|
|
|
+ public Map<String, Object> deleteByResultId(@PathVariable String resultId) {
|
|
|
Map<String, Object> resTfulResult = wmsFeign.deleteByResultId(resultId);
|
|
|
return resTfulResult;
|
|
|
}
|
|
|
|
|
|
//下发倒垛单
|
|
|
@PostMapping("/dispatchDistrubtionStatus/{resultId}")
|
|
|
- public Map<String, Object> dispatchDistrubtionStatus(@PathVariable Integer resultId) {
|
|
|
+ public Map<String, Object> dispatchDistrubtionStatus(@PathVariable String resultId) {
|
|
|
Map<String, Object> resTfulResult = wmsFeign.dispatchDistrubtionStatus(resultId);
|
|
|
return resTfulResult;
|
|
|
}
|
|
@@ -273,6 +273,17 @@ public class WMSController extends BaseRESTfulController {
|
|
|
Integer DistrubtionStatus) {
|
|
|
return wmsFeign.selectRestackList(mapVal==null?new HashMap<>():mapVal,apiId, pageNum, pageSize, DistrubtionStatus);
|
|
|
}
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "apiId", value = "119", required = false, dataType = "BigDecimal"),
|
|
|
+ })
|
|
|
+ @PostMapping("/selectRestackList2")
|
|
|
+ public Map<String, Object> selectRestackList2(@RequestBody(required = false) Map<String, Object> mapVal,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize,
|
|
|
+ Integer apiId,
|
|
|
+ Integer DistrubtionStatus) {
|
|
|
+ return wmsFeign.selectRestackList2(mapVal==null?new HashMap<>():mapVal,apiId, pageNum, pageSize, DistrubtionStatus);
|
|
|
+ }
|
|
|
|
|
|
@PostMapping("/editRestackMakeResult")
|
|
|
public Map<String, Object> editRestackMakeResult(@RequestBody(required = false) Map<String, Object> mapVal) {
|
|
@@ -772,4 +783,28 @@ public class WMSController extends BaseRESTfulController {
|
|
|
return wmsFeign.getNewDistribute(personnelWorkshopid);
|
|
|
}
|
|
|
|
|
|
+ // 获取物资类型
|
|
|
+ @PostMapping(value = "/getMaterialTypeList")
|
|
|
+ public Map<String,Object> getMaterialTypeList(@RequestParam("warehouseid") String warehouseid,
|
|
|
+ @RequestParam("stackingId") BigDecimal stackingId,
|
|
|
+ @RequestParam("gradtionNumber") BigDecimal gradtionNumber,
|
|
|
+ @RequestParam("pageNum") Integer pageNum,
|
|
|
+ @RequestParam("pageSize") Integer pageSize,
|
|
|
+ @RequestParam("apiId") Integer apiId){
|
|
|
+ return wmsFeign.getMaterialTypeList(warehouseid,stackingId,gradtionNumber,pageNum,pageSize,apiId);
|
|
|
+ }
|
|
|
+
|
|
|
+// 创建倒垛单
|
|
|
+ @PostMapping(value = "/createRestackMakeResult")
|
|
|
+ public Map<String,Object> createRestackMakeResult(@RequestParam("keeperId") BigDecimal keeperId,
|
|
|
+ @RequestParam("beforeLevel")BigDecimal beforeLevel,
|
|
|
+ @RequestParam(name = "afterStackingId",defaultValue = "20")BigDecimal afterStackingId,
|
|
|
+ @RequestParam("afterWarehouseId")BigDecimal afterWarehouseId,
|
|
|
+ @RequestParam("afterBeforeStackingId") BigDecimal afterBeforeStackingId,
|
|
|
+ @RequestParam("resultRemark")String resultRemark,
|
|
|
+ @RequestBody(required = false) List<Map<String,Object>> mps){
|
|
|
+ return wmsFeign.createRestackMakeResult(keeperId,beforeLevel,afterStackingId,afterWarehouseId,afterBeforeStackingId,resultRemark,mps);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
}
|