package com.chinaweal.aiccs.crgs.punish.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.chinaweal.aiccs.crgs.punish.entity.TbIlcPunInfoQuery;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author sh
 * @since 2022-05-26
 */
public interface TbIlcPunInfoQueryMapper extends BaseMapper<TbIlcPunInfoQuery> {

    IPage<TbIlcPunInfoQuery> searchByPage(Page<TbIlcPunInfoQuery> page, @Param("params") Map<String, Object> params);

    TbIlcPunInfoQuery findById(@Param("id") String id);

    IPage<com.chinaweal.aiccs.aiccs.punishment.entity.PunishmentUnionDto> searchUnionByPage(Page<?> page, @Param("params") Map<String, Object> params);
}
