dos 3 mēneši atpakaļ
vecāks
revīzija
01dac0cc46

+ 6 - 3
game-business/src/main/java/com/game/business/dto/AppAgentTeamDto.java

@@ -11,15 +11,18 @@ import java.io.Serializable;
 
 @Data
 @ApiModel("代理团队")
-public class AppAgentTeamDto extends PageDomain implements Serializable {
+public class AppAgentTeamDto implements Serializable {
 
     private static final long serialVersionUID = 1L;
 
     /** 用户id */
-    @ApiModelProperty(value = "用户id")
-    @Excel(name = "用户id")
+    @ApiModelProperty(value = "用户id 搜索用")
     private Long userId;
 
+    /** 用户id */
+    @ApiModelProperty(value = "用户昵称 搜索用")
+    private String nickName;
+
     @JsonIgnore
     private long pid;
 

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

@@ -109,5 +109,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="teamDto.userId != null ">
              and a.user_id = #{teamDto.userId}
         </if>
+        <if test="teamDto.nickName != null and teamDto.nickName != ''">
+             and c.nickname = #{teamDto.nickName}
+        </if>
     </select>
 </mapper>