From cd67b8a943c67067d9800ce9b351110143ef4146 Mon Sep 17 00:00:00 2001 From: yibo <361071264@qq.com> Date: Mon, 9 Apr 2018 17:32:05 +0800 Subject: [PATCH] bug --- B3ClientService/BL/BaseInfo/WorkerBL.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/B3ClientService/BL/BaseInfo/WorkerBL.cs b/B3ClientService/BL/BaseInfo/WorkerBL.cs index 11effd5..8b8f8d1 100644 --- a/B3ClientService/BL/BaseInfo/WorkerBL.cs +++ b/B3ClientService/BL/BaseInfo/WorkerBL.cs @@ -21,7 +21,7 @@ namespace BWP.B3ClientService.BL { protected override void beforeSave(Worker dmo) { - if (string.IsNullOrEmpty(dmo.StrPwd)) + if (!string.IsNullOrEmpty(dmo.StrPwd)) dmo.Password = InnerUtils.EncodePwd(dmo.StrPwd); base.beforeSave(dmo); }