yangyang
2025-07-15 7125d7c2be53db25b8a11d42abc8730b36ef61bc
zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/controller/MobileController.java
@@ -285,6 +285,32 @@
    }
    @ApiOperation("获取库位详细")
    @GetMapping("/flat/transfer/{barcode}")
    public R getDetlsBycode(@PathVariable String barcode) {
        if (Objects.isNull(barcode)) {
            return R.error("参数不能为空!!");
        }
        return R.ok().add(mobileService.getDetlsByCode(barcode));
    }
    @ApiOperation("平板转移")
    @PostMapping("/locs/transfer")
    public R changeFlatBarcode(@RequestBody Map<String, String> param) {
        if (Objects.isNull(param)) {
            return R.error("参数不能为空!!");
        }
        if (Objects.isNull(param.get("barcode"))) {
            return R.error("源库位不能为空!!");
        }
        if (Objects.isNull(param.get("tarCode"))) {
            return R.error("目标库位不能为空!!");
        }
        return mobileService.transferLocs(param);
    }
    /**
     * 获取发货订单明细
     * @return
@@ -331,6 +357,7 @@
        if (params.isEmpty()) {
            throw new CoolException("发货单明细不能为空!!");
        }
        return mobileService.confirmShippingDetl(params);
    }
}