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

import cn.com.tenlion.systembase.pojo.bos.keyareacheckrenovationpatrol.KeyAreaCheckRenovationPatrolBO;
import cn.com.tenlion.systembase.pojo.dtos.keyareacheckrenovationpatrol.KeyAreaCheckRenovationPatrolDTO;
import cn.com.tenlion.systembase.pojo.pos.keyareacheckrenovationpatrol.KeyAreaCheckRenovationPatrolPO;
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: IKeyAreaCheckRenovationPatrolDao
 * @Description: 重点区域巡查记录
 * @Author: CodeFactory
 * @Date: 2021-10-20 09:50:11
 * @Version: 3.0
 **/
@Repository
public interface IKeyAreaCheckRenovationPatrolDao {

    /**
     * 新增重点区域巡查记录
     *
     * @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
     */
    KeyAreaCheckRenovationPatrolDTO get(Map<String, Object> params) throws SearchException;

    /**
     * 重点区域巡查记录详情
     *
     * @param params
     * @return
     * @throws SearchException
     */
    KeyAreaCheckRenovationPatrolBO getBO(Map<String, Object> params) throws SearchException;

    /**
     * 重点区域巡查记录详情
     *
     * @param params
     * @return
     * @throws SearchException
     */
    KeyAreaCheckRenovationPatrolPO getPO(Map<String, Object> params) throws SearchException;

    /**
     * 重点区域巡查记录列表
     *
     * @param params
     * @return
     * @throws SearchException
     */
    List<KeyAreaCheckRenovationPatrolDTO> list(Map<String, Object> params) throws SearchException;

    /**
     * 重点区域巡查记录列表
     *
     * @param params
     * @return
     * @throws SearchException
     */
    List<KeyAreaCheckRenovationPatrolBO> listBO(Map<String, Object> params) throws SearchException;

    /**
     * 重点区域巡查记录列表
     *
     * @param params
     * @return
     * @throws SearchException
     */
    List<KeyAreaCheckRenovationPatrolPO> listPO(Map<String, Object> params) throws SearchException;

    /**
     * 重点区域巡查记录统计
     *
     * @param params
     * @return
     * @throws SearchException
     */
    Integer count(Map<String, Object> params) throws SearchException;

}