From f931ff0be8093e4bc917511c8ca84c0379f938bd Mon Sep 17 00:00:00 2001 From: yibo <361071264@qq.com> Date: Fri, 6 Jul 2018 14:11:39 +0800 Subject: [PATCH] . --- B3ClientService/Rpcs/SelfHelpRpc.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/B3ClientService/Rpcs/SelfHelpRpc.cs b/B3ClientService/Rpcs/SelfHelpRpc.cs index 675adde..0d72908 100644 --- a/B3ClientService/Rpcs/SelfHelpRpc.cs +++ b/B3ClientService/Rpcs/SelfHelpRpc.cs @@ -112,7 +112,9 @@ namespace BWP.B3ClientService.Rpcs weight.WeighTime = DateTime.Now; weight.Supplier_ID = entity.supplierID; weight.Supplier_Name = entity.supplier; - weight.BankAccount = entity.supplierIDCard; + weight.BankAccount = entity.bankNum; + if (string.IsNullOrEmpty(weight.BankAccount)) + DmoUtil.RefreshDependency(weight, "Supplier_ID"); weight.PurchaseType_ID = entity.bType + 1; weight.PurchaseType_Name = entity.bType == 0 ? "社会" : "业务"; if (weight.Employee_ID == null && weight.PurchaseType_Name == "社会")