| | |
| | | |
| | | // 累计提成订单数量(包含无效订单) |
| | | int getTotalTiChengCount(Long uid); |
| | | |
| | | |
| | | // 累计提成红包数量(包含无效) |
| | | long getHongBaoCount(@Param("uid") Long uid, @Param("type") Integer type); |
| | | |
| | | /** |
| | | * 统计未失效订单数量 |
| | |
| | | * @return |
| | | */ |
| | | BigDecimal getOrderRewardByTeamUidTheMonth(@Param("uid") Long uid, @Param("teamUid") Long teamUid); |
| | | |
| | | |
| | | /** |
| | | * 统计已到账金额 |
| | | * @param uid |
| | | * @param list 类型 |
| | | * @return |
| | | */ |
| | | BigDecimal getRewardMoneyByUid(@Param("uid") Long uid, @Param("list") List<Integer> list); |
| | | |
| | | /** |
| | | * 注:1.有效一级队员定义:2019年1月1日起,自购或分享1笔且付款总金额不小于 payment 元(退款为失效 |
| | | * @param uid |
| | | * @param list 类型 |
| | | * @return |
| | | */ |
| | | long countValidOrderTeamUserByUid(@Param("uid") Long uid, @Param("time") Long time, |
| | | @Param("payment") BigDecimal payment); |
| | | |
| | | |
| | | /** |
| | | * 查询用户个类型预计奖金 |
| | | * @param uid |
| | | * @param dateType 日期类型 |
| | | * @param hbType 红包类型 |
| | | * @return |
| | | */ |
| | | BigDecimal getRewardMoneyByDate(@Param("uid") Long uid, @Param("day")Integer dateType, |
| | | @Param("type") Integer hbType, @Param("orderState") Integer orderState, |
| | | @Param("orderNo") String orderNo, @Param("source") Integer source, |
| | | @Param("startTime") String startTime, @Param("endTime") String endTime); |
| | | } |