部门代码调整 新增部门查询子部门接口
This commit is contained in:
@@ -25,6 +25,7 @@ import com.njcn.energy.pojo.param.GroupArrParam;
|
||||
import com.njcn.energy.pojo.po.*;
|
||||
import com.njcn.energy.pojo.vo.*;
|
||||
import com.njcn.energy.service.*;
|
||||
import com.njcn.influxdb.param.InfluxDBPublicParam;
|
||||
import com.njcn.influxdb.utils.InfluxDbUtils;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.influxdb.dto.QueryResult;
|
||||
@@ -416,7 +417,7 @@ public class LogicDeviceLineServiceImpl extends ServiceImpl<LogicDeviceLineMappe
|
||||
stringBuilderMax.append(listData.get(j).getName()).append(", ");
|
||||
}
|
||||
}
|
||||
stringBuilderMax.append("from ").append(tableName + "_Real").append(" where").append(" LineId='" + lineId + "'").append(" order by time");
|
||||
stringBuilderMax.append("from ").append(tableName + "_Real").append(" where").append(" LineId='" + lineId + "'").append(" order by time").append(InfluxDBPublicParam.TIME_ZONE);
|
||||
List<Map<String, Object>> list = influxDbUtils.getResult(stringBuilderMax.toString(), "");
|
||||
if (CollectionUtil.isNotEmpty(list)) {
|
||||
for(int i=0;i<list.size();i++){
|
||||
|
||||
Reference in New Issue
Block a user