From 371d568cc984422607bbcfd699c1716f5df6a898 Mon Sep 17 00:00:00 2001
From: wujianwei <wjw@11.com>
Date: 星期一, 29 十二月 2025 16:41:20 +0800
Subject: [PATCH] 新增api大屏查询
---
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