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

import cn.com.tenlion.systembase.pojo.bos.logisticssafepatrol.LogisticsSafePatrolBO;
import cn.com.tenlion.systembase.pojo.dtos.logisticssafepatrol.LogisticsSafePatrolDTO;
import cn.com.tenlion.systembase.pojo.pos.logisticssafepatrol.LogisticsSafePatrolPO;
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: ILogisticsSafePatrolDao
 * @Description: 寄递物流安全巡查
 * @Author: CodeFactory
 * @Date: 2021-10-20 11:28:32
 * @Version: 3.0
 **/
@Repository
public interface ILogisticsSafePatrolDao {

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

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

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

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

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

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

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

}