自动化立体仓库 - WMS系统
Junjie
2023-10-13 7bd6e380475d1f4ec7a030dffcf0c217b879b0a5
src/main/java/com/zy/common/web/WcsController.java
@@ -51,6 +51,8 @@
    private AgvWaitPakinService agvWaitPakinService;
    @Autowired
    private AgvWorkService agvWorkService;
    @Autowired
    private AgvBasDevpService agvBasDevpService;
//    @Autowired
//    private ErpService erpService;
@@ -331,9 +333,11 @@
    public R start(@RequestBody ReplenishmentParam param){
        //绑定站点
        agvBasDevpService.updateLocStsAndBarcodeByDevNo(param.getDevNo(),"F",param.getContainerCode());
        //agvWorkService.createWaitPainWrkMastStart(agvBasDevpList, getUserId());
        //生成工作档
        List<AgvBasDevp> agvBasDevpList = agvBasDevpService.selectList(new EntityWrapper<AgvBasDevp>().eq("dev_no", param.getDevNo()));
        agvWorkService.createWaitPainWrkMastStart(agvBasDevpList, null);
        return R.ok();