From 2d836c8b6a270b7007e1a2e1e9962cb9dcd8b6f6 Mon Sep 17 00:00:00 2001 From: zyx <zyx123456> Date: 星期一, 01 四月 2024 14:47:36 +0800 Subject: [PATCH] 入库接驳位空板自动出库 全班出库后自动空板入库 --- src/main/java/com/zy/common/model/TaskDto.java | 32 ++++++++++++++++++++++---------- 1 files changed, 22 insertions(+), 10 deletions(-) diff --git a/src/main/java/com/zy/common/model/TaskDto.java b/src/main/java/com/zy/common/model/TaskDto.java index 515ccd5..494c703 100644 --- a/src/main/java/com/zy/common/model/TaskDto.java +++ b/src/main/java/com/zy/common/model/TaskDto.java @@ -110,22 +110,34 @@ if (!dto.getMatnr().equals(locDetl.getMatnr())) { continue; } - if (Cools.isEmpty(dto.getBatch()) && !Cools.isEmpty(locDetl.getBatch())) { + if(!Cools.eq(dto.getBatch(),locDetl.getBatch())){ continue; } - if (!Cools.isEmpty(dto.getBatch()) && Cools.isEmpty(locDetl.getBatch())) { + if(!Cools.eq(dto.getCsocode(),locDetl.getThreeCode())){ continue; } - if (!Cools.isEmpty(dto.getBatch()) && !Cools.isEmpty(locDetl.getBatch())) { - if (!dto.getBatch().equals(locDetl.getBatch())) { - continue; - } + if(!Cools.eq(dto.getIsoseq(),locDetl.getDeadTime())){ + continue; } - if (!Cools.isEmpty(dto.getContainerCode()) && !Cools.isEmpty(locDetl.getSuppCode())) { - if (!dto.getContainerCode().equals(locDetl.getSuppCode())) { - continue; - } + if(!Cools.eq(dto.getContainerCode(),locDetl.getSuppCode())){ + continue; } +// if (Cools.isEmpty(dto.getBatch()) && !Cools.isEmpty(locDetl.getBatch())) { +// continue; +// } +// if (!Cools.isEmpty(dto.getBatch()) && Cools.isEmpty(locDetl.getBatch())) { +// continue; +// } +// if (!Cools.isEmpty(dto.getBatch()) && !Cools.isEmpty(locDetl.getBatch())) { +// if (!dto.getBatch().equals(locDetl.getBatch())) { +// continue; +// } +// } +// if (!Cools.isEmpty(dto.getContainerCode()) && !Cools.isEmpty(locDetl.getSuppCode())) { +// if (!dto.getContainerCode().equals(locDetl.getSuppCode())) { +// continue; +// } +// } if (dto.getAnfme() > locDetl.getAnfme()) { throw new CoolException("鏈嶅姟鍣ㄥ唴閮ㄩ敊璇�"); } -- Gitblit v1.9.1