人员筛选接口开发、调整
This commit is contained in:
parent
586330f99e
commit
b2500cfbd0
|
|
@ -371,7 +371,7 @@ public class PersonnelResumeServiceImpl extends Service implements PersonnelResu
|
|||
String parentDeptS = jobTrees.stream().map(SearchTree::getParentComp).collect(Collectors.joining(","));
|
||||
if (!StringUtil.isEmpty(parentDeptS)) {
|
||||
// 兼容SQLServer每次最多in,2100条数据
|
||||
List<Long> ids = (List<Long>) DeleteParam.builder().ids(parentDeptS).build().getIds();
|
||||
List<Long> ids = DeleteParam.builder().ids(parentDeptS).build().getIds();
|
||||
int ceilCount = (int) Math.ceil((double) ids.size() / 1000);
|
||||
List<DepartmentPO> departmentsByIds = new ArrayList<>();
|
||||
for (int i = 0; i < ceilCount - 1; i++) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue