fix
Helius
2022-07-19 b2200847514102f08f65deaad44a965e48d46365
fix
3 files modified
5 ■■■■■ changed files
src/main/java/cc/mrbird/febs/dapp/entity/DappIdoAssetsEntity.java 3 ●●●●● patch | view | raw | blame | history
src/main/resources/mapper/dapp/DappIdoAssetsDao.xml 1 ●●●● patch | view | raw | blame | history
src/main/resources/templates/febs/views/dapp/member-ido-achieve.html 1 ●●●● patch | view | raw | blame | history
src/main/java/cc/mrbird/febs/dapp/entity/DappIdoAssetsEntity.java
@@ -27,5 +27,8 @@
    private String address;
    @TableField(exist = false)
    private Integer teamAddressCnt;
    @TableField(exist = false)
    private String addressCnt;
}
src/main/resources/mapper/dapp/DappIdoAssetsDao.xml
@@ -15,6 +15,7 @@
            a.address,
            a.invite_id,
            (select count(1) from dapp_member x where a.invite_id=x.referer_id) addressCnt,
            count(1) teamAddressCnt,
            IFNULL(sum(c.coin_amount),0) coinAmount,
            IFNULL(sum(c.usdt_amount),0) usdtAmount
        from dapp_member a
src/main/resources/templates/febs/views/dapp/member-ido-achieve.html
@@ -88,6 +88,7 @@
                cols: [[
                    {field: 'address', title: '地址', minWidth: 200},
                    {field: 'addressCnt', title: '直属地址数', minWidth: 50},
                    {field: 'teamAddressCnt', title: '团队地址数', minWidth: 50},
                    {field: 'usdtAmount', title: '团队USDT业绩', minWidth: 50},
                    {field: 'coinAmount', title: '团队SDC', minWidth: 50}
                ]]