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

import cn.com.tenlion.systembase.pojo.bos.homicidesuspect.HomicideSuspectBO;
import cn.com.tenlion.systembase.pojo.dtos.homicidesuspect.HomicideSuspectDTO;
import cn.com.tenlion.systembase.pojo.pos.homicidesuspect.HomicideSuspectPO;
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: IHomicideSuspectDao
 * @Description: 命案犯罪嫌疑人
 * @Author: CodeFactory
 * @Date: 2021-10-19 10:59:12
 * @Version: 3.0
 **/
@Repository
public interface IHomicideSuspectDao {

    /**
     * 新增命案犯罪嫌疑人
     *
     * @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
     */
    HomicideSuspectDTO get(Map<String, Object> params) throws SearchException;

    /**
     * 命案犯罪嫌疑人详情
     *
     * @param params
     * @return
     * @throws SearchException
     */
    HomicideSuspectBO getBO(Map<String, Object> params) throws SearchException;

    /**
     * 命案犯罪嫌疑人详情
     *
     * @param params
     * @return
     * @throws SearchException
     */
    HomicideSuspectPO getPO(Map<String, Object> params) throws SearchException;

    /**
     * 命案犯罪嫌疑人列表
     *
     * @param params
     * @return
     * @throws SearchException
     */
    List<HomicideSuspectDTO> list(Map<String, Object> params) throws SearchException;

    /**
     * 命案犯罪嫌疑人列表
     *
     * @param params
     * @return
     * @throws SearchException
     */
    List<HomicideSuspectBO> listBO(Map<String, Object> params) throws SearchException;

    /**
     * 命案犯罪嫌疑人列表
     *
     * @param params
     * @return
     * @throws SearchException
     */
    List<HomicideSuspectPO> listPO(Map<String, Object> params) throws SearchException;

    /**
     * 命案犯罪嫌疑人统计
     *
     * @param params
     * @return
     * @throws SearchException
     */
    Integer count(Map<String, Object> params) throws SearchException;

}