| | |
| | | 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;
|
| | |
| | | * @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之前的版本)
|
| | |
| | | * @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);
|
| | | }
|