package org.security.trans.prevent.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.security.trans.dataStatistics.dto.StatisticsDataDTO;
import org.security.trans.dataStatistics.vo.RiskDataVO;
import org.security.trans.prevent.entity.PreventRisk;
import org.security.trans.prevent.vo.PreventRiskVO;

import java.util.List;

/**
 * 风险提示表 Mapper 接口
 *
 * @author BladeX
 * @since 2022-07-07
 */
public interface PreventRiskMapper extends BaseMapper<PreventRisk> {

	List<PreventRiskVO> getPage(IPage<PreventRiskVO> page, @Param("preventRiskVO")PreventRiskVO preventRiskVO);

	List<RiskDataVO> getAimStatisticsData(@Param("statisticsDataDTO") StatisticsDataDTO statisticsDataDTO,@Param("aimDepts") List<String> aimDepts);
}
