| | |
| | | * 2. 库位置为在库状态
|
| | | * @return
|
| | | */
|
| | | @PostMapping("matnr/in/barcode")
|
| | | @PostMapping("/matnr/in/barcode")
|
| | | public R pakinToStock(@RequestBody PakinOnShelvesParams shelvesParams) {
|
| | | if (StringUtil.isNullOrEmpty(shelvesParams.getBarcode())) {
|
| | | return R.error("拖盘码不能为空!!");
|
| | |
| | | * 获取拖码盘绑定商品
|
| | | * @return
|
| | | */
|
| | | @GetMapping("barcode/matnr/{code}")
|
| | | @GetMapping("/barcode/matnr/{code}")
|
| | | public R getAllGoods(@PathVariable String code) {
|
| | | if (!StringUtil.isNullOrEmpty(code)) {
|
| | | if (StringUtil.isNullOrEmpty(code)) {
|
| | | return R.error("托盘码不能为空!!");
|
| | | }
|
| | | List<WaitPakin> waitPakins = waitPakinService.list(new LambdaQueryWrapper<WaitPakin>().eq(WaitPakin::getBarcode, code).eq(WaitPakin::getIoStatus, 0));
|