From e53c414fc182c3230f623fb3dfd3fbb1723ed153 Mon Sep 17 00:00:00 2001 From: yibo <361071264@qq.com> Date: Thu, 19 Oct 2017 21:20:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BO/Utils/BillRpc/WeightBillRpc.cs | 4 ++-- ButcherWeight/WeightForm.cs | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/BO/Utils/BillRpc/WeightBillRpc.cs b/BO/Utils/BillRpc/WeightBillRpc.cs index 351934e..60da9f4 100644 --- a/BO/Utils/BillRpc/WeightBillRpc.cs +++ b/BO/Utils/BillRpc/WeightBillRpc.cs @@ -107,10 +107,10 @@ namespace BO.Utils.BillRpc return serializer.Deserialize(obj); } - public static void DoCheck(long b3ID) + public static void DoCheck(long id) { const string method = "/MainSystem/B3ClientService/Rpcs/BillRpc/WeightBillRpc/DoCheck"; - RpcFacade.Call(method, b3ID,ButcherAppContext.Context.UserConfig.UserName); + RpcFacade.Call(method, id, ButcherAppContext.Context.UserConfig.UserName); } } } diff --git a/ButcherWeight/WeightForm.cs b/ButcherWeight/WeightForm.cs index 36af00b..c2014d7 100644 --- a/ButcherWeight/WeightForm.cs +++ b/ButcherWeight/WeightForm.cs @@ -529,8 +529,7 @@ namespace ButcherWeight var entity = WeightBillRpc.GetPrintWeightBill(Dmo.ID); ClientPrint.BwpClientPrint print = new ClientPrint.BwpClientPrint("WeightBillPrint.xaml", entity, new DocumentRenderer()); print.PrintDirect(); - if (Dmo.B3ID.HasValue) - WeightBillRpc.DoCheck(Dmo.B3ID.Value); + WeightBillRpc.DoCheck(Dmo.ID); } } } \ No newline at end of file