From a4f40a9b96607d95f2cce85e5ef275d51cd2fd9a Mon Sep 17 00:00:00 2001 From: 15036302109 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 and material_type = #{materialType} and class_first = #{classFirst} and class_second = #{classSecond} - and material_name like concat('%', #{materialName}, '%') + + and material_name = #{materialName} and material_specs = #{materialSpecs} and material_quantity = #{materialQuantity} and reserve_location like concat('%', #{reserveLocation}, '%')