From 871c73fce94320dc66e38193aebf8299e70e90c1 Mon Sep 17 00:00:00 2001 From: yibo <361071264@qq.com> Date: Sun, 8 Apr 2018 21:46:23 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9C=80=E6=B1=82=E5=8D=95No.139401=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=BF=87=E7=A3=85=E7=9B=B8=E5=85=B3=E5=8D=95?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- B3ClientService.Web/PluginClass.cs | 6 ++++-- B3ClientService/BO/BaseInfo/Farmer.cs | 2 ++ .../BO/Bill/WeightBill/WeightBill_FarmerDetail.cs | 10 ++++++++++ B3ClientService/Tasks/SyncInfoFromServer.cs | 1 + 4 files changed, 17 insertions(+), 2 deletions(-) diff --git a/B3ClientService.Web/PluginClass.cs b/B3ClientService.Web/PluginClass.cs index a7d5c82..20f9ad3 100644 --- a/B3ClientService.Web/PluginClass.cs +++ b/B3ClientService.Web/PluginClass.cs @@ -1,4 +1,5 @@ -using BWP.B3System; +using BWP.B3Frameworks; +using BWP.B3System; using BWP.Web.Utils; using System; using System.Collections.Generic; @@ -9,12 +10,13 @@ using TSingSoft.WebPluginFramework; namespace BWP.B3ClientService { - class PluginClass:IPluginClass + class PluginClass : IPluginClass { public void OnInit() { B3ClientServiceChoiceBoxDataProvider.Register(); SubSystem.RegisterSubSystem(new SubSystem("B3ClientService", "MES系统")); + GlobalFlags.On(B3FrameworksConsts.GlobalFlags.非板块子系统); } } } diff --git a/B3ClientService/BO/BaseInfo/Farmer.cs b/B3ClientService/BO/BaseInfo/Farmer.cs index 89cacdc..a90e936 100644 --- a/B3ClientService/BO/BaseInfo/Farmer.cs +++ b/B3ClientService/BO/BaseInfo/Farmer.cs @@ -14,5 +14,7 @@ namespace BWP.B3ClientService.BO public string Tel { get; set; } public string Address { get; set; } + + public string BankAccount { get; set; } } } diff --git a/B3ClientService/BO/Bill/WeightBill/WeightBill_FarmerDetail.cs b/B3ClientService/BO/Bill/WeightBill/WeightBill_FarmerDetail.cs index b3f251b..5772023 100644 --- a/B3ClientService/BO/Bill/WeightBill/WeightBill_FarmerDetail.cs +++ b/B3ClientService/BO/Bill/WeightBill/WeightBill_FarmerDetail.cs @@ -21,5 +21,15 @@ namespace BWP.B3ClientService.BO public int? Number { get; set; } public decimal? Weight { get; set; } + + public decimal? Money { get; set; } + + public string Farmer_IDCard { get; set; } + + public string Farmer_Tel { get; set; } + + public string Farmer_Address { get; set; } + + public string Farmer_BankAccount { get; set; } } } diff --git a/B3ClientService/Tasks/SyncInfoFromServer.cs b/B3ClientService/Tasks/SyncInfoFromServer.cs index b862950..b64872b 100644 --- a/B3ClientService/Tasks/SyncInfoFromServer.cs +++ b/B3ClientService/Tasks/SyncInfoFromServer.cs @@ -382,6 +382,7 @@ namespace BWP.B3ClientService.Tasks entity.Tel = o.Get("Tel"); entity.Address = o.Get("Address"); entity.IDCard = o.Get("IDCard"); + entity.BankAccount = o.Get("BankAccount"); context.Session.Insert(entity); } context.Commit();