admin
2019-07-30 573c491b4a1ba60e12a5678a01c1546c0077c1ee
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/HongBaoV2CountMapper.java
@@ -7,6 +7,8 @@
import org.apache.ibatis.annotations.Param;
import com.yeshi.fanli.vo.order.HongBaoV2VO;
public interface HongBaoV2CountMapper {
   
@@ -26,6 +28,13 @@
    * @return
    */
   Integer countNumberByUidAndState(@Param("uid")Long uid, @Param("state") Integer state);
   /**
    * 统计用户总的红包数量
    * @param uid
    * @return
    */
   Long countNumberByUid(@Param("uid")Long uid);
   
   /**
    * 统计总金额
@@ -113,5 +122,16 @@
    */
   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();
}