weaver-hrm-salary/src/com/engine/salary/service/impl/SalaryAcctReportServiceImpl...

47 lines
1.0 KiB
Java
Raw Normal View History

2022-07-04 19:21:44 +08:00
package com.engine.salary.service.impl;
import com.engine.core.impl.Service;
import com.engine.salary.encrypt.AESEncryptUtil;
import com.engine.salary.service.SalaryAcctReportService;
import com.google.common.collect.Lists;
import java.util.List;
import java.util.stream.Collectors;
/**
2022-07-05 15:04:00 +08:00
* 薪资报表
2022-07-04 19:21:44 +08:00
* <p>Copyright: Copyright (c) 2022</p>
* <p>Company: 泛微软件</p>
*
* @author qiantao
* @version 1.0
**/
2022-07-05 15:04:00 +08:00
public class SalaryAcctReportServiceImpl extends Service implements SalaryAcctReportService {
2022-07-04 19:21:44 +08:00
/**
* 薪酬解密方法
*
* @param s 待解密字符串
* @return
*/
2022-07-05 15:08:59 +08:00
@Override
public List<String> decrypt(List<String> s) {
2022-07-04 19:21:44 +08:00
if (s != null) {
2022-07-05 15:08:59 +08:00
return s.stream().map(AESEncryptUtil::decrypt).collect(Collectors.toList());
2022-07-04 19:21:44 +08:00
}
return Lists.newArrayList();
}
2022-07-05 15:08:59 +08:00
/**
* 薪酬解密方法
*
* @param s 待解密字符串
* @return
*/
@Override
public String decrypt(String s) {
return AESEncryptUtil.decrypt(s);
}
2022-07-04 19:21:44 +08:00
}