From 2389e7e3cbede74ce0fc8e1bcb2e9207622999e7 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Tue, 14 Jun 2022 17:55:13 +0800
Subject: [PATCH] fix
---
src/main/resources/mapper/dapp/DappFundFlowDao.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/dapp/DappFundFlowDao.xml b/src/main/resources/mapper/dapp/DappFundFlowDao.xml
index f4578c8..7d3ba3c 100644
--- a/src/main/resources/mapper/dapp/DappFundFlowDao.xml
+++ b/src/main/resources/mapper/dapp/DappFundFlowDao.xml
@@ -58,7 +58,7 @@
, MAX(if(type = 4, a.amount, 0)) teamReward
from (select type, sum(amount) amount
from dapp_fund_flow
- where member_id=22
+ where member_id=#{memberId}
group by type
) a
</select>
--
Gitblit v1.9.1