自动化立体仓库 - WMS系统
skyouc
2 天以前 d55a512c442dc258b0c78e519a997d4f1c614b00
src/main/java/com/zy/asrs/controller/MobileController.java
@@ -86,9 +86,25 @@
        return mobileService.collectionPakin(params, getUserId());
    }
    /**
     * 呼叫空板
     * @author Ryan
     * @date 2026/4/1 16:24
     * @param params
     * @return com.core.common.R
     */
    @PostMapping("/agv/callEmptyCar")
    @ManagerAuth
    public R pdaAgvFinishedCall(@RequestBody AgvCallParams params) {
        if (Objects.isNull(params)) {
            return R.error("参数不能为空!!");
        }
        if (Objects.isNull(params.getOrgSite())) {
            return R.error("起始库区不能为空!!");
        }
        if (Objects.isNull(params.getTarSite())) {
            return R.error("目标站点不能为空!!");
        }
        return mobileService.callEmptyCar(params, getUserId());
    }
@@ -361,6 +377,81 @@
    }
    /**
     * 空板出库
     * @param params
     * @return
     */
    @RequestMapping("/empty/call/out")
    public R getEmptyOut(@RequestBody AgvCallParams params) {
        if (Objects.isNull(params)) {
            return R.error("参数不能为空!!");
        }
        return mobileService.getEmptyOutStock(params);
    }
    /**
     *
     * 获取捆包出库明细
     * @param params
     * @return
     */
    @ManagerAuth(memo = "获取捆包明细信息")
    @RequestMapping("/agv/bind/info")
    public R getAllBind(@RequestBody AgvCallParams params) {
        if (Objects.isNull(params)) {
            return R.error("参数不能为空!!");
        }
        return mobileService.getAllBindInfo(params);
    }
    @ManagerAuth(memo = "获取台所有明细")
    @RequestMapping("/agv/tc/all")
    public R getTCAllMatnrs(@RequestBody AgvCallParams params) {
        if (Objects.isNull(params) || Cools.isEmpty(params.getCarBarcode())) {
            return R.error("参数不能为空!!");
        }
        return mobileService.getTcAllInfos(params);
    }
    @ManagerAuth(memo = "确认台车出库")
    @RequestMapping("/confirm/all/out")
    public R confirmAllOut(@RequestBody AgvCallParams params) {
        if (Objects.isNull(params) || Objects.isNull(params.getCarBarcode())) {
            return R.error("参数不能为空!!");
        }
        return mobileService.outStockByTc(params);
    }
    @ManagerAuth(memo = "获取站点解绑信息")
    @RequestMapping("/site/unbind")
    public R getStationInfos(@RequestBody AgvCallParams params) {
        if (Objects.isNull(params) || Objects.isNull(params.getCarBarcode())) {
            return R.error("参数不能为空!!");
        }
        return mobileService.getStationInfos(params);
    }
    @ManagerAuth(memo = "站点物料解绑")
    @RequestMapping("/unbind/site/matnr")
    public R unbindMatnr(@RequestBody CombParam params) {
        if (Objects.isNull(params)) {
            return R.error("参数不能为空!!");
        }
        return mobileService.unbindMatnr(params);
    }
    @ApiOperation("确认捆包出库")
    @ManagerAuth(memo = "确认捆包出库")
    @RequestMapping("/agv/out/confirm")
    public R confirmOutStock(@RequestBody CombParam combParam) {
        if (Objects.isNull(combParam)) {
            return R.error("参数不能为空!!");
        }
        return mobileService.confirmOutstock(combParam);
    }
    /**
     * @author Ryan
     * @date 2025/9/24
     * @description: 呼叫AGV返回
@@ -376,6 +467,8 @@
    }
    @ManagerAuth(memo = "缓冲库确认上架(模拟物理按钮)")
    @RequestMapping("/cache/comb/pub")
    public R cacheCombPub(@RequestBody CompleteParam combParam) {