自动化立体仓库 - WMS系统
#
pang.jiabao
5 天以前 52b21b24130c75197c039ae0fd761e2ef5b43cb3
src/main/java/com/zy/asrs/controller/MobileController.java
@@ -123,6 +123,15 @@
        return mobileService.pickMats(matnr, orderNo);
    }
    @PostMapping("/scan/order/mats")
    @ManagerAuth(memo = "扫码获取组托物料")
    public R scanMats(@RequestBody PakinMatsByQRParams params) {
        if (Objects.isNull(params)) {
            return R.parse("参数不能为空!!");
        }
        return mobileService.getMatsByQRcode(params);
    }
    // 商品上架
    @RequestMapping("/mat/onSale/auth")
    @ManagerAuth
@@ -157,6 +166,16 @@
        return mobileService.callAgvMove(params, getUserId());
    }
    @PostMapping("/cache/out/call")
    @ApiOperation("呼叫AGV搬运")
    @ManagerAuth
    public R OutCallAgv(@RequestBody AgvCallParams params) {
        if (Objects.isNull(params)) {
            return R.error("参数不能为空!!");
        }
        return mobileService.OutCallAgv(params, getUserId());
    }
    // 组托 ----------------------------------------------------------------------------------------------------
@@ -506,4 +525,14 @@
        return R.ok("出库成功");
    }
    // pda呼叫空料框出库
    @PostMapping("/callEmptyBinOutBound")
    @ManagerAuth(memo = "pda呼叫空料框出库")
    public synchronized R callEmptyBinOutBound(@RequestBody JSONObject param) {
        if(!param.containsKey("staNo") || !param.containsKey("locType")){ // 1.窄,2.宽
            return R.parse(BaseRes.PARAM);
        }
        return mobileService.callEmptyBinOutBound(param.getString("staNo"),param.getString("locType"),getUserId());
    }
}