| | |
| | | } |
| | | |
| | | @Override |
| | | public List<DaPointDTO> getExtremalPoint(String freq) { |
| | | public List<DaPointDTO> getCumulatePoint(DaPointPageReqVO reqVO) { |
| | | Map<String, Object> params = new HashMap<>(3); |
| | | params.put("pointType", PointTypeEnum.CUMULATE.getCode()); |
| | | params.put("pointNo", reqVO.getPointNo()); |
| | | params.put("pointName", reqVO.getPointName()); |
| | | return daPointDao.getCumulatePoint(params); |
| | | } |
| | | |
| | | @Override |
| | | public List<DaPointDTO> getExtremalPoint(String freq) { |
| | | Map<String, Object> params = new HashMap<>(3); |
| | | params.put("pointType", PointTypeEnum.EXTREMAL.getCode()); |
| | | params.put("isEnable", CommonConstant.IS_ENABLE); |
| | | params.put("minfreqid", freq); |
| | | return daPointDao.getExtremalPoint(params); |
| | |
| | | @Override |
| | | public List<DaPointDTO> getExtremalPoint(List<String> pointNos) { |
| | | Map<String, Object> params = new HashMap<>(3); |
| | | params.put("pointType", PointTypeEnum.CUMULATE.getCode()); |
| | | params.put("pointType", PointTypeEnum.EXTREMAL.getCode()); |
| | | params.put("isEnable", CommonConstant.IS_ENABLE); |
| | | params.put("pointNos", pointNos); |
| | | return daPointDao.getExtremalPoint(params); |
| | | } |
| | | |
| | | @Override |
| | | public List<DaPointDTO> getCumulatePoint(DaPointPageReqVO reqVO) { |
| | | Map<String, Object> params = new HashMap<>(3); |
| | | params.put("pointType", PointTypeEnum.CUMULATE.getCode()); |
| | | params.put("pointNo", reqVO.getPointNo()); |
| | | params.put("pointName", reqVO.getPointName()); |
| | | return daPointDao.getCumulatePoint(params); |
| | | } |
| | | |
| | | @Override |