Browse Source

bug

master
yibo 7 years ago
parent
commit
cd67b8a943
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      B3ClientService/BL/BaseInfo/WorkerBL.cs

+ 1
- 1
B3ClientService/BL/BaseInfo/WorkerBL.cs View File

@ -21,7 +21,7 @@ namespace BWP.B3ClientService.BL
{ {
protected override void beforeSave(Worker dmo) protected override void beforeSave(Worker dmo)
{ {
if (string.IsNullOrEmpty(dmo.StrPwd))
if (!string.IsNullOrEmpty(dmo.StrPwd))
dmo.Password = InnerUtils.EncodePwd(dmo.StrPwd); dmo.Password = InnerUtils.EncodePwd(dmo.StrPwd);
base.beforeSave(dmo); base.beforeSave(dmo);
} }


Loading…
Cancel
Save