薪资档案搜索2100优化
This commit is contained in:
parent
0e3a5320a4
commit
c88c8acf90
|
|
@ -816,7 +816,7 @@ public class SalaryArchiveItemServiceImpl extends Service implements SalaryArchi
|
|||
List<SalaryArchiveItemPO> resultList = new ArrayList<>();
|
||||
List<List<Long>> partition = Lists.partition(salaryArchiveIds, 1000);
|
||||
partition.forEach(part -> {
|
||||
resultList.addAll(getSalaryArchiveItemMapper().listByArchiveIdAndEffectiveTime(salaryArchiveIds, dateRange));
|
||||
resultList.addAll(getSalaryArchiveItemMapper().listByArchiveIdAndEffectiveTime(part, dateRange));
|
||||
});
|
||||
return resultList;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue