From b59a48168005fc6626a6862b88d6ba41d7a1ae20 Mon Sep 17 00:00:00 2001 From: zhangxiaofeng <1939543722@qq.com> Date: Thu, 11 Apr 2024 08:51:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=BA=E7=AB=99=E8=81=94=E7=B3=BB=E4=BA=BA?= =?UTF-8?q?=E5=BC=95=E5=85=A5=E5=AD=97=E6=AE=B5=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/BookingOrder/BookingOrderService.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs index 5d51617d..48031d07 100644 --- a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs +++ b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs @@ -9254,13 +9254,13 @@ namespace Myshipping.Application } // 赋值联系人信息 - item.contact_tel = contact?.contact_tel1; + item.contact_tel = contact?.contact_tel1?.Trim(); if (!string.IsNullOrWhiteSpace(contact?.contact_tel2)) { - item.contact_tel += (" " + contact.contact_tel2); + item.contact_tel += " " + contact.contact_tel2.Trim(); } - item.contact_name = contact?.contact_name; - item.contact_email = contact?.contact_email; + item.contact_name = contact?.contact_name?.Trim(); + item.contact_email = contact?.contact_email?.Trim(); } return listRtn;