|
@@ -106,7 +106,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
(select IFNULL(sum(e.game_win_amount - e.game_lose_amount),0) from app_user_count as e where e.user_id = a.user_id) as gameAmount,
|
|
|
a.live_rate as liveRate,
|
|
|
a.dividend_guarantee_rate as dividendGuaranteeRate
|
|
|
- from app_user_agent as a left join mugozbg_live.app_user as c on a.user_id = c.userid where a.pid = #{teamDto.pid}
|
|
|
+ from app_user_agent as a left join mugozbg_live.app_user as c on a.user_id = c.userid where (a.pid = #{teamDto.pid} or a.user_id = #{teamDto.pid})
|
|
|
<if test="teamDto.userId != null ">
|
|
|
and a.user_id = #{teamDto.userId}
|
|
|
</if>
|