diff --git a/B3ClientService/B3ClientService.csproj b/B3ClientService/B3ClientService.csproj
index a13003a..d0c916d 100644
--- a/B3ClientService/B3ClientService.csproj
+++ b/B3ClientService/B3ClientService.csproj
@@ -102,6 +102,7 @@
+
@@ -118,6 +119,7 @@
+
diff --git a/B3ClientService/BO/ByProductWeightRecord_/ByProductWeightRecord.cs b/B3ClientService/BO/ByProductWeightRecord_/ByProductWeightRecord.cs
new file mode 100644
index 0000000..e3a2d5d
--- /dev/null
+++ b/B3ClientService/BO/ByProductWeightRecord_/ByProductWeightRecord.cs
@@ -0,0 +1,42 @@
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Linq;
+using System.Text;
+using BWP.B3Frameworks.BO;
+using Forks.EnterpriseServices.DomainObjects2;
+
+namespace BWP.B3ClientService.BO
+{
+ ///
+ /// 副产品称重
+ ///
+ [Serializable]
+ public class ByProductWeightRecord : Base
+ {
+ private DateTime mCreateTime = DateTime.Now;
+
+ [DbColumn(DbType = SqlDbType.DateTime)]
+ public DateTime CreateTime { get { return mCreateTime; } set { mCreateTime = value; } }
+
+ public string BarCode { get; set; }//条码
+
+ public long Goods_ID { get; set; }
+
+ public string Goods_Name { get; set; }
+
+ public decimal PiWeight { get; set; }//皮重
+
+ public decimal MaoWeight { get; set; }//毛重
+
+ public decimal JingWeight { get; set; }//净重
+
+ public string CardBarCode { get; set; }//放产品的车的条码
+
+ public string BiaoShi { get; set; }//用来记录那个工作台或者哪台触摸屏做的
+ public string CreateUserName { get; set; }
+
+ [DbColumn(DefaultValue = false)]
+ public bool IsInStored { get; set; }//是否已经入库
+ }
+}
diff --git a/B3ClientService/Rpcs/BillRpc/ByProductWeightRecordRpc.cs b/B3ClientService/Rpcs/BillRpc/ByProductWeightRecordRpc.cs
new file mode 100644
index 0000000..b11deb3
--- /dev/null
+++ b/B3ClientService/Rpcs/BillRpc/ByProductWeightRecordRpc.cs
@@ -0,0 +1,26 @@
+using System;
+using BWP.B3ClientService.BO;
+using Forks.EnterpriseServices.DomainObjects2;
+using Forks.EnterpriseServices.JsonRpc;
+using Newtonsoft.Json;
+
+namespace BWP.B3ClientService.Rpcs.BillRpc
+{
+ [Rpc]
+ public static class ByProductWeightRecordRpc
+ {
+ [Rpc]
+ public static long Insert(string json)
+ {
+ var record = JsonConvert.DeserializeObject(json);
+ record.CreateTime = DateTime.Now;
+ using (var session = Dmo.NewSession())
+ {
+ session.Insert(record);
+ session.Commit();
+ }
+ return record.ID;
+ }
+
+ }
+}