人员信息报送导入分页
This commit is contained in:
parent
bca7697d75
commit
dc3533d753
|
|
@ -733,7 +733,7 @@ public class EmployeeDeclareServiceImpl extends Service implements EmployeeDecla
|
||||||
if (CollectionUtils.isEmpty(insertList)) {
|
if (CollectionUtils.isEmpty(insertList)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
List<List<EmployeeDeclarePO>> partition = Lists.partition(insertList, 100);
|
List<List<EmployeeDeclarePO>> partition = Lists.partition(insertList, 50);
|
||||||
partition.forEach(getEmployeeDeclareMapper()::batchInsert);
|
partition.forEach(getEmployeeDeclareMapper()::batchInsert);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue