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

import cn.com.tenlion.systembase.pojo.bos.comprehensivemsgcenter.ComprehensiveMsgCenterBO;
import cn.com.tenlion.systembase.pojo.dtos.comprehensivemsgcenter.ComprehensiveMsgCenterDTO;
import cn.com.tenlion.systembase.pojo.pos.comprehensivemsgcenter.ComprehensiveMsgCenterPO;
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: IComprehensiveMsgCenterDao
 * @Description: 综治视联网信息中心
 * @Author: CodeFactory
 * @Date: 2021-10-12 16:04:09
 * @Version: 3.0
 **/
@Repository
public interface IComprehensiveMsgCenterDao {

    /**
     * 新增综治视联网信息中心
     *
     * @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
     */
    ComprehensiveMsgCenterDTO get(Map<String, Object> params) throws SearchException;

    /**
     * 综治视联网信息中心详情
     *
     * @param params
     * @return
     * @throws SearchException
     */
    ComprehensiveMsgCenterBO getBO(Map<String, Object> params) throws SearchException;

    /**
     * 综治视联网信息中心详情
     *
     * @param params
     * @return
     * @throws SearchException
     */
    ComprehensiveMsgCenterPO getPO(Map<String, Object> params) throws SearchException;

    /**
     * 综治视联网信息中心列表
     *
     * @param params
     * @return
     * @throws SearchException
     */
    List<ComprehensiveMsgCenterDTO> list(Map<String, Object> params) throws SearchException;

    /**
     * 综治视联网信息中心列表
     *
     * @param params
     * @return
     * @throws SearchException
     */
    List<ComprehensiveMsgCenterBO> listBO(Map<String, Object> params) throws SearchException;

    /**
     * 综治视联网信息中心列表
     *
     * @param params
     * @return
     * @throws SearchException
     */
    List<ComprehensiveMsgCenterPO> listPO(Map<String, Object> params) throws SearchException;

    /**
     * 综治视联网信息中心统计
     *
     * @param params
     * @return
     * @throws SearchException
     */
    Integer count(Map<String, Object> params) throws SearchException;

}