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

import ink.wgink.exceptions.RemoveException;
import ink.wgink.exceptions.SaveException;
import ink.wgink.exceptions.SearchException;
import ink.wgink.exceptions.UpdateException;
import cn.com.tenlion.systembase.pojo.bos.lrs.LrsBO;
import cn.com.tenlion.systembase.pojo.pos.lrs.LrsPO;
import cn.com.tenlion.systembase.pojo.dtos.lrs.LrsDTO;
import org.springframework.stereotype.Repository;

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

/**
 * @ClassName: ILrsDao
 * @Description: 综治领导责任制
 * @Author: CodeFactory
 * @Date: 2021-10-11 17:25:26
 * @Version: 3.0
 **/
@Repository
public interface ILrsDao {

    /**
     * 新增综治领导责任制
     *
     * @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
     */
    LrsDTO get(Map<String, Object> params) throws SearchException;

    /**
     * 综治领导责任制详情
     *
     * @param params
     * @return
     * @throws SearchException
     */
    LrsBO getBO(Map<String, Object> params) throws SearchException;

    /**
     * 综治领导责任制详情
     *
     * @param params
     * @return
     * @throws SearchException
     */
    LrsPO getPO(Map<String, Object> params) throws SearchException;

    /**
     * 综治领导责任制列表
     *
     * @param params
     * @return
     * @throws SearchException
     */
    List<LrsDTO> list(Map<String, Object> params) throws SearchException;

    /**
     * 综治领导责任制列表
     *
     * @param params
     * @return
     * @throws SearchException
     */
    List<LrsBO> listBO(Map<String, Object> params) throws SearchException;

    /**
     * 综治领导责任制列表
     *
     * @param params
     * @return
     * @throws SearchException
     */
    List<LrsPO> listPO(Map<String, Object> params) throws SearchException;

    /**
     * 综治领导责任制统计
     *
     * @param params
     * @return
     * @throws SearchException
     */
    Integer count(Map<String, Object> params) throws SearchException;

}