IUnionShareService.java
2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
package com.yoho.unions.server.service;
import com.yoho.service.model.union.bo.ShareOrderBo;
import com.yoho.service.model.union.bo.ShareSettlementBo;
import com.yoho.service.model.union.bo.ShareUserSettlementInfoBo;
import com.yoho.service.model.union.request.UnionShareOrderReqBO;
import com.yoho.service.model.union.request.UnionShareOrderSearchReqBO;
import com.yoho.service.model.union.response.PageUnionShareOrderRspBO;
import com.yoho.unions.dal.model.UnionShareOrders;
import com.yoho.unions.dal.model.UnionShareSettlement;
import com.yoho.unions.dal.model.UnionShareUser;
import java.math.BigDecimal;
import java.util.List;
/**
* 联盟红人推广返利
* Created by mingdan.ge on 2018/5/10.
*/
public interface IUnionShareService {
/**
* 订单插入或更新
*/
void saveOrUpdateOrder(ShareOrderBo bo);
PageUnionShareOrderRspBO queryUnionShareOrders(UnionShareOrderSearchReqBO reqBO);
/**
* 提现结算单状态变更
* */
void updateSettlementStatus(ShareSettlementBo bo);
/**
* 提现
*/
BigDecimal addSettlement(Integer uid);
/**
* 获取用户可提现金额、已提现金额、是否可以提现
* */
ShareUserSettlementInfoBo getUserSettleMentInfo(Integer uid);
/**
* 用户登录时获取对应的渠道号
* @param uid
* @return
*/
UnionShareUser queryUnionTypeByUid(int uid);
/**
* 用户前台获取个人推广近期订单(10个)
* @param uid
* @return
*/
UnionShareOrders queryRecentlyOrderLimitTen(int uid);
/**
* 订单明细
* @param orderCode
* @return
*/
ShareOrderBo queryOrderDetail(String orderCode);
/**
* 提现记录列表
* @param uid
* @return
*/
List<UnionShareSettlement> querySettlementRecord(int uid, Integer start, Integer size);
/**
* 订单列表
* @param unionShareOrderReqBO
* @return
*/
List<UnionShareOrders> queryOrderList(UnionShareOrderReqBO unionShareOrderReqBO);
}