fix
wzy
2022-08-28 c71c6700fce7f3f66a62b7215a0e46fc5af91104
src/main/java/cc/mrbird/febs/dapp/service/impl/DappSystemServiceImpl.java
@@ -721,7 +721,6 @@
    public boolean systemHasStart() {
        String hasStart = redisUtils.getString(AppContants.SYSTEM_START_FLAG);
        if (!"start".equals(hasStart)) {
            log.info("系统未启动");
            return false;
        }
@@ -769,7 +768,7 @@
        BigDecimal totalFee = new BigDecimal(jsonObject.getString("fee"));
        String batchNo = RandomUtil.randomString(16);
        BigDecimal cardProfit = totalFee.multiply(new BigDecimal("0.5"));
        BigDecimal cardProfit = totalFee.multiply(new BigDecimal("0.4"));
        BigDecimal destroy = totalFee.subtract(cardProfit);
        BigDecimal preFee = cardProfit.divide(BigDecimal.valueOf(5000), ChainService.getInstance(ChainEnum.BSC_TFC.name()).decimals(), RoundingMode.HALF_UP);