From 0afd6c073589d5221774dab5cf4a9d21415ec0e8 Mon Sep 17 00:00:00 2001
From: value <z1292839451@163.com>
Date: 星期四, 31 八月 2023 18:00:44 +0800
Subject: [PATCH] 修改bug

---
 inspection-server/src/main/resources/mapper/RawMaterialMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/inspection-server/src/main/resources/mapper/RawMaterialMapper.xml b/inspection-server/src/main/resources/mapper/RawMaterialMapper.xml
index 88e512e..7ca8063 100644
--- a/inspection-server/src/main/resources/mapper/RawMaterialMapper.xml
+++ b/inspection-server/src/main/resources/mapper/RawMaterialMapper.xml
@@ -11,7 +11,7 @@
         <if test="materialName != null and materialName != ''">
             AND r.`material_name` LIKE CONCAT('%',#{materialName},'%')
         </if>
-        <if test="type != null and type != ''">
+        <if test="type != null">
             AND r.`type` = #{type}
         </if>
         <if test="createTime != null and createTime != ''">

--
Gitblit v1.9.3