|
|
|
@ -141,10 +141,10 @@ public class HighMerchantStoreAccountServiceImpl implements HighMerchantStoreAcc |
|
|
|
|
account.setAmounts(new BigDecimal("0")); |
|
|
|
|
editStoreAccount(account); |
|
|
|
|
} |
|
|
|
|
// 账户余额 是否小于 出账余额
|
|
|
|
|
/* // 账户余额 是否小于 出账余额
|
|
|
|
|
if (account.getAmounts().compareTo(amount) == -1) { |
|
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "余额不足"); |
|
|
|
|
} |
|
|
|
|
}*/ |
|
|
|
|
// 变更前金额
|
|
|
|
|
BigDecimal beforeAmount = account.getAmounts(); |
|
|
|
|
// 计算金额
|
|
|
|
|