自动化立体仓库 - WMS系统
lsh
2023-08-20 fa8ac2c8675f3b461d518a19b9f9da184363930c
src/main/java/com/zy/ints/task/scheduler/ErpDetTbScheduler.java
@@ -130,7 +130,8 @@
                            }
                            Order order1 = orderService.selectByNo(erpDetTb.getBillNo());
                            if (!Cools.isEmpty(order1)) {
                                OrderDetl orderDetl = orderDetlService.selectItem(order1.getId(), erpDetTb.getBillNo(), erpDetTb.getPrdMark());
//                                OrderDetl orderDetl = orderDetlService.selectItem(order1.getId(), erpDetTb.getBillNo(), erpDetTb.getPrdMark());
                                OrderDetl orderDetl = orderDetlService.selectOne(new EntityWrapper<OrderDetl>().eq("order_no",erpDetTb.getBillNo()).eq("matnr",erpDetTb.getPrdNo()));
                                if (Cools.isEmpty(orderDetl)) {
                                    orderDetl = new OrderDetl();
                                    orderDetl.setOrderId(order1.getId());