|
@@ -12,6 +12,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
+import java.awt.image.Kernel;
|
|
|
import java.math.BigDecimal;
|
|
|
import java.util.Date;
|
|
|
import java.util.HashMap;
|
|
@@ -772,4 +773,25 @@ public class WMSController extends BaseRESTfulController {
|
|
|
return wmsFeign.getNewDistribute(personnelWorkshopid);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ @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){
|
|
|
+ return wmsFeign.selectRestackByWarehouseIds(warehouseid);
|
|
|
+ }
|
|
|
+ @GetMapping("/wmsprestackmaketyperesults/getRestackMakeTypeResult")
|
|
|
+ public RESTfulResult getRestackMakeTypeResult(@RequestParam("restackMake") String restackMake,@RequestParam("context")String context){
|
|
|
+ return wmsFeign.getRestackMakeTypeResult(restackMake,context);
|
|
|
+ }
|
|
|
+
|
|
|
}
|