dos 2 月之前
父节点
当前提交
b648f14e39
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      game-business/src/main/resources/mapper/business/AppUserAgentMapper.xml

+ 2 - 2
game-business/src/main/resources/mapper/business/AppUserAgentMapper.xml

@@ -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>