package com.yeshi.fanli.dao.mybatis.order;
|
|
import java.util.List;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import com.yeshi.fanli.dao.BaseMapper;
|
import com.yeshi.fanli.entity.order.HongBaoOrder;
|
|
public interface HongBaoOrderMapper extends BaseMapper<HongBaoOrder> {
|
|
/**
|
* 根据订单ID查询对象
|
*
|
* @param id
|
* @return
|
*/
|
HongBaoOrder selectByCommonOrderId(Long id);
|
|
/**
|
* 返利订单列表(1.4.9之前)
|
*
|
* @param uid
|
* @param start
|
* @param count
|
* @return
|
*/
|
List<HongBaoOrder> listFanLiOrder(@Param("uid") Long uid, @Param("start") long start, @Param("count") int count);
|
|
/**
|
* 返利订单数量(1.4.9之前)
|
*
|
* @param uid
|
* @return
|
*/
|
Long countFanLiOrder(Long uid);
|
|
}
|