package com.cpxt.biz.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cpxt.biz.domain.BizCustomerWarehouse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 仓库Mapper接口
 * 
 * @author YIN
 * @date 2024-12-16
 */
@Mapper
public interface BizCustomerWarehouseMapper extends BaseMapper<BizCustomerWarehouse>
{
    @Select("select * from biz_customer_warehouse where customer_id = ${id}")
    List<BizCustomerWarehouse> selectByCustomerId(Long id);

    @Select("select linkphone from biz_customer_warehouse where customer_id = ${id}")
    List<String> selectLinkPhoneByCustomerId(Long id);
}
