潘志宝
2024-10-04 b8b8cb26b0a13c8ca10ffa53cef2abbff4eb20de
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<>();