package com.gxwebsoft.credit.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gxwebsoft.credit.entity.CreditJudiciary;
import com.gxwebsoft.credit.param.CreditJudiciaryParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 司法案件Mapper
 *
 * @author 科技小王子
 * @since 2025-12-16 15:23:58
 */
public interface CreditJudiciaryMapper extends BaseMapper<CreditJudiciary> {

    /**
     * 分页查询
     *
     * @param page  分页对象
     * @param param 查询参数
     * @return List<CreditJudiciary>
     */
    List<CreditJudiciary> selectPageRel(@Param("page") IPage<CreditJudiciary> page,
                             @Param("param") CreditJudiciaryParam param);

    /**
     * 查询全部
     *
     * @param param 查询参数
     * @return List<User>
     */
    List<CreditJudiciary> selectListRel(@Param("param") CreditJudiciaryParam param);

}
