From 41e05da9a811cd9394ce9bddf5edcb7cde58db06 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期四, 06 三月 2025 16:49:36 +0800 Subject: [PATCH] Merge branch 'master' of https://gitee.com/xiaochen991015/xizang --- ruoyi-system/src/main/resources/mapper/system/TBankFlowMapper.xml | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/TBankFlowMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TBankFlowMapper.xml index c72c8f5..8995310 100644 --- a/ruoyi-system/src/main/resources/mapper/system/TBankFlowMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/TBankFlowMapper.xml @@ -37,9 +37,9 @@ <!-- 统计总额和微信支付金额 --> <select id="getPaymentStats" resultMap="PaymentStatsResultMap"> SELECT - SUM(flow_money) AS totalFlowMoney, - SUM(deduction_money) AS totalDeductionMoney, - SUM(remaining_money) AS totalRemainingMoney + ifnull(SUM(flow_money),0) AS totalFlowMoney, + ifnull(SUM(deduction_money),0) AS totalDeductionMoney, + ifnull(SUM(remaining_money),0) AS totalRemainingMoney FROM t_bank_flow <where> -- Gitblit v1.7.1