From a4f40a9b96607d95f2cce85e5ef275d51cd2fd9a Mon Sep 17 00:00:00 2001
From: 15036302109 <zhp5211314>
Date: Wed, 10 Jul 2024 17:13:48 +0800
Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E8=B5=84=E7=BB=BC=E5=90=88=E6=9F=A5?=
 =?UTF-8?q?=E8=AF=A2bug=E5=A4=84=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../src/main/resources/mapper/ehs/EhsMaterialMapper.xml        | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ruoyi-system/src/main/resources/mapper/ehs/EhsMaterialMapper.xml b/ruoyi-system/src/main/resources/mapper/ehs/EhsMaterialMapper.xml
index 8014b52..9526825 100644
--- a/ruoyi-system/src/main/resources/mapper/ehs/EhsMaterialMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/ehs/EhsMaterialMapper.xml
@@ -76,7 +76,8 @@ FROM
             <if test="materialType != null "> and material_type = #{materialType}</if>
             <if test="classFirst != null "> and class_first = #{classFirst}</if>
             <if test="classSecond != null  and classSecond != ''"> and class_second = #{classSecond}</if>
-            <if test="materialName != null  and materialName != ''"> and material_name like concat('%', #{materialName}, '%')</if>
+            <!--<if test="materialName != null  and materialName != ''"> and material_name like concat('%', #{materialName}, '%')</if>-->
+            <if test="materialName != null  and materialName != ''"> and material_name = #{materialName}</if>
             <if test="materialSpecs != null  and materialSpecs != ''"> and material_specs = #{materialSpecs}</if>
             <if test="materialQuantity != null  and materialQuantity != ''"> and material_quantity = #{materialQuantity}</if>
             <if test="reserveLocation != null  and reserveLocation != ''"> and reserve_location like concat('%', #{reserveLocation}, '%')</if>