|
@@ -99,7 +99,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<select id="teamList" resultType="com.game.business.vo.AppAgentTeamVo">
|
|
|
select
|
|
|
a.user_id as userId,
|
|
|
- c.nickname as nickName,
|
|
|
+ c.username as nickName,
|
|
|
a.pid as pid,
|
|
|
(select IFNULL(sum(betting_amount),0) from app_game_betting as b where b.user_id = a.user_id) as bettingAmount,
|
|
|
(select IFNULL(sum(d.live_commission + d.game_commission),0) from app_user_count as d where d.user_id = a.user_id) as commission,
|
|
@@ -111,7 +111,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
and a.user_id = #{teamDto.userId}
|
|
|
</if>
|
|
|
<if test="teamDto.nickName != null and teamDto.nickName != ''">
|
|
|
- and c.nickname = #{teamDto.nickName}
|
|
|
+ and c.username = #{teamDto.nickName}
|
|
|
</if>
|
|
|
</select>
|
|
|
</mapper>
|