From 2664a930000b94a608042bd9d5fa39b697edd072 Mon Sep 17 00:00:00 2001 From: zhang <zc857179121@qq.com> Date: 星期日, 18 五月 2025 19:17:23 +0800 Subject: [PATCH] 接口编写 --- src/main/java/com/zy/asrs/task/OrderSyncScheduler.java | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/asrs/task/OrderSyncScheduler.java b/src/main/java/com/zy/asrs/task/OrderSyncScheduler.java index 68e4775..89e0871 100644 --- a/src/main/java/com/zy/asrs/task/OrderSyncScheduler.java +++ b/src/main/java/com/zy/asrs/task/OrderSyncScheduler.java @@ -82,8 +82,7 @@ Boolean flag = false; for (OrderDetl orderDetl : orderDetlList) { List<AgvLocDetl> agvLocDetls = agvLocDetlService.selectList(new EntityWrapper<AgvLocDetl>().eq("matnr", orderDetl.getMatnr()).eq("three_code", orderDetl.getThreeCode())); - boolean agvWrkDetlExist = agvWrkDetlService.selectCount(new EntityWrapper<AgvWrkDetl>().like("order_no", order.getOrderNo())) < 1; - if (!Cools.isEmpty(agvLocDetls) && agvWrkDetlExist) { + if (!Cools.isEmpty(agvLocDetls) ) { //鍙鏈変竴椤硅鍗曟槑缁嗗瓨鍦紝鍒欐爣璇嗕负true锛岃烦杩囪璁㈠崟 flag = true; } -- Gitblit v1.9.1