修复统计数量问题2
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user