package com.ruoyi.hezhi.mapper;

import com.ruoyi.hezhi.domain.TbAuthorizeHonor;

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

/**
 * 授权荣誉Mapper接口
 *
 * @author ruoyi
 * @date 2024-10-16
 */
public interface TbAuthorizeHonorMapper
{
    /**
     * 查询授权荣誉
     *
     * @param authorizeHonorId 授权荣誉主键
     * @return 授权荣誉
     */
    public TbAuthorizeHonor selectTbAuthorizeHonorByAuthorizeHonorId(Long authorizeHonorId);

    /**
     * 查询授权荣誉列表
     *
     * @param tbAuthorizeHonor 授权荣誉
     * @return 授权荣誉集合
     */
    public List<TbAuthorizeHonor> selectTbAuthorizeHonorList(TbAuthorizeHonor tbAuthorizeHonor);

    /**
     * 新增授权荣誉
     *
     * @param tbAuthorizeHonor 授权荣誉
     * @return 结果
     */
    public int insertTbAuthorizeHonor(TbAuthorizeHonor tbAuthorizeHonor);

    /**
     * 修改授权荣誉
     *
     * @param tbAuthorizeHonor 授权荣誉
     * @return 结果
     */
    public int updateTbAuthorizeHonor(TbAuthorizeHonor tbAuthorizeHonor);

    /**
     * 删除授权荣誉
     *
     * @param authorizeHonorId 授权荣誉主键
     * @return 结果
     */
    public int deleteTbAuthorizeHonorByAuthorizeHonorId(Long authorizeHonorId);

    /**
     * 批量删除授权荣誉
     *
     * @param authorizeHonorIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTbAuthorizeHonorByAuthorizeHonorIds(Long[] authorizeHonorIds);

    /**
     * 授权及荣誉列表
     *
     * @param params 参数
     * @return 授权及荣誉列表
     */
    public List<Map<String, Object>> getAuthorizeHonorList(Map<String, Object> params);
}
