薪资档案加密设置更新

This commit is contained in:
李栋 2022-10-11 09:40:23 +08:00
parent e384c6c1c3
commit 7960f74308
1 changed files with 5 additions and 1 deletions

View File

@ -40,7 +40,11 @@ public class AESEncryptUtil {
* @return
*/
private static String getSalarySysConfigValue() {
return salarySysConfService.getOneByCode(SalarySysConstant.OPEN_APPLICATION_ENCRYPT).getConfValue();
String confValue = salarySysConfService.getOneByCode(SalarySysConstant.OPEN_APPLICATION_ENCRYPT).getConfValue();
if (StringUtils.isEmpty(confValue)) {
return "1";
}
return confValue;
}
/**