You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.4 KiB
Java
45 lines
1.4 KiB
Java
package com.kiisoo.ic.customer.mapper;
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import com.kiisoo.ic.customer.entity.OpCustomer;
|
|
import com.kiisoo.ic.customer.bean.OpCustomerDTO;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
import java.util.Date;
|
|
import java.util.List;
|
|
import java.util.Set;
|
|
|
|
/**
|
|
* 客户
|
|
*/
|
|
@Repository
|
|
public interface OpCustomerDOMapper extends BaseMapper<OpCustomer> {
|
|
|
|
/**
|
|
* 根据店铺id找到所有推广顾客信息
|
|
* @param shopIds 店铺id
|
|
* @param startDate 推广开始时间
|
|
* @param endDate 推广结束时间
|
|
* @return
|
|
*/
|
|
List<OpCustomerDTO> selectCustomerInfoByShopIds(@Param("shopId") Set<Long> shopIds,
|
|
@Param("startDate")Date startDate, @Param("endDate") Date endDate);
|
|
|
|
/**
|
|
* 根据导购id找到所有推广顾客信息
|
|
* @param sellerId 店铺id
|
|
* @param startDate 推广开始时间
|
|
* @param endDate 推广结束时间
|
|
* @return
|
|
*/
|
|
List<OpCustomerDTO> selectCustomerInfoBySellerId(@Param("sellerId") long sellerId, @Param("startDate") Date startDate,@Param("endDate") Date endDate);
|
|
|
|
/**
|
|
* 客户list
|
|
*/
|
|
List<OpCustomer> selectCustomerList(@Param("shopIds") List<Long> shopIds, @Param("sellerId") Long sellerId, @Param("memberId") Long memberId, @Param("startDate") Date startDate, @Param("endDate") Date endDate);
|
|
|
|
|
|
}
|