修复统计数量问题2

This commit is contained in:
liaozetao
2023-11-01 12:21:13 +08:00
parent f4fceb3821
commit 6a949f0939

View File

@@ -417,7 +417,7 @@
from flow_team_member_invite_user as ftmiu
inner join users as u on ftmiu.uid = u.uid
left join diamond_give_history as dgh on u.uid = dgh.to_uid and dgh.create_time >= u.create_time
where 1 = 1
where dgh.diamond_num > 0
<if test="params.teamId != null ">
and ftmiu.team_id = #{params.teamId}
</if>