Commit d3a435ab authored by 赵啸非's avatar 赵啸非

添加目录字段

parent c092d3d2
......@@ -134,16 +134,6 @@ public class ApplyLogServiceImpl extends AbstractCRUDServiceImpl<ApplyLogDao, Ap
return query;
}
private void fillSubData(List<ApplyLogEntity> list) {
List<Long> idList = list.stream().map(i -> i.getId()).collect(Collectors.toList());
if (ObjectUtils.isEmpty(idList)) return;
ChildLicenseQuery childLicenseQuery = new ChildLicenseQuery();
childLicenseQuery.setApplyIdList(idList);
Map<Long, List<ChildLicenseEntity>> certificateChildListMap = childLicenseService.find(childLicenseQuery).parallelStream().collect(Collectors.groupingBy(ChildLicenseEntity::getApplyId));
list.forEach(item -> item.setChildLicense(certificateChildListMap.get(item.getId())));
}
@Override
protected void findAfter(ApplyLogEntity params, PageInfo pageInfo, Context context, List<ApplyLogEntity> list) throws AppException {
List<Long> idList = list.stream().map(i -> i.getId()).collect(Collectors.toList());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment