yibo 7 years ago
parent
commit
ca6e9d0281
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      B3ClientService/Rpcs/BillRpc/GradeAndWeightRpc.cs

+ 3
- 2
B3ClientService/Rpcs/BillRpc/GradeAndWeightRpc.cs View File

@ -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<GradeAndWeight_Detail>(json);
//json = json.ESerializeDateTime();
var entity = JsonConvert.DeserializeObject<GradeAndWeight_Detail>(json);
using (var session = Dmo.NewSession())
{
if (entity.IsDeleted)


Loading…
Cancel
Save