From 36696cc01bfd0ade286a599a49e21b86cccc263e Mon Sep 17 00:00:00 2001
From: zhangback <zhangback@163.com>
Date: 星期一, 30 三月 2026 15:21:33 +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