fix
Helius
2021-07-15 9c7facb28b6c95717fd01030973bafe26c3ac2c1
fix
1 files modified
2 ■■■ changed files
gc-order/src/main/java/com/xzx/gc/order/service/DistribService.java 2 ●●● patch | view | raw | blame | history
gc-order/src/main/java/com/xzx/gc/order/service/DistribService.java
@@ -128,7 +128,7 @@
        accountInfo.setAccountId(accountInfo.getAccountId());
        accountInfo.setMoney(new BigDecimal(accountInfo.getMoney()).add(totalReturnCoin).setScale(2, BigDecimal.ROUND_DOWN).toString());
        BigDecimal collectScore = StrUtil.isNotBlank(accountInfo.getCollectScore()) ? new BigDecimal(accountInfo.getCollectScore()) : BigDecimal.ZERO;
        accountInfo.setCollectScore(collectScore.add(totalReturnScore).setScale(2, BigDecimal.ROUND_DOWN).toString());
        accountInfo.setCollectScore(collectScore.add(totalReturnScore).setScale(0, BigDecimal.ROUND_DOWN).toString());
        accountMapper.updateByPrimaryKey(accountInfo);
        SysMessage sysMessage = new SysMessage();