From 61fae74b4c77a51e77588c741a70f0872ba34ceb Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期四, 21 九月 2023 16:10:28 +0800
Subject: [PATCH] 修改

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

diff --git a/src/main/resources/mapper/OutParkMapper.xml b/src/main/resources/mapper/OutParkMapper.xml
index 9921d25..c3a8551 100644
--- a/src/main/resources/mapper/OutParkMapper.xml
+++ b/src/main/resources/mapper/OutParkMapper.xml
@@ -27,7 +27,7 @@
           <where>
                 1=1
                 <if test="carNo != null and carNo != ''">
-                      and car_no = #{carNo}
+                      and car_no like concat('%',#{carNo},'%')
                 </if>
                 <if test="payCode != null and payCode != ''">
                       and pay_code = #{payCode}

--
Gitblit v1.9.1