admin
2020-05-06 24a8d17e007545f7426c48352109aa1a9c6587ee
fanli/src/main/java/com/yeshi/fanli/service/inter/order/HongBaoV2Service.java
@@ -5,6 +5,7 @@
import java.util.List;
import com.yeshi.fanli.dto.HongBaoDTO;
import com.yeshi.fanli.dto.order.HongBaoAddResult;
import com.yeshi.fanli.entity.bus.user.HongBaoV2;
import com.yeshi.fanli.entity.order.CommonOrder;
import com.yeshi.fanli.exception.order.HongBaoException;
@@ -34,7 +35,7 @@
    * @return 0-未添加也未更新 1-只添加 2-只更新 12-有添加也有更新
    * @throws HongBaoException
    */
   public int addHongBao(List<CommonOrder> commonOrder, int type) throws HongBaoException,UserAccountException ;
   public HongBaoAddResult addHongBao(List<CommonOrder> commonOrder, int type) throws HongBaoException,UserAccountException ;
   /**
    * 奖金列表(1.4.9之前的版本)
@@ -181,4 +182,18 @@
    * @return
    */
   public List<HongBaoV2> listByIds(List<Long> idList);
   /**
    * 根据交易id查询红包信息
    * @param tradeId
    * @return
    */
   public List<HongBaoDTO> listByOrderTradeId(String tradeId);
   /**
    * 查询直接上级当时获得红包等级
    * @param pid
    * @return
    */
   public Integer getDirectBossUrankByPid(Long pid);
}