Browse Source

需求单No.139401 修改过磅相关单据

master
yibo 7 years ago
parent
commit
871c73fce9
4 changed files with 17 additions and 2 deletions
  1. +4
    -2
      B3ClientService.Web/PluginClass.cs
  2. +2
    -0
      B3ClientService/BO/BaseInfo/Farmer.cs
  3. +10
    -0
      B3ClientService/BO/Bill/WeightBill/WeightBill_FarmerDetail.cs
  4. +1
    -0
      B3ClientService/Tasks/SyncInfoFromServer.cs

+ 4
- 2
B3ClientService.Web/PluginClass.cs View File

@ -1,4 +1,5 @@
using BWP.B3System;
using BWP.B3Frameworks;
using BWP.B3System;
using BWP.Web.Utils; using BWP.Web.Utils;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
@ -9,12 +10,13 @@ using TSingSoft.WebPluginFramework;
namespace BWP.B3ClientService namespace BWP.B3ClientService
{ {
class PluginClass:IPluginClass
class PluginClass : IPluginClass
{ {
public void OnInit() public void OnInit()
{ {
B3ClientServiceChoiceBoxDataProvider.Register(); B3ClientServiceChoiceBoxDataProvider.Register();
SubSystem.RegisterSubSystem(new SubSystem("B3ClientService", "MES系统")); SubSystem.RegisterSubSystem(new SubSystem("B3ClientService", "MES系统"));
GlobalFlags.On(B3FrameworksConsts.GlobalFlags.);
} }
} }
} }

+ 2
- 0
B3ClientService/BO/BaseInfo/Farmer.cs View File

@ -14,5 +14,7 @@ namespace BWP.B3ClientService.BO
public string Tel { get; set; } public string Tel { get; set; }
public string Address { get; set; } public string Address { get; set; }
public string BankAccount { get; set; }
} }
} }

+ 10
- 0
B3ClientService/BO/Bill/WeightBill/WeightBill_FarmerDetail.cs View File

@ -21,5 +21,15 @@ namespace BWP.B3ClientService.BO
public int? Number { get; set; } public int? Number { get; set; }
public decimal? Weight { 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; }
} }
} }

+ 1
- 0
B3ClientService/Tasks/SyncInfoFromServer.cs View File

@ -382,6 +382,7 @@ namespace BWP.B3ClientService.Tasks
entity.Tel = o.Get<string>("Tel"); entity.Tel = o.Get<string>("Tel");
entity.Address = o.Get<string>("Address"); entity.Address = o.Get<string>("Address");
entity.IDCard = o.Get<string>("IDCard"); entity.IDCard = o.Get<string>("IDCard");
entity.BankAccount = o.Get<string>("BankAccount");
context.Session.Insert(entity); context.Session.Insert(entity);
} }
context.Commit(); context.Commit();


Loading…
Cancel
Save