| | |
| | | |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.yeshi.fanli.vo.order.HongBaoV2VO; |
| | | |
| | | public interface HongBaoV2CountMapper { |
| | | |
| | | |
| | |
| | | * @return |
| | | */ |
| | | Integer countNumberByUidAndState(@Param("uid")Long uid, @Param("state") Integer state); |
| | | |
| | | /** |
| | | * 统计用户总的红包数量 |
| | | * @param uid |
| | | * @return |
| | | */ |
| | | Long countNumberByUid(@Param("uid")Long uid); |
| | | |
| | | /** |
| | | * 统计总金额 |
| | |
| | | */ |
| | | List<Map<String, Object>> count24HOderByChannel(@Param("channel") String channel, @Param("type") Integer type, |
| | | @Param("years") String years, @Param("startTime") String startTime, @Param("endTime") String endTime); |
| | | |
| | | List<HongBaoV2VO> listShareAndInviteMoney(@Param("start") long start, @Param("count") int count, |
| | | @Param("date") String date); |
| | | |
| | | |
| | | /** |
| | | * 统计奖励券总金额 |
| | | * @return |
| | | */ |
| | | BigDecimal countRebateCouponMoney(); |
| | | |
| | | |
| | | } |