From f71ae35c5b20e51c5fba91284cc436076c9c73df Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 03 十一月 2020 19:28:19 +0800 Subject: [PATCH] 淘宝订单备份 --- fanli/src/main/java/com/yeshi/fanli/service/inter/money/UserMoneyDebtService.java | 85 +++++++++++++++++++++++++----------------- 1 files changed, 50 insertions(+), 35 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/money/UserMoneyDebtService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/money/UserMoneyDebtService.java index 7ffdc42..4d53dff 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/money/UserMoneyDebtService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/money/UserMoneyDebtService.java @@ -1,50 +1,65 @@ package com.yeshi.fanli.service.inter.money; import java.math.BigDecimal; +import java.util.List; import com.yeshi.fanli.entity.money.UserMoneyDebt; import com.yeshi.fanli.entity.money.UserMoneyDebt.UserMoneyDebtTypeEnum; import com.yeshi.fanli.exception.money.UserMoneyDebtException; public interface UserMoneyDebtService { - /** - * 娣诲姞鐢ㄦ埛鍊熼挶璁板綍 - * - * @param debt - * @throws UserMoneyDebtException - */ - public void addUserMoneyDebt(UserMoneyDebt debt) throws UserMoneyDebtException; + /** + * 娣诲姞鐢ㄦ埛鍊熼挶璁板綍 + * + * @param debt + * @throws UserMoneyDebtException + */ + public void addUserMoneyDebt(UserMoneyDebt debt) throws UserMoneyDebtException; - /** - * 鏍规嵁绫诲瀷涓庢簮ID鑾峰彇 - * - * @param type - * @param sourceId - * @return - */ - public UserMoneyDebt selectByTypeAndSourceId(UserMoneyDebtTypeEnum type, Long sourceId); + /** + * 鏍规嵁绫诲瀷涓庢簮ID鑾峰彇 + * + * @param type + * @param sourceId + * @return + */ + public UserMoneyDebt selectByTypeAndSourceId(UserMoneyDebtTypeEnum type, Long sourceId); - /** - * 鍋胯繕 - * - * @param debt - * @throws UserMoneyDebtException - */ - public void repayDebt(UserMoneyDebt debt, BigDecimal money) throws UserMoneyDebtException; + /** + * 鍋胯繕 + * + * @param debt + * @throws UserMoneyDebtException + */ + public void repayDebt(UserMoneyDebt debt, BigDecimal money) throws UserMoneyDebtException; - /** - * 鍋胯繕 - * - * @param uid - */ - public void repayDebt(Long uid); + /** + * 鍋胯繕 + * + * @param uid + */ + public void repayDebt(Long uid); - /** - * 鏄惁鏈夎处鍔″緟杩� - * - * @param uid - * @return - */ - public boolean isHaveDebtToRepay(Long uid); + /** + * 鏄惁鏈夎处鍔″緟杩� + * + * @param uid + * @return + */ + public boolean isHaveDebtToRepay(Long uid); + + /** + * 鏌ヨ闇�瑕佸伩杩樼殑鐢ㄦ埛鍒楄〃 + * + * @param page + * @param pageSize + * @return + */ + public List<Long> listNeedRepayDebtUser(int page, int pageSize); + + /** + * @return + */ + public long countNeedRepayDebtUser(); } -- Gitblit v1.8.0