| | |
| | |
|
| | | import com.yeshi.fanli.entity.order.dividents.TeamDividentsSourceOrderUserMap;
|
| | | import com.yeshi.fanli.exception.ParamsException;
|
| | | import com.yeshi.fanli.vo.order.TeamDividentsVO;
|
| | |
|
| | | /**
|
| | | * 分红源订单与参与分红用户的对应关系
|
| | |
| | | */
|
| | | public void updateMoney(Long sourceOrderId, BigDecimal income);
|
| | |
|
| | | /**
|
| | | * 查询分红信息
|
| | | * @param sourceOrderId
|
| | | * @param targetUid
|
| | | * @return
|
| | | */
|
| | | public List<TeamDividentsSourceOrderUserMap> listBySourceOrderIdAndTargetUid(Long sourceOrderId, Long targetUid);
|
| | |
|
| | | /**
|
| | | * 统计每个订单补贴-分红
|
| | | * @param start
|
| | | * @param count
|
| | | * @param targetUid
|
| | | * @param minTime
|
| | | * @param maxTime
|
| | | * @return
|
| | | */
|
| | | public List<TeamDividentsVO> listByDateAndTargetUid(long start, int count, Long targetUid, Date minTime, Date maxTime, String key);
|
| | |
|
| | | public long countByDateAndTargetUid(Long targetUid, Date minTime, Date maxTime, String key);
|
| | |
|
| | | public TeamDividentsVO sumByDateAndTargetUid(Long targetUid, Date minTime, Date maxTime, String key);
|
| | |
|
| | | }
|