package com.gxwebsoft.credit.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.credit.entity.CreditUser;
import com.gxwebsoft.credit.param.CreditUserParam;

import java.util.List;

/**
 * 招投标信息表Service
 *
 * @author 科技小王子
 * @since 2025-12-15 13:16:03
 */
public interface CreditUserService extends IService<CreditUser> {

    /**
     * 分页关联查询
     *
     * @param param 查询参数
     * @return PageResult<CreditUser>
     */
    PageResult<CreditUser> pageRel(CreditUserParam param);

    /**
     * 关联查询全部
     *
     * @param param 查询参数
     * @return List<CreditUser>
     */
    List<CreditUser> listRel(CreditUserParam param);

    /**
     * 根据id查询
     *
     * @param id ID
     * @return CreditUser
     */
    CreditUser getByIdRel(Integer id);

    CreditUser getByName(String name);
}
