package com.ximai.mes.md.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.ximai.mes.md.domain.MdClientItem;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * 客户产品对照Mapper接口
 *
 * @author generator
 * @date 2024-01-25
 */
public interface MdClientItemMapper extends BaseMapper<MdClientItem> {

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


    MdClientItem getById(@Param("id") Serializable id);

    List<String> getClientCodeListByClientCode(String clientCode);
}
