From 2a83e96652851ca20794278b9be3607bbe4186fa Mon Sep 17 00:00:00 2001
From: zhangback <zhangback@163.com>
Date: 星期五, 05 十二月 2025 11:09:51 +0800
Subject: [PATCH] 提交
---
tms/src/main/resources/mapper/tms/TmsShelfMapper.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tms/src/main/resources/mapper/tms/TmsShelfMapper.xml b/tms/src/main/resources/mapper/tms/TmsShelfMapper.xml
index bb1c932..a5b6b32 100644
--- a/tms/src/main/resources/mapper/tms/TmsShelfMapper.xml
+++ b/tms/src/main/resources/mapper/tms/TmsShelfMapper.xml
@@ -44,7 +44,7 @@
<if test="ownerTeamId != null "> and thisTab.owner_team_id = #{ownerTeamId}</if>
<if test="ownerTeamName != null and ownerTeamName != ''"> and thisTab.owner_team_name like concat('%', #{ownerTeamName}, '%')</if>
<if test="maxLoadKg != null "> and thisTab.max_load_kg = #{maxLoadKg}</if>
- <if test="compatibleContainerType != null "> and thisTab.compatible_container_type = #{compatibleContainerType}</if>
+ <if test="compatibleContainerType != null and compatibleContainerType != ''"> and thisTab.compatible_container_type like concat('%', #{compatibleContainerType}, '%')</if>
<if test="isInUse != null "> and thisTab.is_in_use = #{isInUse}</if>
<if test="maintenanceStatus != null "> and thisTab.maintenance_status = #{maintenanceStatus}</if>
<if test="status != null "> and thisTab.status = #{status}</if>
--
Gitblit v1.8.0