自动化立体仓库 - WMS系统
skyouc
1 天以前 d50982399469c9725818f96af96bcadffe24d302
src/main/java/com/zy/asrs/controller/MobileController.java
@@ -63,6 +63,13 @@
    @PostMapping("/agv/collectionPakin/view")
    @ManagerAuth
    public R pdaAgvCollectionPakinView(@RequestBody CollectionPakinParams params) {
        if (Objects.isNull(params.getOrgBarcode())) {
            return R.error("源托盘不能为空!");
        }
        if (Objects.isNull(params.getMatnr())) {
            return R.error("物料编码不能为空!!");
        }
        return mobileService.collectionPakinView(params);
    }
@@ -178,6 +185,15 @@
    @ApiOperation("获取缓存区库位信息")
    public R getCacheLocs() {
        return mobileService.getCacheLocs();
    }
    @ManagerAuth
    @GetMapping("/cache/sites/{type}")
    @ApiOperation("获取缓存区入出库站点信息")
    public R getCacheSites(@PathVariable String type) {
        return mobileService.getCacheSites(type);
    }
    @PostMapping("/cache/agv/call")
@@ -327,14 +343,14 @@
        return R.ok().add(combParams);
    }
    @ManagerAuth(memo = "组托")
    @ManagerAuth(memo = "缓冲库入库组托")
    @RequestMapping("/comb/auth")
    public R comb(@RequestBody CombParam combParam) {
        mobileService.comb(combParam, getUserId());
        return R.ok("组托成功");
    }
    @ManagerAuth(memo = "缓冲库入库组托")
    @ManagerAuth(memo = "组托")
    @RequestMapping("/cache/comb/auth")
    public R onlineComb(@RequestBody CombParam combParam) {
        if (Objects.isNull(combParam)) {
@@ -356,7 +372,6 @@
        if (Objects.isNull(callAgvBackParam.getOrgSite())) {
            return R.error("参数不能为空!!");
        }
       return mobileService.agvCallback(callAgvBackParam, getUserId());
    }
@@ -367,8 +382,7 @@
        if (Objects.isNull(combParam)) {
            return R.error("参数不能为空!!");
        }
        mobileService.combInPub(combParam, 10031L);
        return R.ok("上架成功");
       return mobileService.combInPub(combParam, 10031L);
    }
    @RequestMapping("/pack/get/auth")