From 1d8fd3a2f421b0f25d9c7440870c6bda0dc119de Mon Sep 17 00:00:00 2001 From: "han\\hanst" Date: Thu, 4 Dec 2025 09:47:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/base/BaseMapper.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/mapper/base/BaseMapper.xml b/src/main/resources/mapper/base/BaseMapper.xml index a2ca110..b7ad6b6 100644 --- a/src/main/resources/mapper/base/BaseMapper.xml +++ b/src/main/resources/mapper/base/BaseMapper.xml @@ -209,13 +209,13 @@ AND rfl.ReportID = rfp.ReportID - and rfp.UserID LIKE #{userId} + and rfp.UserID LIKE CONCAT('%', #{userId}, '%') - and rfp.ReportID LIKE #{labelNo} + and rfp.ReportID LIKE CONCAT('%', #{labelNo}, '%') - and rfl.Reportfile LIKE #{labelName} + and rfp.IPAddress LIKE CONCAT('%', #{labelName}, '%') and rfp.NewPrinterName LIKE #{printerName}