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

import cn.com.tenlion.systembase.pojo.bos.logisticssafe.LogisticsSafeBO;
import cn.com.tenlion.systembase.pojo.dtos.logisticssafe.LogisticsSafeDTO;
import cn.com.tenlion.systembase.pojo.pos.logisticssafe.LogisticsSafePO;
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: ILogisticsSafeDao
 * @Description: 寄递物流安全管理
 * @Author: CodeFactory
 * @Date: 2021-10-19 14:16:33
 * @Version: 3.0
 **/
@Repository
public interface ILogisticsSafeDao {

    /**
     * 新增寄递物流安全管理
     *
     * @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
     */
    LogisticsSafeDTO get(Map<String, Object> params) throws SearchException;

    /**
     * 寄递物流安全管理详情
     *
     * @param params
     * @return
     * @throws SearchException
     */
    LogisticsSafeBO getBO(Map<String, Object> params) throws SearchException;

    /**
     * 寄递物流安全管理详情
     *
     * @param params
     * @return
     * @throws SearchException
     */
    LogisticsSafePO getPO(Map<String, Object> params) throws SearchException;

    /**
     * 寄递物流安全管理列表
     *
     * @param params
     * @return
     * @throws SearchException
     */
    List<LogisticsSafeDTO> list(Map<String, Object> params) throws SearchException;

    /**
     * 寄递物流安全管理列表
     *
     * @param params
     * @return
     * @throws SearchException
     */
    List<LogisticsSafeBO> listBO(Map<String, Object> params) throws SearchException;

    /**
     * 寄递物流安全管理列表
     *
     * @param params
     * @return
     * @throws SearchException
     */
    List<LogisticsSafePO> listPO(Map<String, Object> params) throws SearchException;

    /**
     * 寄递物流安全管理统计
     *
     * @param params
     * @return
     * @throws SearchException
     */
    Integer count(Map<String, Object> params) throws SearchException;

}