Commit 8b31ecf0 by yuwei

项目初始化

parent ec56b184
......@@ -70,12 +70,16 @@ public class CheckReportServiceImpl extends BaseServiceImpl<CheckReportDao, Chec
});
}
list.addAll(differenceReportList);
// 排序
list = list.stream().sorted(Comparator.comparing(DataReportEntity::getRuleSourceId).thenComparing(DataReportEntity::getRuleLevelId)).collect(Collectors.toList());
return list;
}
@Override
public List<DataReportEntity> getReportByType() {
List<DataReportEntity> list = checkReportDao.getReportByType();
// 排序
list = list.stream().sorted(Comparator.comparing(DataReportEntity::getRuleTypeId)).collect(Collectors.toList());
return list;
}
}
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