package com.yunzhi.marketing.xlk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yunzhi.marketing.xlk.entity.ChannelCustomer;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 渠道报备客户表  Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2021-07-19
 */
@Mapper
public interface ChannelCustomerMapper extends BaseMapper<ChannelCustomer> {

    IPage<ChannelCustomer> getProfileList(IPage<ChannelCustomer> pg,
                                          @Param("orgId") Integer orgId,
                                          @Param("buildingId") String buildingId,
                                          @Param("name") String name,
                                          @Param("phone") String phone,
                                          @Param("recommendPersonName") String recommendPersonName,
                                          @Param("recommendPhone") String recommendPhone,
                                          @Param("status") String status);

}
