From ca6e9d02816058872ab0c483fbf57d12fa445c85 Mon Sep 17 00:00:00 2001 From: yibo <361071264@qq.com> Date: Tue, 21 Aug 2018 10:57:20 +0800 Subject: [PATCH] . --- B3ClientService/Rpcs/BillRpc/GradeAndWeightRpc.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/B3ClientService/Rpcs/BillRpc/GradeAndWeightRpc.cs b/B3ClientService/Rpcs/BillRpc/GradeAndWeightRpc.cs index 6866604..bbf2c66 100644 --- a/B3ClientService/Rpcs/BillRpc/GradeAndWeightRpc.cs +++ b/B3ClientService/Rpcs/BillRpc/GradeAndWeightRpc.cs @@ -7,6 +7,7 @@ using Forks.EnterpriseServices.DomainObjects2; using Forks.EnterpriseServices.DomainObjects2.DQuery; using Forks.EnterpriseServices.JsonRpc; using Forks.EnterpriseServices.SqlDoms; +using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; @@ -69,8 +70,8 @@ namespace BWP.B3ClientService.Rpcs.BillRpc { lock (_lock) { - json = json.ESerializeDateTime(); - var entity = serializer.Deserialize(json); + //json = json.ESerializeDateTime(); + var entity = JsonConvert.DeserializeObject(json); using (var session = Dmo.NewSession()) { if (entity.IsDeleted)