修复统计数量问题

This commit is contained in:
liaozetao
2023-11-01 12:19:09 +08:00
parent 82a5131c1e
commit f4fceb3821

View File

@@ -183,7 +183,7 @@
ifnull(sum(dgh.diamond_num / 1000), 0) as totalGiveAmount
from flow_team_member_invite_user as fi
inner join diamond_give_history as dgh on dgh.to_uid = fi.uid
where 1 = 1
where dgh.diamond_num > 0
<if test="queryLimitTime != null">
and dgh.create_time >= #{queryLimitTime}
</if>