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

import cn.com.tenlion.systembase.pojo.bos.linecase.LineCaseBO;
import cn.com.tenlion.systembase.pojo.dtos.linecase.LineCaseDTO;
import cn.com.tenlion.systembase.pojo.pos.linecase.LineCasePO;
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: ILineCaseDao
 * @Description: 涉及线、路案（事）件
 * @Author: CodeFactory
 * @Date: 2021-10-13 14:58:15
 * @Version: 3.0
 **/
@Repository
public interface ILineCaseDao {

    /**
     * 新增涉及线、路案（事）件
     *
     * @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
     */
    LineCaseDTO get(Map<String, Object> params) throws SearchException;

    /**
     * 涉及线、路案（事）件详情
     *
     * @param params
     * @return
     * @throws SearchException
     */
    LineCaseBO getBO(Map<String, Object> params) throws SearchException;

    /**
     * 涉及线、路案（事）件详情
     *
     * @param params
     * @return
     * @throws SearchException
     */
    LineCasePO getPO(Map<String, Object> params) throws SearchException;

    /**
     * 涉及线、路案（事）件列表
     *
     * @param params
     * @return
     * @throws SearchException
     */
    List<LineCaseDTO> list(Map<String, Object> params) throws SearchException;

    /**
     * 涉及线、路案（事）件列表
     *
     * @param params
     * @return
     * @throws SearchException
     */
    List<LineCaseBO> listBO(Map<String, Object> params) throws SearchException;

    /**
     * 涉及线、路案（事）件列表
     *
     * @param params
     * @return
     * @throws SearchException
     */
    List<LineCasePO> listPO(Map<String, Object> params) throws SearchException;

    /**
     * 涉及线、路案（事）件统计
     *
     * @param params
     * @return
     * @throws SearchException
     */
    Integer count(Map<String, Object> params) throws SearchException;

}