package com.kiisoo.ic.customer.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.kiisoo.ic.customer.bean.FriendDTO; import com.kiisoo.ic.customer.entity.OpSellerCustomerRelation; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.Date; import java.util.List; import java.util.Map; /** * 导购客户 */ @Repository public interface OpSellerCustomerRelationDOMapper extends BaseMapper { /** * 查询用户 * @param userId * @param search * @param startDate * @param endDate * @param type * @return */ List selectFriendListBySeller(@Param("userId") Long userId, @Param("search") String search, @Param("startDate") Date startDate, @Param("endDate") Date endDate, @Param("type") Integer type); /** * 查询用户 * @param shopId * @param sellerId * @param search * @param startDate * @param endDate * @param type * @return */ List selectFriendListByShopId(@Param("shopId") Long shopId, @Param("sellerId") Long sellerId, @Param("search") String search, @Param("startDate") Date startDate, @Param("endDate") Date endDate, @Param("type") Integer type); /** * 根据导购id查询导购名 * @param id * @return */ String selectStaffName(@Param("id") Long id); List> selectAllCustomer(@Param("ids") List ids); List> selectAllCustomer1(@Param("ids") List ids); List> selectAllCustomerShop(@Param("ids") List ids); List> selectAllCustomerShop1(@Param("ids") List ids); }