微调
This commit is contained in:
@@ -95,7 +95,7 @@ public class InfluxdbCsCommunicateServiceImpl implements ICsCommunicateService {
|
|||||||
.select(PqsCommunicate::getDevId)
|
.select(PqsCommunicate::getDevId)
|
||||||
.select(PqsCommunicate::getDescription)
|
.select(PqsCommunicate::getDescription)
|
||||||
.select(PqsCommunicate::getType)
|
.select(PqsCommunicate::getType)
|
||||||
.le(PqsCommunicate::getTime, lineParam.getEndTime())
|
.between(PqsCommunicate::getTime, lineParam.getStartTime(), lineParam.getEndTime())
|
||||||
.timeDesc()
|
.timeDesc()
|
||||||
.limit(1);
|
.limit(1);
|
||||||
List<PqsCommunicate> list = pqsCommunicateMapper.selectByQueryWrapper(influxQueryWrapper);
|
List<PqsCommunicate> list = pqsCommunicateMapper.selectByQueryWrapper(influxQueryWrapper);
|
||||||
|
|||||||
@@ -188,6 +188,10 @@ public class RStatOnlineRateDServiceImpl extends MppServiceImpl<RStatOnlineRateD
|
|||||||
} catch (ParseException e) {
|
} catch (ParseException e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
if (online.equals(communicateDataOld.get(0).getType())){
|
||||||
|
minute = InfluxDBPublicParam.DAY_MINUTE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user