| | |
| | | package com.yeshi.fanli.service.inter.money;
|
| | |
|
| | | import java.math.BigDecimal;
|
| | | import java.util.Date;
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.money.InviteOrderSubsidyDebt;
|
| | |
| | | * @return 还剩下的资金
|
| | | * @throws InviteOrderSubsidyDebtException
|
| | | */
|
| | | public BigDecimal repayDebtByUid(Long uid, BigDecimal money) throws InviteOrderSubsidyDebtException;
|
| | | public BigDecimal repayDebtByUid(Long uid,Date maxEstimatePayTime, BigDecimal money) throws InviteOrderSubsidyDebtException;
|
| | |
|
| | | /**
|
| | | * 检索需要偿还的债务
|
| | |
| | | * @param count
|
| | | * @return
|
| | | */
|
| | | public List<InviteOrderSubsidyDebt> listNeedRepayDebt(Long uid, int page, int count);
|
| | | public List<InviteOrderSubsidyDebt> listNeedRepayDebt(Long uid,Date maxEstimatePayTime, int page, int count);
|
| | |
|
| | | /**
|
| | | * 检索需要偿还的债务
|
| | |
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public long countNeedRepayDebt(Long uid);
|
| | | public long countNeedRepayDebt(Long uid,Date maxEstimatePayTime);
|
| | |
|
| | | /**
|
| | | * 获取总共欠钱金额
|
| | |
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public BigDecimal getTotalDebtMoney(Long uid);
|
| | | public BigDecimal getTotalDebtMoney(Long uid,Date maxEstimatePayTime);
|
| | |
|
| | | }
|