From 65ca50935315a89e219b7c974caf95dc28895ffc Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: Thu, 16 Oct 2025 08:37:56 +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