diff --git a/B3ClientService/B3ClientService.csproj b/B3ClientService/B3ClientService.csproj
index 7bd0e7f..247c052 100644
--- a/B3ClientService/B3ClientService.csproj
+++ b/B3ClientService/B3ClientService.csproj
@@ -132,6 +132,7 @@
+
@@ -182,6 +183,7 @@
+
diff --git a/B3ClientService/BO/Bill/CarcassInventory.cs b/B3ClientService/BO/Bill/CarcassInventory.cs
new file mode 100644
index 0000000..62fc7e5
--- /dev/null
+++ b/B3ClientService/BO/Bill/CarcassInventory.cs
@@ -0,0 +1,15 @@
+using BWP.B3Frameworks.BO;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace BWP.B3ClientService.BO
+{
+ public class CarcassInventory : Base
+ {
+ public DateTime Date { get; set; }
+
+ public string BarCode { get; set; }
+ }
+}
diff --git a/B3ClientService/OfflinRpc/CarcassInventoryRpc.cs b/B3ClientService/OfflinRpc/CarcassInventoryRpc.cs
new file mode 100644
index 0000000..e427cfb
--- /dev/null
+++ b/B3ClientService/OfflinRpc/CarcassInventoryRpc.cs
@@ -0,0 +1,35 @@
+using BWP.B3ClientService.BO;
+using Forks.EnterpriseServices.DomainObjects2;
+using Forks.EnterpriseServices.DomainObjects2.DQuery;
+using Forks.EnterpriseServices.JsonRpc;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using TSingSoft.WebPluginFramework;
+
+namespace BWP.B3ClientService.Rpcs
+{
+ [Rpc]
+ public static class CarcassInventoryRpc
+ {
+ [Rpc(RpcFlags.SkipAuth)]
+ public static CarcassFullInfo QueryBarCode(string barCode)
+ {
+ var query = new DmoQuery(typeof(CarcassFullInfo));
+ query.Where.Conditions.Add(DQCondition.EQ("BarCode", barCode));
+ return query.EExecuteScalar();
+ }
+
+ [Rpc(RpcFlags.SkipAuth)]
+ public static int InsertInventoryInfo(List list)
+ {
+ using (var session = Dmo.NewSession())
+ {
+ foreach (var item in list)
+ session.Insert(item);
+ }
+ return list.Count;
+ }
+ }
+}