From 951c94ad11acdfdd8d174fe0840a9c11d55f4cc7 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Thu, 13 Feb 2025 12:32:19 +0800
Subject: [PATCH] feat(runVip): 添加线上充值字段并更新相关页面和数据映射

---
 src/main/resources/mapper/modules/MallChargeMapper.xml                 |    1 +
 src/main/resources/templates/febs/views/modules/runVip/buyVipList.html |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/modules/MallChargeMapper.xml b/src/main/resources/mapper/modules/MallChargeMapper.xml
index d02b348..fbe76cd 100644
--- a/src/main/resources/mapper/modules/MallChargeMapper.xml
+++ b/src/main/resources/mapper/modules/MallChargeMapper.xml
@@ -26,6 +26,7 @@
         a.state state,
         a.address address,
         a.amount amount,
+        IFNULL(a.amount_real, 0) amountReal,
         a.type type,
         a.fail_time failTime,
         a.sys_address sysAddress,
diff --git a/src/main/resources/templates/febs/views/modules/runVip/buyVipList.html b/src/main/resources/templates/febs/views/modules/runVip/buyVipList.html
index faa2c5b..51424f5 100644
--- a/src/main/resources/templates/febs/views/modules/runVip/buyVipList.html
+++ b/src/main/resources/templates/febs/views/modules/runVip/buyVipList.html
@@ -135,6 +135,7 @@
                     {field: 'account', title: '账号', minWidth: 150,align:'center'},
                     {field: 'vipName', title: '会员名称', minWidth: 100,align:'center'},
                     {field: 'amount', title: '金额', minWidth: 100,align:'center',totalRow: '{{= parseInt(d.amount) }}'},
+                    {field: 'amountReal', title: '线上充值', minWidth: 100,align:'center',totalRow: '{{= parseInt(d.amountReal) }}'},
                     {field: 'type', title: '链', minWidth: 100,align:'center'},
                     {field: 'address', title: '地址', minWidth: 100,align:'center'},
                     {title: '状态', templet: '#statesType', minWidth: 100,align:'center'},

--
Gitblit v1.9.1