bug调整
This commit is contained in:
@@ -105,7 +105,7 @@ public class IntegrityServiceImpl extends MppServiceImpl<RStatIntegrityDMapper,
|
||||
}
|
||||
|
||||
private int getDataCount(String lineId,String date){
|
||||
QueryResult sqlResult = influxDbUtils.query("SELECT * FROM data_v WHERE time >= '" + date + " 00:00:00' and time <= '" + date + " 23:59:59' and line_id = '" + lineId + "' and phasic_type = 'T' tz('Asia/Shanghai')");
|
||||
QueryResult sqlResult = influxDbUtils.query("SELECT * FROM data_v WHERE time >= '" + date + " 00:00:00' and time <= '" + date + " 23:59:59' and line_id = '" + lineId + "' and phasic_type = 'T' and value_type = 'MAX' tz('Asia/Shanghai')");
|
||||
InfluxDBResultMapper resultMapper = new InfluxDBResultMapper();
|
||||
List<DataVPO> list = resultMapper.toPOJO(sqlResult, DataVPO.class);
|
||||
if (CollectionUtils.isEmpty(list)){
|
||||
|
||||
Reference in New Issue
Block a user