From 98b1835a279fd8c9ed2a21fae3501f24c470c39b Mon Sep 17 00:00:00 2001 From: zyx <zyx123456> Date: 星期四, 09 十一月 2023 09:37:36 +0800 Subject: [PATCH] 修复权限无法修改bug 组托时检测料箱码是否存在库存中 --- src/main/java/com/zy/asrs/controller/WrkMastLogController.java | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/controller/WrkMastLogController.java b/src/main/java/com/zy/asrs/controller/WrkMastLogController.java index d635718..7e0bec4 100644 --- a/src/main/java/com/zy/asrs/controller/WrkMastLogController.java +++ b/src/main/java/com/zy/asrs/controller/WrkMastLogController.java @@ -64,7 +64,11 @@ wrapper.ge(entry.getKey(), DateUtils.convert(dates[0])); wrapper.le(entry.getKey(), DateUtils.convert(dates[1])); } else { - wrapper.like(entry.getKey(), val); + if (entry.getKey().equals("manu_type")) { + wrapper.like(entry.getKey(), val); + } else { + wrapper.eq(entry.getKey(), val); + } } } } -- Gitblit v1.9.1