From 06e621b20868b97ca7a7f9c63df2f160a827bf6a Mon Sep 17 00:00:00 2001
From: zhangback <zhangback@163.com>
Date: 星期四, 20 十一月 2025 20:36:10 +0800
Subject: [PATCH] 提交
---
tms/src/main/resources/mapper/tms/TmsDispatchOrderMapper.xml | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tms/src/main/resources/mapper/tms/TmsDispatchOrderMapper.xml b/tms/src/main/resources/mapper/tms/TmsDispatchOrderMapper.xml
index 3f972aa..7595d06 100644
--- a/tms/src/main/resources/mapper/tms/TmsDispatchOrderMapper.xml
+++ b/tms/src/main/resources/mapper/tms/TmsDispatchOrderMapper.xml
@@ -204,7 +204,7 @@
<if test="receiverId != null">receiver_id,</if>
<if test="destinationAddress != null">destination_address,</if>
<if test="receiverName != null">receiver_name,</if>
- <if test="actualVehicleType != null">actual_vehicle_type,</if>
+ <if test="actualVehicleType != null and actualVehicleType != ''">actual_vehicle_type,</if>
<if test="receiverMobile != null">receiver_mobile,</if>
<if test="actualLoadStart != null">actual_load_start,</if>
<if test="shipperRegionLabel != null">shipper_region_label,</if>
@@ -281,7 +281,7 @@
<if test="receiverId != null">#{receiverId},</if>
<if test="destinationAddress != null">#{destinationAddress},</if>
<if test="receiverName != null">#{receiverName},</if>
- <if test="actualVehicleType != null">#{actualVehicleType},</if>
+ <if test="actualVehicleType != null and actualVehicleType != ''">#{actualVehicleType},</if>
<if test="receiverMobile != null">#{receiverMobile},</if>
<if test="actualLoadStart != null">#{actualLoadStart},</if>
<if test="shipperRegionLabel != null">#{shipperRegionLabel},</if>
@@ -375,7 +375,7 @@
<if test="receiverId != null">receiver_id = #{receiverId},</if>
<if test="destinationAddress != null">destination_address = #{destinationAddress},</if>
<if test="receiverName != null">receiver_name = #{receiverName},</if>
- <if test="actualVehicleType != null">actual_vehicle_type = #{actualVehicleType},</if>
+ <if test="actualVehicleType != null and actualVehicleType != ''">actual_vehicle_type = #{actualVehicleType},</if>
<if test="receiverMobile != null">receiver_mobile = #{receiverMobile},</if>
<if test="actualLoadStart != null">actual_load_start = #{actualLoadStart},</if>
<if test="shipperRegionLabel != null">shipper_region_label = #{shipperRegionLabel},</if>
@@ -458,7 +458,7 @@
<if test="item.receiverId != null">receiver_id = #{item.receiverId},</if>
<if test="item.destinationAddress != null">destination_address = #{item.destinationAddress},</if>
<if test="item.receiverName != null">receiver_name = #{item.receiverName},</if>
- <if test="item.actualVehicleType != null">actual_vehicle_type = #{item.actualVehicleType},</if>
+ <if test="item.actualVehicleType != null and actualVehicleType != ''">actual_vehicle_type = #{item.actualVehicleType},</if>
<if test="item.receiverMobile != null">receiver_mobile = #{item.receiverMobile},</if>
<if test="item.actualLoadStart != null">actual_load_start = #{item.actualLoadStart},</if>
<if test="item.shipperRegionLabel != null">shipper_region_label = #{item.shipperRegionLabel},</if>
--
Gitblit v1.8.0