diff --git a/src/main/java/com/njcn/influx/service/impl/CommonServiceImpl.java b/src/main/java/com/njcn/influx/service/impl/CommonServiceImpl.java index 93e2106..73896d7 100644 --- a/src/main/java/com/njcn/influx/service/impl/CommonServiceImpl.java +++ b/src/main/java/com/njcn/influx/service/impl/CommonServiceImpl.java @@ -141,6 +141,7 @@ public class CommonServiceImpl implements CommonService { .select(StatisticalDataDTO::getClDid) .last(columnName,InfluxDBTableConstant.VALUE) .eq(InfluxDBTableConstant.LINE_ID,lineId) + .eq(InfluxDBTableConstant.PHASIC_TYPE, "M") .eq(InfluxDBTableConstant.PROCESS,process) .groupBy(InfluxDBTableConstant.CL_DID); return commonMapper.getTopTemperature(influxQueryWrapper);