解决主次账号档案异常

This commit is contained in:
钱涛 2024-10-28 15:11:31 +08:00
parent 4a7b218ee3
commit 2499d543d8
1 changed files with 1 additions and 1 deletions

View File

@ -497,7 +497,7 @@ public class SalaryArchiveServiceImpl extends Service implements SalaryArchiveSe
map.put("username", e.getUsername());
map.put("employeeId", e.getEmployeeId());
if (openSecondaryAccount) {
map.put("accountType", 1 == e.getAccountType() ? "次账号" : "主账户");
map.put("accountType", e.getAccountType() == null || e.getAccountType() == 0 ? "主账号" : "次账号");
}
// Optional<Map<String, Object>> optionalTaxAgent = taxAgentData.stream().filter(f -> f.get("salaryArchiveId").toString().equals(e.getId().toString())).findFirst();