package com.yeshi.fanli.service.inter.order;
|
|
import java.util.List;
|
|
import com.yeshi.fanli.entity.order.HongBaoOrder;
|
|
public interface HongBaoOrderService {
|
|
public int insert(HongBaoOrder record);
|
|
public int insertSelective(HongBaoOrder record);
|
|
public int updateByPrimaryKey(HongBaoOrder record);
|
|
public int updateByPrimaryKeySelective(HongBaoOrder record);
|
|
public int deleteByPrimaryKey(Long id);
|
|
public HongBaoOrder selectByPrimaryKey(Long id);
|
|
/**
|
* 老版本的用户返利订单列表
|
*
|
* @param uid
|
* @param page
|
* @param pageSize
|
* @return
|
*/
|
|
public List<HongBaoOrder> listFanLiOrder(Long uid, int page, int pageSize);
|
|
/**
|
* 老版本用户返利订单数量
|
*
|
* @param uid
|
* @return
|
*/
|
public long countFanLiOrder(Long uid);
|
|
/**
|
* 根据订单号和订单来源获取数量
|
*
|
* @param orderNo
|
* @param hongBaotype
|
* @param sourceType
|
* @return
|
*/
|
public long countByOrderNoAndHongBaoType(String orderNo, int hongBaotype, int sourceType);
|
|
/**
|
* 获取详情
|
* @param commonOrderId
|
* @return
|
*/
|
public HongBaoOrder selectDetailByCommonOrderId(Long commonOrderId);
|
|
}
|