薪酬系统-福利档案,复制action功能优化
This commit is contained in:
parent
b1d3d2c445
commit
3281b138fa
|
|
@ -91,8 +91,9 @@ public class CopyToPaySIArchiveAction implements Action {
|
|||
}
|
||||
Long toCopyTaxAgentId = toCopyTaxAgentPOS.get(0).getId();
|
||||
Long toUpdateTaxAgentId = toUpdateTaxAgentPOS.get(0).getId();
|
||||
Long employeeId = Long.valueOf(list.stream().filter(f -> f.salaryName.equals("员工id")).findFirst().map(CopyToPaySIArchiveAction.SalaryField::getValue).orElse("-1"));
|
||||
Long employeeId = Long.valueOf(list.stream().filter(f -> "员工id".equals(f.salaryName)).findFirst().map(CopyToPaySIArchiveAction.SalaryField::getValue).orElse("-1"));
|
||||
User user = new User(Integer.parseInt(uid));
|
||||
user.setLanguage(7);
|
||||
//拷贝福利档案并置为在缴
|
||||
Map<String, Object> resultMap = getSIArchivesService(user).copyToPay(toCopyTaxAgentId, toUpdateTaxAgentId, employeeId, payStartYearMonth);
|
||||
if (!"success".equals(resultMap.get("type").toString())) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue