From c0b8cf32504dd1a42780bb1ee06ae8a7b0d7b120 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期三, 09 十月 2024 23:36:11 +0800 Subject: [PATCH] 指标数据 --- iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/service/impl/DaPointServiceImpl.java | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/service/impl/DaPointServiceImpl.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/service/impl/DaPointServiceImpl.java index 4f74aa8..4f28365 100644 --- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/service/impl/DaPointServiceImpl.java +++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/service/impl/DaPointServiceImpl.java @@ -73,6 +73,18 @@ } @Override + public DaPointDTO getSimpleInfoById(String id) { + return ConvertUtils.sourceToTarget(daPointDao.selectById(id), DaPointDTO.class); + } + + @Override + public DaPointDTO getSimpleInfoByNo(String no) { + QueryWrapper<DaPointEntity> queryWrapper = new QueryWrapper(); + queryWrapper.eq("pointNo", no); + return ConvertUtils.sourceToTarget(daPointDao.selectOne(queryWrapper), DaPointDTO.class); + } + + @Override public List<DaPointDTO> list(Map<String, Object> params) { Object pointType = params.get("pointType"); List<String> pointNos = new ArrayList<>(); -- Gitblit v1.9.3