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.
bsdgy-server/src/main/java/com/kiisoo/ic/customer/mapper/OpSellerCustomerRelationDOM...

64 lines
2.1 KiB
Java

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<OpSellerCustomerRelation> {
6 years ago
/**
*
6 years ago
* @param userId
6 years ago
* @param search
* @param startDate
* @param endDate
* @param type
* @return
*/
6 years ago
List<FriendDTO> selectFriendListBySeller(@Param("userId") Long userId,
6 years ago
@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
*/
6 years ago
List<FriendDTO> 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);
6 years ago
/**
* id
* @param id
* @return
*/
String selectStaffName(@Param("id") Long id);
List<Map<String, Object>> selectAllCustomer(@Param("ids") List<Long> ids);
List<Map<String, Object>> selectAllCustomer1(@Param("ids") List<Long> ids);
List<Map<String, Object>> selectAllCustomerShop(@Param("ids") List<Long> ids);
List<Map<String, Object>> selectAllCustomerShop1(@Param("ids") List<Long> ids);
}