From 25d87543cdef089c36e82908599ee79efbf94fb6 Mon Sep 17 00:00:00 2001
From: zhangback <zhangback@163.com>
Date: 星期三, 07 一月 2026 11:31:56 +0800
Subject: [PATCH] 提交

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

diff --git a/tms/src/main/resources/mapper/tms/TmsDriverMapper.xml b/tms/src/main/resources/mapper/tms/TmsDriverMapper.xml
index ebf3ed7..0fe01f9 100644
--- a/tms/src/main/resources/mapper/tms/TmsDriverMapper.xml
+++ b/tms/src/main/resources/mapper/tms/TmsDriverMapper.xml
@@ -41,7 +41,7 @@
         <if test="driverName != null  and driverName != ''"> and  thisTab.driver_name like concat('%', #{driverName}, '%')</if>
         <if test="vehicleProviderName != null  and vehicleProviderName != ''"> and  thisTab.vehicle_provider_name like concat('%', #{vehicleProviderName}, '%')</if>
         <if test="mobile != null  and mobile != ''"> and thisTab.mobile = #{mobile}</if>
-        <if test="licenseNumber != null  and licenseNumber != ''"> and thisTab.license_number = #{licenseNumber}</if>
+        <if test="licenseNumber != null  and licenseNumber != ''"> and thisTab.license_number like concat('%', #{licenseNumber}, '%')</if>
         <if test="licenseAttachment != null  and licenseAttachment != ''"> and thisTab.license_attachment = #{licenseAttachment}</if>
         <if test="currentVehicleCode != null  and currentVehicleCode != ''"> and thisTab.current_vehicle_code = #{currentVehicleCode}</if>
         <if test="status != null "> and thisTab.status = #{status}</if>

--
Gitblit v1.8.0