admin
2020-05-20 98b1a0affd69bbe63223c21fdd2c404e8bedfccb
fanli/src/main/java/com/yeshi/fanli/service/inter/order/dividents/TeamDividentsSourceOrderService.java
@@ -1,5 +1,6 @@
package com.yeshi.fanli.service.inter.order.dividents;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
@@ -17,56 +18,8 @@
    * void 返回类型
    * @throws
    */
   public void addTeamDividentsSourceOrder(TeamDividentsSourceOrder order) throws TeamDividentsSourceOrderException,ParamsException;
   /**
    *
    * @Title: listCanSendByUidAndPreSendTime
    * @Description:
    * @param uid
    * @param preSendTime
    * @return
    * List<TeamDividentsSourceOrder> 返回类型
    * @throws
    */
   public List<TeamDividentsSourceOrder> listCanSendByUidAndPreSendTime(Long uid, Date preSendTime, int page,
         int pageSize);
   /**
    *
    * @Title: countCanSendByUidAndPreSendTime
    * @Description:
    * @param uid
    * @param preSendTime
    * @return
    * long 返回类型
    * @throws
    */
   public long countCanSendByUidAndPreSendTime(Long uid, Date preSendTime);
   /**
    * 获取能够分红的订单源用户ID列表
    * @Title: listCanSendUidByPreSendTime
    * @Description:
    * @param preSendTime
    * @param page
    * @param count
    * @return
    * List<Long> 返回类型
    * @throws
    */
   public List<Long> listCanSendUidByPreSendTime(Date preSendTime, int page, int count);
   /**
    * 获取能够分红的订单源用户ID数量
    * @Title: countCanSendUidByPreSendTime
    * @Description:
    * @param preSendTime
    * @return
    * Long 返回类型
    * @throws
    */
   public Long countCanSendUidByPreSendTime(Date preSendTime);
   public TeamDividentsSourceOrder addTeamDividentsSourceOrder(TeamDividentsSourceOrder order)
         throws TeamDividentsSourceOrderException, ParamsException;
   /**
    * 根据主键查询
@@ -111,8 +64,7 @@
    * @throws
    */
   public void send(Long id);
   /**
    * 根据订单查询
    * @Title: selectByOrderNoSourceType
@@ -123,6 +75,42 @@
    * TeamDividentsSourceOrder 返回类型
    * @throws
    */
   public TeamDividentsSourceOrder selectByOrderNoSourceType(String orderNo,int sourceType);
   public TeamDividentsSourceOrder selectByOrderNoSourceType(String orderNo, int sourceType);
   /**
    * 根据订单号查询
    * @Title: listByOrderNoSourceType
    * @Description:
    * @param orderNo
    * @return
    * List<TeamDividentsSourceOrder> 返回类型
    * @throws
    */
   public List<TeamDividentsSourceOrder> listByOrderNoOrUid(String orderNo,Long uid);
   /**
    * 订单结算
    * @Title: orderSettle
    * @Description:
    * @param orderNo
    * @param sourceType
    * @param income
    * void 返回类型
    * @throws
    */
   public void orderSettle(String orderNo, int sourceType,Date preSendTime, BigDecimal income);
   /**
    * 更新资金
    * @Title: updateMoney
    * @Description:
    * @param orderNo
    * @param sourceType
    * @param money
    * void 返回类型
    * @throws
    */
   public void updateMoney(String orderNo, int sourceType, BigDecimal money);
}