package com.testor.ddd.safetyControl.infrastructure.repository.riskMap.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.testor.ddd.safetyControl.infrastructure.repository.riskMap.entity.TSafeRiskMapDO;
import com.testor.ddd.safetyControl.interfaces.model.dto.riskMap.TSafeRiskMapDTOParam;
import com.testor.ddd.safetyControl.interfaces.model.vo.riskMap.TSafeRiskMapVO;
import com.tongtech.tfw.backend.common.models.supers.SuperDao;
import org.apache.ibatis.annotations.Param;

/**
 * 危险源Mapper接口
 *
 * @author testor-framework
 * @date 2022-07-11 10:00:17
 */
public interface TSafeRiskMapDao extends SuperDao<TSafeRiskMapDO>
{
    /**
     * 分页查询
     * @param param
     * @return
     */
    IPage<TSafeRiskMapVO> listPage(Page<TSafeRiskMapVO> page, @Param("query") TSafeRiskMapDTOParam param);

}
