From f853b02cb7b265379eceb2f0e3c38f9d63bb1b21 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期一, 06 一月 2025 17:55:25 +0800 Subject: [PATCH] 执行调度模型 默认时间 --- iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/api/point/DataPointApiImpl.java | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/api/point/DataPointApiImpl.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/api/point/DataPointApiImpl.java index dd9b84a..a576a68 100644 --- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/api/point/DataPointApiImpl.java +++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/api/point/DataPointApiImpl.java @@ -38,7 +38,16 @@ @Override public ApiPointDTO getInfoById(String pointId) { - return ConvertUtils.sourceToTarget(daPointService.getSimpleInfoById(pointId), ApiPointDTO.class); + return daPointService.getSimpleInfoById(pointId); + } + + @Override + public List<ApiPointDTO> getInfoByIds(Set<String> pointIds) { + List<ApiPointDTO> result = new ArrayList<>(pointIds.size()); + for (String pointId : pointIds) { + result.add(daPointService.getSimpleInfoById(pointId)); + } + return result; } @Override @@ -104,6 +113,7 @@ pointCollector.setValue(wr); return true; } catch (Exception ex) { + ex.printStackTrace(); return false; } } -- Gitblit v1.9.3