From 551ccbfdb61d0417dd380051cc78ec5d8373fa61 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@63.com> Date: 星期二, 13 十二月 2022 16:48:34 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/task/handler/WorkLogHandler.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/zy/asrs/task/handler/WorkLogHandler.java b/src/main/java/com/zy/asrs/task/handler/WorkLogHandler.java index 6b98436..3ad331c 100644 --- a/src/main/java/com/zy/asrs/task/handler/WorkLogHandler.java +++ b/src/main/java/com/zy/asrs/task/handler/WorkLogHandler.java @@ -74,16 +74,16 @@ if (!Cools.isEmpty(wrkDetls)) { for (WrkDetl wrkDetl : wrkDetls) { // Goods 琛� - Goods goods = erpService.selectGoodsOne(wrkDetl.getMatnr()); + Goods goods = erpService.selectGoodsOne(wrkDetl.getBatch()); if (!Cools.isEmpty(goods)) { if (!erpService.updateStateAndLocForGoods(goods.getBarCode(), 3, wrkMast.getLocNo())) { log.error("{}鏉$爜鍦╡rp鏁版嵁搴撲腑鏇存柊澶辫触锛�", goods.getBarCode()); } } else { - log.error("{}鏉$爜涓嶅湪erp鏁版嵁搴撲腑锛�", wrkDetl.getMatnr()); + log.error("{}鏉$爜涓嶅湪erp鏁版嵁搴撲腑锛�", wrkDetl.getBatch()); } // OrderDetl 琛� - OrderDetl orderDetl = orderDetlService.selectByMatnr(wrkDetl.getMatnr()); + OrderDetl orderDetl = orderDetlService.selectContainBatch(wrkDetl.getMatnr()); if (!Cools.isEmpty(orderDetl)) { Order order = orderService.selectById(orderDetl.getOrderId()); DocType docType = docTypeService.selectById(order.getDocType()); -- Gitblit v1.9.1