| | |
| | | } |
| | | |
| | | @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 page = params.get("page"); |
| | | Object limit = params.get("limit"); |
| | | Object pointType = params.get("pointType"); |
| | | List<String> pointNos = new ArrayList<>(); |
| | | if (params.get("pointNos") != null) { |