| | |
| | | public IPage<MemberCoinWithdrawVo> findmemberWithdrawCoinListInPage( |
| | | MemberCoinWithdrawEntity memberCoinWithdrawEntity, QueryRequest request) { |
| | | Page<MemberCoinWithdrawEntity> page = new Page<>(request.getPageNum(), request.getPageSize()); |
| | | |
| | | IPage<MemberCoinWithdrawVo> findmemberQuickBuySaleListInPage = memberCoinWithdrawMapper.findmemberWithdrawCoinListInPage(page, memberCoinWithdrawEntity); |
| | | List<MemberCoinWithdrawVo> records = findmemberQuickBuySaleListInPage.getRecords(); |
| | | if(records != null && records.size() > 0) { |
| | | for(MemberCoinWithdrawVo memberCoinWithdrawVo : records) { |
| | | BigDecimal amount = memberCoinWithdrawVo.getAmount(); |
| | | BigDecimal feeAmount = memberCoinWithdrawVo.getFeeAmount(); |
| | | BigDecimal subtract = amount.subtract(feeAmount); |
| | | memberCoinWithdrawVo.setRealAmount(subtract); |
| | | } |
| | | } |
| | | return findmemberQuickBuySaleListInPage; |
| | | } |
| | | |
| | |
| | | */
|
| | | private BigDecimal amount;
|
| | | /**
|
| | | * 到账金额
|
| | | */
|
| | | private BigDecimal realAmount;
|
| | | /**
|
| | | * 手续费
|
| | | */
|
| | | private BigDecimal feeAmount;
|
| | |
| | | }, minWidth: 200,align:'center'},
|
| | | {field: 'inviteId', title: '邀请码UID', minWidth: 80,align:'center'},
|
| | | {field: 'symbol', title: '币种', minWidth: 100,align:'center'},
|
| | | {field: 'amount', title: '提币数量', minWidth: 120,align:'center' ,totalRow: true},
|
| | | {field: 'address', title: '提币地址', minWidth: 300,align:'center'},
|
| | | {field: 'feeAmount', title: '提币手续费', minWidth: 100,align:'center', totalRow: true},
|
| | | {field: 'createTime', title: '提币时间', minWidth: 180,align:'center'},
|
| | | {field: 'isInside', title: '内部转账',
|
| | | templet: function (d) {
|
| | | if (d.isInside === 'Y') {
|
| | |
| | | return '<span style="color:green;">否</span>'
|
| | | }
|
| | | },minWidth: 100,align:'center'},
|
| | | {field: 'amount', title: '提币数量', minWidth: 120,align:'center' ,totalRow: true},
|
| | | {field: 'realAmount', title: '到账金额', minWidth: 120,align:'center' ,totalRow: true},
|
| | | {field: 'address', title: '提币地址', minWidth: 300,align:'center'},
|
| | | {field: 'feeAmount', title: '提币手续费', minWidth: 100,align:'center', totalRow: true},
|
| | | {field: 'createTime', title: '提币时间', minWidth: 180,align:'center'},
|
| | | {field: 'status', title: '状态',
|
| | | templet: function (d) {
|
| | | if (d.status === 1) {
|