package com.jeeplus.test.wdt.merchantCompany.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jeeplus.test.wdt.merchantCompany.domain.SettledPlatform;
import com.jeeplus.test.wdt.merchantCompany.service.dto.SettledPlatformDTO;
import org.apache.ibatis.annotations.Param;

/**
 * 入驻平台mapper
 * @author: 徐滕
 * @version: 2024-01-04 15:59
 */
public interface SettledPlatformMapper extends BaseMapper<SettledPlatform> {

    /**
     * 根据id获取入驻平台信息
     * @param id
     * @return
     */
    SettledPlatformDTO findById(String id);


    /**
     * 获取入驻平台表单列表
     *
     * @param queryWrapper
     * @return
     */
    IPage<SettledPlatformDTO> findList(Page<SettledPlatformDTO> page, @Param(Constants.WRAPPER) QueryWrapper queryWrapper);
}
