|
@@ -816,10 +816,29 @@ public class WMSController extends BaseRESTfulController {
|
|
|
return wmsFeign.updateWmspGridMaterialForRestack(mapValue);
|
|
|
}
|
|
|
|
|
|
+ //修改实时库存,针对倒垛
|
|
|
+ @PostMapping(value = "/insertStockTaking")
|
|
|
+ public Map<String,Object> insertStockTaking(@RequestParam(value = "warehouseId") String warehouseId,
|
|
|
+ @RequestParam(value = "materialCode") String materialCode,
|
|
|
+ @RequestParam(value = "quantity") Integer quantity) {
|
|
|
+ return wmsFeign.insertStockTaking(warehouseId,materialCode,quantity);
|
|
|
+ }
|
|
|
+ //修改实时库存,针对倒垛
|
|
|
+ @PostMapping(value = "/getStockTakingList")
|
|
|
+ public Map<String,Object> getStockTakingList(@RequestParam(value = "pageNum") Integer pageNum,
|
|
|
+ @RequestParam(value = "pageSize") Integer pageSize,
|
|
|
+ @RequestParam(value = "apiId") Integer apiId) {
|
|
|
+ return wmsFeign.getStockTakingList(pageNum,pageSize,apiId);
|
|
|
+ }
|
|
|
// 根据倒垛单ID获得物资类型
|
|
|
@GetMapping(value = "getRestackMakeTypeResult")
|
|
|
public Map<String, Object> getRestackMakeTypeResult(@RequestParam("restackMake") String restackMake,
|
|
|
@RequestParam("context")String context){
|
|
|
return wmsFeign.getRestackMakeTypeResult(restackMake,context);
|
|
|
}
|
|
|
+ // 改变已经稽核的吊牌信息
|
|
|
+ @GetMapping(value = "changeRestackMakeResult")
|
|
|
+ public int changeRestackMakeResult(@RequestParam("restackMake") String restackMake){
|
|
|
+ return wmsFeign.changeRestackMakeResult(restackMake);
|
|
|
+ }
|
|
|
}
|