skyouc
2025-07-18 a15ad9309f383153d4f5a95a044fb19e882fff55
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