薪资档案加密设置更新

This commit is contained in:
李栋 2022-10-10 17:15:20 +08:00
parent 4b30bca5d1
commit f8d151e639
1 changed files with 3 additions and 0 deletions

View File

@ -70,6 +70,9 @@ public class AESEncryptUtil {
encryptStr = encryptStr.substring(4, encryptStr.length());
return AES.decrypt(encryptStr, aesEncryptScrect);
}
if (StringUtils.isNotBlank(encryptStr) && encryptStr.length() == 16) {
return AES.decrypt(encryptStr, aesEncryptScrect);
}
return encryptStr;
}
}