修复核算数据为null
This commit is contained in:
parent
8ae06f27b8
commit
34f6b76fb1
|
|
@ -398,7 +398,7 @@ public class SalaryStatisticsReportServiceImpl extends Service implements Salary
|
|||
Map<Long, List<SalaryAcctResultPO>> salaryAcctEmpResultMap = SalaryEntityUtil.group2Map(salaryAcctResultValues, SalaryAcctResultPO::getSalaryAcctEmpId);
|
||||
Map<Long, Map<String, String>> map = new HashMap<>();
|
||||
salaryAcctEmpResultMap.forEach((k, v) -> {
|
||||
Map<String, String> collect = v.stream().collect(Collectors.toMap(p -> Util.null2String(p.getSalaryItemId()), SalaryAcctResultPO::getResultValue, (key1, key2) -> key2));
|
||||
Map<String, String> collect = v.stream().collect(Collectors.toMap(p -> Util.null2String(p.getSalaryItemId()), p -> Util.null2String(p.getResultValue()), (key1, key2) -> key2));
|
||||
map.put(k, collect);
|
||||
});
|
||||
|
||||
|
|
@ -1937,7 +1937,7 @@ public class SalaryStatisticsReportServiceImpl extends Service implements Salary
|
|||
Map<Long, String> sameEmpIdYearMap = new HashMap<>();
|
||||
|
||||
String dimensionValue = data.getDimensionValue();
|
||||
dimensionSet.stream().sorted((a,b)->b.length()-a.length()).forEach(k -> {
|
||||
dimensionSet.stream().sorted((a, b) -> b.length() - a.length()).forEach(k -> {
|
||||
if (dimensionValue == null) {
|
||||
List<SalaryAcctEmployeePO> salaryAcctEmployees = SalaryStatisticsReportBO.listAcctEmpByRationGroupIndividual(k, dimension.getDimCode(), data.getList(), empIdYearMap, salaryAcctResultValueMap, data.getSalaryStatisticsItemList());
|
||||
List<SalaryAcctEmployeePO> lastSalaryAcctEmployees = SalaryStatisticsReportBO.listAcctEmpByRationGroupIndividual(k, dimension.getDimCode(), data.getLastList(), lastEmpIdYearMap, salaryAcctResultValueMap, data.getSalaryStatisticsItemList());
|
||||
|
|
|
|||
Loading…
Reference in New Issue