admin
2020-05-06 24a8d17e007545f7426c48352109aa1a9c6587ee
fanli/src/main/java/com/yeshi/fanli/service/inter/order/dividents/TeamDividentsSourceOrderService.java
@@ -1,7 +1,7 @@
package com.yeshi.fanli.service.inter.order.dividents;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import com.yeshi.fanli.entity.order.dividents.TeamDividentsSourceOrder;
import com.yeshi.fanli.exception.ParamsException;
@@ -17,56 +17,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 +63,7 @@
    * @throws
    */
   public void send(Long id);
   /**
    * 根据订单查询
    * @Title: selectByOrderNoSourceType
@@ -123,6 +74,30 @@
    * TeamDividentsSourceOrder 返回类型
    * @throws
    */
   public TeamDividentsSourceOrder selectByOrderNoSourceType(String orderNo,int sourceType);
   public TeamDividentsSourceOrder selectByOrderNoSourceType(String orderNo, int sourceType);
   /**
    * 订单结算
    * @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);
}