提交 a69b63bf authored 作者: Matrix's avatar Matrix

fix(核查模块): 修复了检查页面过滤顶级节点错误的问题

上级 79342c17
...@@ -309,13 +309,12 @@ public class ConfirmCheckServiceImpl implements ConfirmCheckService, CommandLine ...@@ -309,13 +309,12 @@ public class ConfirmCheckServiceImpl implements ConfirmCheckService, CommandLine
*/ */
@Override @Override
public Page<CheckStatTableVo> findAllStatTable(CheckBillSelectVo checkBillSelectVo) { public Page<CheckStatTableVo> findAllStatTable(CheckBillSelectVo checkBillSelectVo) {
//过滤出顶级节点 //过滤出顶级节点 过滤逻辑是1.自己就是父节点2.自己的customInfo = exam or check
List<TaskBto> topStatList = taskService.findBillType(7); List<TaskBto> topStatList = taskService.findBillType(7);
// List<TaskBto> topDetailList = taskService.findBillType(8);
// topStatList.addAll(topDetailList);
List<Integer> topIdList = topStatList.stream() List<Integer> topIdList = topStatList.stream()
.filter(taskBto -> taskBto.getParentTaskId().equals(0) || taskBto.getParentTaskId() == null) .filter(taskBto -> taskBto.getParentTaskId().equals(0) || taskBto.getParentTaskId() == null)
.filter(taskBto -> "check".equals(taskBto.getCustomInfo()) || "exam".equals(taskBto.getCustomInfo()))
.map(TaskBto::getBillId) .map(TaskBto::getBillId)
.collect(toList()); .collect(toList());
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论