自动化立体仓库 - WMS系统
#
luxiaotao1123
2022-12-15 4c8ece9325b6976e4d07e0985edc12522d8ec48a
src/main/java/com/zy/asrs/task/handler/WorkLogHandler.java
@@ -83,7 +83,8 @@
                                log.error("{}条码不在erp数据库中!", wrkDetl.getBatch());
                            }
                            // OrderDetl 表
                            OrderDetl orderDetl = orderDetlService.selectContainBatch(wrkDetl.getBatch());
                            OrderDetl orderDetl = orderDetlService.selectItemOfBatch(wrkDetl.getMatnr(), wrkDetl.getBatch());
//                            OrderDetl orderDetl = orderDetlService.selectContainBatch(wrkDetl.getBatch());
                            if (!Cools.isEmpty(orderDetl)) {
                                Order order = orderService.selectById(orderDetl.getOrderId());
                                DocType docType = docTypeService.selectById(order.getDocType());