| | |
| | | |
| | | @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 |
| | |
| | | pointCollector.setValue(wr); |
| | | return true; |
| | | } catch (Exception ex) { |
| | | ex.printStackTrace(); |
| | | return false; |
| | | } |
| | | } |