fix
wzy
2022-08-28 422be47bbda3dbf14a350b119bbf0d0eb3a91c3e
src/main/java/cc/mrbird/febs/dapp/service/impl/DappSystemServiceImpl.java
@@ -759,7 +759,14 @@
     */
    @Override
    public void sdmWithdrawFee(String data) {
        BigDecimal totalFee = new BigDecimal(data);
        JSONObject jsonObject = JSONObject.parseObject(data);
        String address = jsonObject.getString("address");
        if (!ChainEnum.BSC_TFC_FEE.getAddress().equals(address)) {
            return;
        }
        BigDecimal totalFee = new BigDecimal(jsonObject.getString("fee"));
        String batchNo = RandomUtil.randomString(16);
        BigDecimal cardProfit = totalFee.multiply(new BigDecimal("0.5"));
@@ -776,7 +783,7 @@
                if (member == null) {
                    continue;
                }
                DappFundFlowEntity fundFlow = new DappFundFlowEntity(member.getId(), amount, 4, 1, null, null);
                DappFundFlowEntity fundFlow = new DappFundFlowEntity(member.getId(), amount, 4, 2, null, null);
                dappFundFlowDao.insert(fundFlow);
                OnlineTransferUtil.addTransfer(entry.getKey(), amount, 5, 1, ChainEnum.BSC_TFC_FEE.name(), AppContants.SYMBOL_COIN, batchNo);