package org.security.trans.prevent.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.security.trans.common.service.FlowableService;
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 org.springblade.core.mp.support.Query;

import java.util.List;

/**
 * 风险提示表 服务类
 *
 * @author BladeX
 * @since 2022-07-07
 */
public interface IPreventRiskService extends FlowableService<PreventRisk> {

	IPage<PreventRiskVO> getPage(PreventRiskVO preventRiskVO, Query query);

	boolean saveRisk(PreventRiskVO preventRiskVO);

	boolean handinRisk(PreventRiskVO preventRiskVO);

	PreventRiskVO getDetail(PreventRisk preventRisk);

	/**
	 *风险提示数据统计
	 */
	List<RiskDataVO> getAimStatisticsData(StatisticsDataDTO statisticsDataDTO, List<String> aimDepts);
}
