From 6d79bc83cc96fa404cb06ff1cbeb286d07e6ecc4 Mon Sep 17 00:00:00 2001 From: zhangxiaofeng Date: Thu, 28 Sep 2023 14:50:39 +0800 Subject: [PATCH] =?UTF-8?q?ISF=E5=A2=9E=E5=8A=A0=E8=B4=AD=E4=B9=B0Bond?= =?UTF-8?q?=E9=9C=80=E6=B1=82=E5=BC=80=E5=8F=91=EF=BC=9A=E3=80=90AddOrUpda?= =?UTF-8?q?te=E6=8E=A5=E5=8F=A3=E3=80=91=EF=BC=88ISF=E7=94=B3=E6=8A=A5?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=B8=8E=E4=BF=AE=E6=94=B9=EF=BC=89=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E3=80=90BondOwnCode=E5=AD=97=E6=AE=B5=E3=80=91?= =?UTF-8?q?=EF=BC=88=E6=98=AF=E5=90=A6=E8=87=AA=E6=9C=89Bond=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/djy.Model/Isf/ISF_Master.cs | 7 +++++++ web/djy.Model/IsfDto/ISFDto.cs | 8 ++++++++ web/djy.Service/ISF/IsfService.cs | 1 + 3 files changed, 16 insertions(+) diff --git a/web/djy.Model/Isf/ISF_Master.cs b/web/djy.Model/Isf/ISF_Master.cs index c500143..d2927b9 100644 --- a/web/djy.Model/Isf/ISF_Master.cs +++ b/web/djy.Model/Isf/ISF_Master.cs @@ -103,5 +103,12 @@ namespace djy.Model.Isf /// 最新通知 /// public string NewNotice { get; set; } + /// + /// bond是否自有; =2(ISF10)时,需提供; + ///
值是:1或者2或者3;
+ ///
1表示“自有BOND”,2表示“使用CargoEDI的BOND”,3表示“使用大简云的Bond”
+ ///
+ [MaxLength(20)] + public string BondOwnCode { get; set; } } } diff --git a/web/djy.Model/IsfDto/ISFDto.cs b/web/djy.Model/IsfDto/ISFDto.cs index cfde64d..41062cd 100644 --- a/web/djy.Model/IsfDto/ISFDto.cs +++ b/web/djy.Model/IsfDto/ISFDto.cs @@ -98,6 +98,14 @@ namespace djy.Model.IsfDto /// 最新通知 /// public string NewNotice { get; set; } + + /// + /// bond是否自有; =2(ISF10)时,需提供; + ///
值是:1或者2或者3;
+ ///
1表示“自有BOND”,2表示“使用CargoEDI的BOND”,3表示“使用大简云的Bond”
+ ///
+ public string BondOwnCode { get; set; } + public List companyList { get; set; } public List HistoryDto { get; set; } diff --git a/web/djy.Service/ISF/IsfService.cs b/web/djy.Service/ISF/IsfService.cs index e296760..652c908 100644 --- a/web/djy.Service/ISF/IsfService.cs +++ b/web/djy.Service/ISF/IsfService.cs @@ -163,6 +163,7 @@ namespace djy.Service.Isf master.BlTypeName = dto.BlTypeName; master.NewNotice = "修改"; master.LastUpdate = DateTime.Now; + master.BondOwnCode = dto.BondOwnCode; DbBus.Get(DbList.AMSCenter).Update().SetSource(master).ExecuteAffrows(); DbBus.Get(DbList.AMSCenter).Delete().Where(w => w.PID == master.GID).ExecuteAffrows(); //ISF_MasterHistory history = new ISF_MasterHistory();