Commit ab3ddb48 authored by lisong's avatar lisong

修改判空

parent ea9231fd
...@@ -1136,7 +1136,7 @@ public class PlanTaskServiceImpl implements IPlanTaskService { ...@@ -1136,7 +1136,7 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
List<AppCheckInputRespone> appCheckInputRespones1 = new ArrayList<>(); List<AppCheckInputRespone> appCheckInputRespones1 = new ArrayList<>();
for (String exclude_item : exclude_items) { for (String exclude_item : exclude_items) {
List<AppCheckInputRespone> collect = appCheckInputRespones.stream().filter(x -> x.getPointInputItemId().equals(exclude_item)).collect(Collectors.toList()); List<AppCheckInputRespone> collect = appCheckInputRespones.stream().filter(x -> x.getPointInputItemId().equals(exclude_item)).collect(Collectors.toList());
if (CollectionUtils.isEmpty(collect) && !ObjectUtils.isEmpty(collect.get(0))){ if (CollectionUtils.isEmpty(collect)){
continue; continue;
} }
appCheckInputRespones1.add(collect.get(0)); appCheckInputRespones1.add(collect.get(0));
......
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