From a665ac38349379ee62b98f2e7f210eeb49daad30 Mon Sep 17 00:00:00 2001 From: jianghaiqing Date: Mon, 10 Apr 2023 16:29:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BA=A6=E5=8F=B7=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E6=96=B9=E6=B3=95=EF=BC=8C=E5=A2=9E=E5=8A=A0=E5=8E=BB?= =?UTF-8?q?=E6=8E=89=E7=A9=BA=E6=A0=BC=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Myshipping.Application/Service/Para/ParaService.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Myshipping.Application/Service/Para/ParaService.cs b/Myshipping.Application/Service/Para/ParaService.cs index a27148b0..25d9e810 100644 --- a/Myshipping.Application/Service/Para/ParaService.cs +++ b/Myshipping.Application/Service/Para/ParaService.cs @@ -606,9 +606,9 @@ namespace Myshipping.Application throw Oops.Oh($"约号获取失败,请确认{model.Id}对应记录是否存在"); - info.CONTRACT_NO = model.ContractNo; - info.CONTRACT_NAME = model.ContractName; - info.CONTRACT_NAME = model.ContractName; + info.CONTRACT_NO = model.ContractNo?.Trim(); + info.CONTRACT_NAME = model.ContractName?.Trim(); + info.CONTRACT_NOTE = model.ContractNote?.Trim(); await _paraContractNoInfoRepository.AsUpdateable(info).IgnoreColumns(it => new {