From 59068c0085ce3358f8764ad7f3a81d06756ff74b Mon Sep 17 00:00:00 2001 From: hzj <826100833@qq.com> Date: Wed, 18 Sep 2024 13:49:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=A9=E5=BA=A6bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/njcn/influx/service/impl/CommonServiceImpl.java | 1 + 1 file changed, 1 insertion(+) 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);