| | |
| | | package com.yeshi.fanli.dao.mybatis.order;
|
| | |
|
| | | import java.math.BigDecimal;
|
| | | import java.util.Date;
|
| | | import java.util.List;
|
| | |
|
| | | import org.apache.ibatis.annotations.Param;
|
| | |
| | | * @throws
|
| | | */
|
| | | long countCanSettle(@Param("uid") Long uid);
|
| | |
|
| | | /**
|
| | | * 获取某个时间点可以结算的用户ID列表
|
| | | * @Title: listCanSettleUid
|
| | | * @Description: |
| | | * @param time
|
| | | * @param start
|
| | | * @param count
|
| | | * @return |
| | | * List<Long> 返回类型
|
| | | * @throws
|
| | | */
|
| | | List<Long> listCanSettleUid( @Param("time") Date time, @Param("start") long start, @Param("count") int count);
|
| | |
|
| | | /**
|
| | | * 获取某个时间点可以结算的用户数量
|
| | | * @Title: countCanSettleUid
|
| | | * @Description: |
| | | * @param time
|
| | | * @return |
| | | * Long 返回类型
|
| | | * @throws
|
| | | */
|
| | | Long countCanSettleUid(Date time);
|
| | | |
| | | |
| | | /**
|
| | | * 统计用户已到账金额
|
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | BigDecimal sumRecievedMoneyByUid(@Param("uid") long uid, @Param("level") Integer level);
|
| | | |
| | | |
| | | /**
|
| | | * 统计用户有效金额
|
| | | * @param uid
|
| | | * @param day 1今日 2昨日 3本月 4上月
|
| | | * @return
|
| | | */
|
| | | BigDecimal sumValidMoneyByUidAndDate(@Param("uid") long uid, @Param("day") Integer day, @Param("level") Integer level);
|
| | | } |