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();