package cn.com.tenlion.systembase.dao.keyareacheckrenovation;

import cn.com.tenlion.systembase.pojo.bos.keyareacheckrenovation.KeyAreaCheckRenovationBO;
import cn.com.tenlion.systembase.pojo.dtos.keyareacheckrenovation.KeyAreaCheckRenovationDTO;
import cn.com.tenlion.systembase.pojo.pos.keyareacheckrenovation.KeyAreaCheckRenovationPO;
import ink.wgink.exceptions.RemoveException;
import ink.wgink.exceptions.SaveException;
import ink.wgink.exceptions.SearchException;
import ink.wgink.exceptions.UpdateException;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @ClassName: IKeyAreaCheckRenovationDao
 * @Description: 重点地区排查整治
 * @Author: CodeFactory
 * @Date: 2021-10-12 16:37:43
 * @Version: 3.0
 **/
@Repository
public interface IKeyAreaCheckRenovationDao {

    /**
     * 新增重点地区排查整治
     *
     * @param params
     * @throws SaveException
     */
    void save(Map<String, Object> params) throws SaveException;

    /**
     * 删除重点地区排查整治
     *
     * @param params
     * @throws RemoveException
     */
    void remove(Map<String, Object> params) throws RemoveException;

    /**
     * 删除重点地区排查整治（物理）
     *
     * @param params
     * @throws RemoveException
     */
    void delete(Map<String, Object> params) throws RemoveException;

    /**
     * 修改重点地区排查整治
     *
     * @param params
     * @throws UpdateException
     */
    void update(Map<String, Object> params) throws UpdateException;

    /**
     * 重点地区排查整治详情
     *
     * @param params
     * @return
     * @throws SearchException
     */
    KeyAreaCheckRenovationDTO get(Map<String, Object> params) throws SearchException;

    /**
     * 重点地区排查整治详情
     *
     * @param params
     * @return
     * @throws SearchException
     */
    KeyAreaCheckRenovationBO getBO(Map<String, Object> params) throws SearchException;

    /**
     * 重点地区排查整治详情
     *
     * @param params
     * @return
     * @throws SearchException
     */
    KeyAreaCheckRenovationPO getPO(Map<String, Object> params) throws SearchException;

    /**
     * 重点地区排查整治列表
     *
     * @param params
     * @return
     * @throws SearchException
     */
    List<KeyAreaCheckRenovationDTO> list(Map<String, Object> params) throws SearchException;

    /**
     * 重点地区排查整治列表
     *
     * @param params
     * @return
     * @throws SearchException
     */
    List<KeyAreaCheckRenovationBO> listBO(Map<String, Object> params) throws SearchException;

    /**
     * 重点地区排查整治列表
     *
     * @param params
     * @return
     * @throws SearchException
     */
    List<KeyAreaCheckRenovationPO> listPO(Map<String, Object> params) throws SearchException;

    /**
     * 重点地区排查整治统计
     *
     * @param params
     * @return
     * @throws SearchException
     */
    Integer count(Map<String, Object> params) throws SearchException;

}