From 147466c117b56fad2626217bb259133d8d284360 Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: Fri, 20 Mar 2026 10:23:44 +0800
Subject: [PATCH] 修改仓库库存显示

---
 hazmat-system/src/main/resources/mapper/system/HzSecientificMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hazmat-system/src/main/resources/mapper/system/HzSecientificMapper.xml b/hazmat-system/src/main/resources/mapper/system/HzSecientificMapper.xml
index 893e518..78738e2 100644
--- a/hazmat-system/src/main/resources/mapper/system/HzSecientificMapper.xml
+++ b/hazmat-system/src/main/resources/mapper/system/HzSecientificMapper.xml
@@ -22,7 +22,7 @@
                 LEFT JOIN hz_peculiarity hp ON hs.peculiarity_number = hp.peculiarity_number
         <where>
             <if test="secientificName!=null and secientificName!=''">
-                and secientific_name =#{secientificName}
+                and hs.secientific_name like  concat('%',#{secientificName},'%')
             </if>
             and hs.del_flag = 0
         </where>

--
Gitblit v1.9.2