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}