yujian
2019-11-05 09c716a16d02ddb06df2bc2af5e588128bc7fdb4
fanli/src/main/java/com/yeshi/fanli/service/inter/order/HongBaoV2Service.java
@@ -25,9 +25,12 @@
   /**
    * 添加红包
    * @param commonOrder   订单对象
    * @param type  类型
    * @return 0-未添加也未更新   1-只添加  2-只更新 12-有添加也有更新
    *
    * @param commonOrder
    *            订单对象
    * @param type
    *            类型
    * @return 0-未添加也未更新 1-只添加 2-只更新 12-有添加也有更新
    * @throws HongBaoException
    */
   public int addHongBao(List<CommonOrder> commonOrder, int type) throws HongBaoException;
@@ -129,6 +132,14 @@
   public List<HongBaoV2> listChildrenById(Long id);
   /**
    * 查询子红包
    *
    * @param idList
    * @return
    */
   public List<HongBaoV2> listChildrenByIds(List<Long> idList);
   /**
    * 最近30天内产生过分享订单的用户
    * 
    * @return
@@ -162,4 +173,11 @@
    */
   public HongBaoV2 getFirstValidHongBaoByTypeAndUid(List<Integer> typeList, Long uid);
   /**
    * 根据ID批量查询
    *
    * @param idList
    * @return
    */
   public List<HongBaoV2> listByIds(List<Long> idList);
}