From 19fe6936cbe4deef1f18186350a71acff4dff58e Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期二, 14 一月 2025 17:06:18 +0800 Subject: [PATCH] # 24. PDA出库成功后,界面数据重置,避免重复操作 (已修复) 25. PDA接口请求,添加一个Loading遮档 (已修复) 27. 非平库单据,在平库可做入库操作 (已修复) 29. 平库入库后,订单明细没有添加(已修复) 30. 平库入库后,单据类型没有修改(已修复) 31. 没有绑定播种位,不能进行播种,前后端都需加判定(已修复) 33. 平库入库未修改入库已完成数量(已修复) --- zy-asrs-wms/src/main/java/com/zy/asrs/wms/common/config/MybatisPlusConfig.java | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/common/config/MybatisPlusConfig.java b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/common/config/MybatisPlusConfig.java index de43cb9..cc9c658 100644 --- a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/common/config/MybatisPlusConfig.java +++ b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/common/config/MybatisPlusConfig.java @@ -24,7 +24,7 @@ * @author vincent * @since 2018-02-22 11:29:28 */ -//@Configuration +@Configuration public class MybatisPlusConfig { @@ -39,10 +39,10 @@ return getLoginUserTenantId(); } -// @Override -// public String getTenantIdColumn() { -// return "host_id"; -// } + @Override + public String getTenantIdColumn() { + return "host_id"; + } @Override public boolean ignoreTable(String tableName) { @@ -87,11 +87,14 @@ if (object instanceof UserLogin) { return new LongValue(((UserLogin) object).getHostId()); } + } else { + return new LongValue(1); } } catch (Exception e) { System.out.println(e.getMessage()); } - return new NullValue(); +// return new NullValue(); + return new LongValue(1); } @Bean -- Gitblit v1.9.1