From efc82fd229e1c88711b0463db40b8e6222f9e5b2 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Wed, 05 Jun 2024 16:33:59 +0800 Subject: [PATCH] 部署香港服务器 --- src/main/java/cc/mrbird/febs/job/ProfitDailyJob.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/job/ProfitDailyJob.java b/src/main/java/cc/mrbird/febs/job/ProfitDailyJob.java index 1ff772d..f4774f5 100644 --- a/src/main/java/cc/mrbird/febs/job/ProfitDailyJob.java +++ b/src/main/java/cc/mrbird/febs/job/ProfitDailyJob.java @@ -82,7 +82,7 @@ profitU = remain; } - BigDecimal profitSymbol = profitU.multiply(symbolPrice); + BigDecimal profitSymbol = profitU.divide(symbolPrice, 8, RoundingMode.HALF_DOWN); dappWalletService.updateWalletMineWithLock(profitSymbol, item.getId(), 1); DappFundFlowEntity fundFlow = new DappFundFlowEntity(item.getId(), profitSymbol, 11, 2, null, null); -- Gitblit v1.9.1