xiaoyong931011
2023-09-06 832adfae7b7d3869c833b3c700232155e6600526
后台修改
3 files modified
8 ■■■■ changed files
src/main/java/cc/mrbird/febs/dapp/entity/DappFundFlowEntity.java 3 ●●●●● patch | view | raw | blame | history
src/main/resources/mapper/dapp/DappFundFlowDao.xml 2 ●●● patch | view | raw | blame | history
src/main/resources/templates/febs/views/dapp/member-withdraw.html 3 ●●●● patch | view | raw | blame | history
src/main/java/cc/mrbird/febs/dapp/entity/DappFundFlowEntity.java
@@ -119,6 +119,9 @@
    @TableField(exist = false)
    private String address;
    @TableField(exist = false)
    private BigDecimal realAmount;
    private BigDecimal fee;
    /**
     * 用来存放用户购买节点的节点编码
src/main/resources/mapper/dapp/DappFundFlowDao.xml
@@ -3,7 +3,7 @@
<mapper namespace="cc.mrbird.febs.dapp.mapper.DappFundFlowDao">
    <select id="selectInPage" resultType="cc.mrbird.febs.dapp.entity.DappFundFlowEntity">
        select a.*, b.address address from dapp_fund_flow a
        select a.*,(a.amount+a.fee) realAmount, b.address address from dapp_fund_flow a
        inner join dapp_member b on a.member_id=b.id
        <where>
            <if test="record.currentUser != null">
src/main/resources/templates/febs/views/dapp/member-withdraw.html
@@ -147,7 +147,8 @@
                cols: [[
                    {field: 'address', title: '地址', minWidth: 130, totalRowText: '合计:'},
                    {field: 'createTime', title: '创建时间', minWidth: 180},
                    {field: 'amount', title: '提现金额(USDT)', minWidth: 130,totalRow: '{{= parseInt(d.amount) }}'},
                    {field: 'realAmount', title: '扣手续费后的提现金额', minWidth: 200,totalRow: '{{= parseInt(d.realAmount) }}'},
                    // {field: 'amount', title: '提现金额(USDT)', minWidth: 130,totalRow: '{{= parseInt(d.amount) }}'},
                    {title: '提现状态', templet: '#withdraw-status'},
                    {field: 'fee', title: '手续费', minWidth: 130},
                    {title: '操作', toolbar: '#withdraw-option', minWidth: 200}