Authored by zhengyouwei

add time

... ... @@ -45,7 +45,7 @@ public class JavaProjectMapperImpl extends InfluxDBQuery implements JavaProjectM
@Override
public List<JavaProjectStatus> getByProject(String project) {
String cpmmond = "select cloud,ip,lastStart,status from java_project_status where time > now() - 4m and \"name\" = '" + project + "' order by time desc";
String cpmmond = "select cloud,ip,lastStart,status from java_project_status where time > now() - 6m and \"name\" = '" + project + "' order by time desc";
QueryResult result = query(InfluxDBContants.AWS, cpmmond, InfluxDBContants.MONITOR_SYSTEM);
List<List<Object>> lists = QueryResultUtil.getValues(result);
List<JavaProjectStatus> javaProjectStatusList = new ArrayList<>();
... ...