From ea127a1c094fb67521c73f46f5c022959a4de8ce Mon Sep 17 00:00:00 2001 From: kongdeqiang <123456> Date: 星期三, 20 九月 2023 17:18:24 +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