From 87ad37bf4d6b3b497675db2a6162481075564645 Mon Sep 17 00:00:00 2001
From: zhangback <zhangback@163.com>
Date: 星期三, 03 十二月 2025 13:48:24 +0800
Subject: [PATCH] 提交
---
tms/src/main/resources/mapper/tms/TmsQuoteDetailMapper.xml | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tms/src/main/resources/mapper/tms/TmsQuoteDetailMapper.xml b/tms/src/main/resources/mapper/tms/TmsQuoteDetailMapper.xml
index fdf7c05..c7a158a 100644
--- a/tms/src/main/resources/mapper/tms/TmsQuoteDetailMapper.xml
+++ b/tms/src/main/resources/mapper/tms/TmsQuoteDetailMapper.xml
@@ -53,14 +53,14 @@
<if test="endRegionCode != null and endRegionCode != ''"> and thisTab.end_region_code = #{endRegionCode}</if>
<if test="endRegion != null and endRegion != ''"> and thisTab.end_region = #{endRegion}</if>
<if test="endWarehouse != null "> and thisTab.end_warehouse = #{endWarehouse}</if>
- <if test="vehicleType != null "> and thisTab.vehicle_type = #{vehicleType}</if>
+ <if test="vehicleType != null and vehicleType != ''"> and thisTab.vehicle_type = #{vehicleType}</if>
<if test="transportMode != null "> and thisTab.transport_mode = #{transportMode}</if>
<if test="routeType != null "> and thisTab.route_type = #{routeType}</if>
<if test="freightPrice != null "> and thisTab.freight_price = #{freightPrice}</if>
- <if test="status != null "> and thisTab.status = #{status}</if>
+ <if test="status != null and status != ''"> and thisTab.status = #{status}</if>
<if test="planType != null "> and thisTab.plan_type = #{planType}</if>
<if test="customerId != null "> and thisTab.customer_id = #{customerId}</if>
- <if test="currency != null "> and thisTab.currency = #{currency}</if>
+ <if test="currency != null and currency != ''"> and thisTab.currency = #{currency}</if>
</sql>
<!--鏌ヨ-->
--
Gitblit v1.8.0