| | |
| | | password: 123456 |
| | | driver-class-name: com.mysql.cj.jdbc.Driver |
| | | url: jdbc:mysql://120.27.238.55:3306/kss_framework?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 |
| | | # username: ctcoin_data |
| | | # password: ctcoin_123 |
| | | # driver-class-name: com.mysql.cj.jdbc.Driver |
| | | # url: jdbc:mysql://rm-bp151tw8er79ig9kb5o.mysql.rds.aliyuncs.com:3306/db_biue?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 |
| | | |
| | | redis: |
| | | # Redis数据库索引(默认为 0) |
| | |
| | | |
| | | |
| | | <select id="selectMemberListInPage" resultType="com.xcong.excoin.modules.agent.entity.MemberEntity"> |
| | | select * from member |
| | | select |
| | | a.*, |
| | | b.total_balance contractTotal, |
| | | c.available_balance coinTotal, |
| | | d.total_balance agentTotal |
| | | from member a |
| | | left join member_wallet_contract b on a.id=b.member_id |
| | | left join member_wallet_coin c on a.id=c.member_id and c.wallet_code='USDT' |
| | | left join member_wallet_agent d on a.id=d.member_id |
| | | <where> |
| | | <if test="record != null"> |
| | | <if test="record.inviteId !=null and record.inviteId!=''"> |
| | |
| | | a.invite_id, |
| | | a.referer_id, |
| | | b.total_balance contractTotal, |
| | | c.total_balance coinTotal, |
| | | c.available_balance coinTotal, |
| | | d.total_balance agentTotal |
| | | from member a |
| | | left join member_wallet_contract b on a.id=b.member_id |
| | |
| | | {field: 'email', title: '邮箱', minWidth: 200}, |
| | | {field: 'inviteId', title: '邀请码'}, |
| | | {field: 'refererId', title: '上级邀请码'}, |
| | | {field: 'contractTotal', title: '合约资产', minWidth: 120}, |
| | | {field: 'coinTotal', title: '币币资产', minWidth: 120}, |
| | | {field: 'agentTotal', title: '佣金资产', minWidth: 120}, |
| | | {title: '账号类型', templet: '#account-type'}, |
| | | {title: '账号状态', templet: '#account-status'}, |
| | | {title: '审核状态', templet: '#certify-status'}, |
| | |
| | | {field: 'refererId', title: '上级UID', minWidth: 100, align: 'center'}, |
| | | {field: 'phone', title: '联系方式', minWidth: 130, align: 'center'}, |
| | | {field: 'email', title: '邮箱', minWidth: 100, align: 'center'}, |
| | | {field: 'contractTotal', title: '开仓手续费', minWidth: 140, align: 'center'}, |
| | | {field: 'coinTotal', title: '平仓手续费', minWidth: 140, align: 'center'}, |
| | | {field: 'agentTotal', title: '持仓手续费', minWidth: 140, align: 'center'} |
| | | {field: 'contractTotal', title: '合约资产', minWidth: 140, align: 'center'}, |
| | | {field: 'coinTotal', title: '币币资产', minWidth: 140, align: 'center'}, |
| | | {field: 'agentTotal', title: '佣金资产', minWidth: 140, align: 'center'} |
| | | ]] |
| | | }); |
| | | } |