| | |
| | | package com.yeshi.fanli.service.inter.order;
|
| | |
|
| | | import java.util.Date;
|
| | | import java.util.List;
|
| | | import java.util.Map;
|
| | |
|
| | | import com.yeshi.fanli.entity.bus.user.HongBao;
|
| | | import com.yeshi.fanli.entity.taobao.PidOrder;
|
| | | import com.yeshi.fanli.entity.bus.user.HongBaoV2;
|
| | | import com.yeshi.fanli.entity.jd.JDOrder;
|
| | | import com.yeshi.fanli.entity.order.CommonOrder;
|
| | | import com.yeshi.fanli.entity.pdd.PDDOrder;
|
| | | import com.yeshi.fanli.entity.taobao.TaoBaoOrder;
|
| | | import com.yeshi.fanli.entity.taobao.TaoBaoWeiQuanOrder;
|
| | | import com.yeshi.fanli.exception.HongBaoException;
|
| | | import com.yeshi.fanli.exception.OrderItemException;
|
| | | import com.yeshi.fanli.exception.TaoBaoWeiQuanException;
|
| | | import com.yeshi.fanli.exception.order.HongBaoException;
|
| | | import com.yeshi.fanli.exception.order.OrderItemException;
|
| | | import com.yeshi.fanli.exception.order.TaoBaoWeiQuanException;
|
| | |
|
| | | /**
|
| | | * 订单处理服务
|
| | |
| | | */
|
| | | public void processShopingFanliOrder(Map<String, List<TaoBaoOrder>> orders);
|
| | |
|
| | | public void processShopingFanliOrder(String orderId, List<TaoBaoOrder> orderList)
|
| | | /**
|
| | | * 处理分享商品订单
|
| | | */
|
| | | public void processShareGoodsOrder(Map<String, List<TaoBaoOrder>> orders);
|
| | |
|
| | | public void processShopingFanliOrderNew(String orderId, List<TaoBaoOrder> orderList)
|
| | | throws HongBaoException, OrderItemException;
|
| | |
|
| | | /**
|
| | | * 处理分享商品订单
|
| | | */
|
| | | public void processShareGoodsOrder(Map<String, List<PidOrder>> orders);
|
| | | public void processShareGoodsOrderNew(String orderId, List<TaoBaoOrder> orderList);
|
| | |
|
| | | /**
|
| | | * 处理返利
|
| | |
| | | *
|
| | | * @param hongBao
|
| | | * type=1的主红包
|
| | | * @throws TaoBaoWeiQuanException
|
| | | */
|
| | | public void fanli(HongBao hongBao) throws TaoBaoWeiQuanException;
|
| | | public void fanli(HongBaoV2 hongBao) throws TaoBaoWeiQuanException;
|
| | |
|
| | | |
| | | public void fanliPreInvaite(Date maxTime);
|
| | | |
| | | public void fanliShare(Date maxTime);
|
| | |
|
| | | /**
|
| | | * 邀请赚返利
|
| | | * |
| | | * @param hongBao
|
| | | * type=1且有子红包的主红包
|
| | |
|
| | | * 结算团队奖金+补贴
|
| | | * @Title: fanliInvaite
|
| | | * @Description: |
| | | * @param maxPreGetTime |
| | | * void 返回类型
|
| | | * @throws
|
| | | */
|
| | | public void fanliInvaiteAndShare();
|
| | |
|
| | | /**
|
| | | * 分享赚与邀请赚返利
|
| | | */
|
| | | public void fanliInvaiteAndShare(Long uid) throws TaoBaoWeiQuanException;
|
| | |
|
| | | public void fanliPreInvaite(Long uid, Date maxPreGetTime);
|
| | | |
| | | |
| | | public void fanliShare(Long uid, Date maxPreGetTime);
|
| | | |
| | | /**
|
| | | * 订单维权
|
| | | *
|
| | |
| | | *
|
| | | * @param order
|
| | | */
|
| | | public void weiQuanOrder(TaoBaoWeiQuanOrder order) ;
|
| | | |
| | | public void weiQuanOrder(TaoBaoWeiQuanOrder order);
|
| | |
|
| | | /**
|
| | | * 处理京东订单
|
| | | * |
| | | * @param order
|
| | | */
|
| | | public void processJDOrder(JDOrder order);
|
| | |
|
| | | /**
|
| | | * 处理拼多多订单
|
| | | * |
| | | * @param pddOrder
|
| | | */
|
| | | public void processPDDOrder(PDDOrder pddOrder);
|
| | |
|
| | | /**
|
| | | * 根据淘宝订单的排序值修复常规订单的排序值
|
| | | * |
| | | * @param orderId
|
| | | */
|
| | | public void repairCommonOrderByByTaoBaoOrder(String orderId);
|
| | |
|
| | | /**
|
| | | * 是否是分享赚订单
|
| | | * |
| | | * @param commonOrder
|
| | | * @return
|
| | | */
|
| | | public boolean isShareOrder(CommonOrder commonOrder);
|
| | |
|
| | | /**
|
| | | * 处理淘宝商家未付款的情况
|
| | | */
|
| | | public void doTaoBaoSellerNotPaid(TaoBaoOrder order);
|
| | |
|
| | | /**
|
| | | * 获取可以返利的饿了么红包
|
| | | * @return
|
| | | */
|
| | | public List<HongBaoV2> getCanBalanceElmeFanliHongBao();
|
| | |
|
| | | /**
|
| | | * 饿了么返利
|
| | | * @param hongBaoId
|
| | | */
|
| | | public void elmeFanli(Long hongBaoId);
|
| | | }
|