提交代码

dev-discount
胡锐 3 years ago
parent 47e367d144
commit 714bf9c36e
  1. 4
      hai-service/src/main/java/com/hai/service/impl/HighMerchantStoreAccountServiceImpl.java

@ -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();
// 计算金额

Loading…
Cancel
Save