dengzedong
2024-12-24 76743b009ca5ea67557fcab597b332f8d1947813
iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/dao/DaPointDao.java
@@ -27,21 +27,21 @@
    IPage<DaPointDTO> getPageList(IPage<DaPointEntity> page, @Param("params") DaPointPageReqVO reqVO);
    List<DaPointDTO> getList(DaPointPageReqVO reqVO);
    List<DaPointDTO> getConstantPoint(Map<String, Object> params);
    List<DaPointDTO> getMeasurePoint(Map<String, Object> params);
    List<DaPointDTO> getMathPoint(Map<String, Object> params);
    List<DaPointDTO> getCumulatePoint(Map<String, Object> params);
    default IPage<DaPointDTO> selectPageList(DaPointPageReqVO reqVO) {
        return getPageList(getPage(reqVO), reqVO);
    };
    default PageResult<DaPointEntity> selectExcelList(DaPointPageReqVO reqVO) {
        return selectPage(reqVO,new QueryWrapper<>());
    }
    default DaPointEntity selectByPointName(String pointName){
    default DaPointEntity selectByPointName(String pointName) {
        return selectOne("point_name", pointName);
    };
    }
}