From 83dc6953c3a99c73071a47638487ab600498089e Mon Sep 17 00:00:00 2001
From: fengyuan_yang <1976974459@qq.com>
Date: Wed, 7 Aug 2024 14:24:40 +0800
Subject: [PATCH] =?UTF-8?q?2024-08-07=20=E4=BA=A7=E5=93=81=E6=95=B0?=
=?UTF-8?q?=E6=8D=AE=E7=AE=A1=E7=90=862?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/main/resources/mapper/part/PartInformationMapper.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/mapper/part/PartInformationMapper.xml b/src/main/resources/mapper/part/PartInformationMapper.xml
index e0eaf416..69cb2a4f 100644
--- a/src/main/resources/mapper/part/PartInformationMapper.xml
+++ b/src/main/resources/mapper/part/PartInformationMapper.xml
@@ -53,10 +53,10 @@
site in (select site from eam_access_site where username = #{query.userName})
and (site + '-' + sourceBu) in (select * from dbo.query_bu(#{query.userName}))
- AND part_no like #{query.partNo}
+ AND part_no like '%' + #{query.partNo} + '%'
- AND part_desc like #{query.partDesc}
+ AND part_desc like '%' + #{query.partDesc} + '%'