package com.qmth.sop.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qmth.sop.business.bean.result.SysCustomResult;
import com.qmth.sop.business.entity.SysCustom;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * 客户表 Mapper 接口.
 *
 * @author: shudonghui
 * @date: 2023-08-02 11:55:18
 * @version: 1.0
 * @email: shudonghui@qmth.com.cn
 * @Company: www.qmth.com.cn
 */
public interface SysCustomMapper extends BaseMapper<SysCustom> {

    /**
     * 查询客户列表
     *
     * @param iPage
     * @param type
     * @param managerId
     * @param name
     * @param levelId
     * @return
     */
    IPage<SysCustomResult> query(Page<Map> iPage, @Param("type") String type, @Param("managerId") Long managerId, @Param("name") String name, @Param("levelId") Long levelId);

}
