自定义报表优化处理
This commit is contained in:
@@ -1107,7 +1107,7 @@
|
||||
</select>
|
||||
|
||||
<select id="getMonitorListDetail" resultType="com.njcn.device.biz.pojo.dto.LineDevGetDTO">
|
||||
select line.id pointId,dev.id devId,0 type,1 lineType,lineDetail.Time_Interval interval
|
||||
select line.id pointId,dev.id devId,0 type,1 lineType,lineDetail.Time_Interval as `interval`
|
||||
from pq_line line
|
||||
inner join pq_line_detail lineDetail on line.id = lineDetail.id
|
||||
inner join pq_line subv on line.pid = subv.id
|
||||
|
||||
@@ -926,8 +926,7 @@ public class CustomReportServiceImpl implements CustomReportService {
|
||||
|
||||
//处理指标是否合格
|
||||
reportLimitList = reportLimitList.stream()
|
||||
.collect(Collectors.collectingAndThen(Collectors.toCollection(
|
||||
() -> new TreeSet<>(Comparator.comparing(ReportTemplateDTO::getItemName))), ArrayList::new));
|
||||
.collect(Collectors.collectingAndThen(Collectors.toCollection(() -> new TreeSet<>(Comparator.comparing(ReportTemplateDTO::getItemName))), ArrayList::new));
|
||||
|
||||
Map<String, Float> limitMap = overLimitDeal(reportLimitList, reportSearchParam);
|
||||
//存放限值指标的map
|
||||
|
||||
Reference in New Issue
Block a user