sud小游戏-后台-ludo用户记录-vo
This commit is contained in:
@@ -16,6 +16,8 @@ public class MiniGameLudoUserRecordAdminVo {
|
||||
private Long uid;
|
||||
@ApiModelProperty("用户id")
|
||||
private Long erbanNo;
|
||||
@ApiModelProperty("用户名")
|
||||
private String nick;
|
||||
@ApiModelProperty("分区id")
|
||||
private Integer partitionId;
|
||||
@ApiModelProperty("分区")
|
||||
@@ -41,6 +43,8 @@ public class MiniGameLudoUserRecordAdminVo {
|
||||
|
||||
@ApiModelProperty("游戏id")
|
||||
private String mgId;
|
||||
@ApiModelProperty("游戏名称")
|
||||
private String mgName;
|
||||
@ApiModelProperty("轮次id")
|
||||
private String roundId;
|
||||
@ApiModelProperty("游戏模式")
|
||||
|
@@ -91,9 +91,12 @@ public class MiniGameLudoUserRecordAdminService {
|
||||
MiniGameLudoUserRecordAdminVo vo = new MiniGameLudoUserRecordAdminVo();
|
||||
BeanUtils.copyProperties(po, vo);
|
||||
|
||||
vo.setMgName("ludo");
|
||||
|
||||
Users u = usersMap.get(po.getUid());
|
||||
if (null != u){
|
||||
vo.setErbanNo(u.getErbanNo());
|
||||
vo.setNick(u.getNick());
|
||||
}
|
||||
|
||||
vo.setPartitionDesc(PartitionEnum.getByPartitionId(po.getPartitionId()).getDesc());
|
||||
|
Reference in New Issue
Block a user