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); }