|
@@ -229,14 +229,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;
|
|
|
}
|
|
@@ -274,6 +274,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) {
|
|
@@ -774,16 +785,16 @@ public class WMSController extends BaseRESTfulController {
|
|
|
}
|
|
|
|
|
|
|
|
|
- @PostMapping("/createRestackMakeResult")
|
|
|
- public RESTfulResult 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);
|
|
|
- }
|
|
|
+// @PostMapping("/createRestackMakeResult")
|
|
|
+// public RESTfulResult 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);
|
|
|
+// }
|
|
|
//PDA根据仓库id查找倒垛单
|
|
|
@GetMapping("/wmsprestackmakeresults/selectRestackByWarehouseIds")
|
|
|
public RESTfulResult selectRestackByWarehouseIds(@RequestParam(required = true) String warehouseid){
|
|
@@ -793,5 +804,37 @@ public class WMSController extends BaseRESTfulController {
|
|
|
public RESTfulResult getRestackMakeTypeResult(@RequestParam("restackMake") String restackMake,@RequestParam("context")String context){
|
|
|
return wmsFeign.getRestackMakeTypeResult(restackMake,context);
|
|
|
}
|
|
|
+ // 获取物资类型
|
|
|
+ @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);
|
|
|
+ }
|
|
|
+ @ApiOperation("进入出库扫码页面,查询出库物资信息详情")
|
|
|
+ @GetMapping("/wmspoutboundresults/getInitOutboundScanResultMaterialInfo")
|
|
|
+ @ApiImplicitParam(name = "resultId",value = "出库实绩id",paramType = "BigDecimal",required = true)
|
|
|
+ public RESTfulResult getInitOutboundScanResultMaterialInfo(@RequestParam(value = "resultId",required = true) BigDecimal resultId){
|
|
|
+ return wmsFeign.getInitOutboundScanResultMaterialInfo(resultId);
|
|
|
+ }
|
|
|
|
|
|
+ @PostMapping("/wmspoutboundresults/deleteGridMaterial")
|
|
|
+ public RESTfulResult deleteGridMaterial(@RequestParam String materialOnlyCode){
|
|
|
+ return wmsFeign.deleteGridMaterial(materialOnlyCode);
|
|
|
+ }
|
|
|
}
|