| | |
| | | package com.yeshi.fanli.service.inter.order;
|
| | |
|
| | | import com.yeshi.fanli.exception.money.OrderMoneySettleException;
|
| | |
|
| | | /**
|
| | | * 订单资金结算服务
|
| | | * |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | public interface OrderMoneySettleService {
|
| | |
|
| | | /**
|
| | | * 邀请赚结算
|
| | | * |
| | | * @param uid
|
| | | */
|
| | | public void inviteSettleTB(Long uid) throws OrderMoneySettleException;
|
| | |
|
| | | public void inviteSettleJD(Long uid) throws OrderMoneySettleException;
|
| | |
|
| | | public void inviteSettlePDD(Long uid) throws OrderMoneySettleException;
|
| | |
|
| | | /**
|
| | | * 分享赚结算
|
| | | * |
| | | * @param uid
|
| | | */
|
| | | public void shareSettleTB(Long uid) throws OrderMoneySettleException;
|
| | |
|
| | | public void shareSettleJD(Long uid) throws OrderMoneySettleException;
|
| | |
|
| | | public void shareSettlePDD(Long uid) throws OrderMoneySettleException;
|
| | |
|
| | | /**
|
| | | * 自购结算
|
| | | * |
| | | * @param orderId
|
| | | * @param sourceType
|
| | | */
|
| | | public void ziGouSettle(String orderId, int sourceType,String taskKey) throws OrderMoneySettleException;
|
| | |
|
| | | /**
|
| | | * 邀请补贴结算
|
| | | * @param uid
|
| | | * @param taskKey
|
| | | * @throws OrderMoneySettleException
|
| | | */
|
| | | public void inviteSubsidySettle(Long uid, String taskKey) throws OrderMoneySettleException;
|
| | | }
|
| | | package com.yeshi.fanli.service.inter.order; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.yeshi.fanli.exception.money.OrderMoneySettleException; |
| | | |
| | | /** |
| | | * 订单资金结算服务 |
| | | * |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | public interface OrderMoneySettleService { |
| | | |
| | | /** |
| | | * 邀请赚结算 |
| | | * |
| | | * @param uid |
| | | */ |
| | | public void inviteSettleTB(Long uid, Date maxPregetTime) throws OrderMoneySettleException; |
| | | |
| | | public void inviteSettleJD(Long uid, Date maxPregetTime) throws OrderMoneySettleException; |
| | | |
| | | public void inviteSettlePDD(Long uid, Date maxPregetTime) throws OrderMoneySettleException; |
| | | |
| | | public void inviteSettleSuning(Long uid, Date maxPregetTime) throws OrderMoneySettleException; |
| | | |
| | | public void inviteSettleVipShop(Long uid, Date maxPregetTime) throws OrderMoneySettleException; |
| | | |
| | | /** |
| | | * 分享赚结算 |
| | | * |
| | | * @param uid |
| | | */ |
| | | public void shareSettleTB(Long uid, Date maxPregetTime) throws OrderMoneySettleException; |
| | | |
| | | public void shareSettleJD(Long uid, Date maxPregetTime) throws OrderMoneySettleException; |
| | | |
| | | public void shareSettlePDD(Long uid, Date maxPregetTime) throws OrderMoneySettleException; |
| | | |
| | | public void shareSettleVipShop(Long uid, Date maxPregetTime) throws OrderMoneySettleException; |
| | | |
| | | public void shareSettleSuning(Long uid, Date maxPregetTime) throws OrderMoneySettleException; |
| | | |
| | | /** |
| | | * 自购结算 |
| | | * |
| | | * @param orderId |
| | | * @param sourceType |
| | | */ |
| | | public void ziGouSettle(String orderId, int sourceType, String taskKey) throws OrderMoneySettleException; |
| | | |
| | | } |