记得上下班打卡 | git大法好,push需谨慎

Commit 380d94c6 authored by jiangxiulong's avatar jiangxiulong

Merge remote-tracking branch 'origin/dev' into dev

parents 56cbd7ed 284a1bfe
...@@ -11,11 +11,15 @@ import java.io.Serializable; ...@@ -11,11 +11,15 @@ import java.io.Serializable;
@Data @Data
public class AdamRealInfoVo implements Serializable, Cloneable { public class AdamRealInfoVo implements Serializable, Cloneable {
private static final long serialVersionUID = -3469256375584132928L; private static final long serialVersionUID = -3469256375584132928L;
@ApiModelProperty(position = 10, value = "用户ID[30]")
private String uid;
@ApiModelProperty(position = 11, value = "姓名[30]") @ApiModelProperty(position = 11, value = "姓名[30]")
private String name; private String name;
@ApiModelProperty(position = 12, value = "证件号[50]") @ApiModelProperty(position = 12, value = "证件号[50]")
private String idCard; private String idCard;
@ApiModelProperty(position = 13, value = "状态:1-正常") @ApiModelProperty(position = 13, value = "类型[1-大陆身份证,2-港澳通行证,3-台胞证,4-护照,5-军官证]")
private String type;
@ApiModelProperty(position = 14, value = "状态:1-正常")
private Integer state; private Integer state;
private static final AdamRealInfoVo obj = new AdamRealInfoVo(); private static final AdamRealInfoVo obj = new AdamRealInfoVo();
......
...@@ -43,7 +43,10 @@ public class AdamRdmServiceImpl implements IAdamRdmService { ...@@ -43,7 +43,10 @@ public class AdamRdmServiceImpl implements IAdamRdmService {
long s = System.currentTimeMillis(); long s = System.currentTimeMillis();
AdamUserInfoVo vo = mongoTemplate.findOne(query, AdamUserInfoVo.class, AdamUserInfoVo.class.getSimpleName()); AdamUserInfoVo vo = mongoTemplate.findOne(query, AdamUserInfoVo.class, AdamUserInfoVo.class.getSimpleName());
log.debug("#MDB耗时:{}ms", System.currentTimeMillis() - s); log.debug("#MDB耗时:{}ms", System.currentTimeMillis() - s);
if (null != vo) redisUtil.set(key, vo.getUid()); if (null != vo) {
val = vo.getMobile();
redisUtil.set(key, vo.getUid());
}
} }
return val; return val;
} }
...@@ -68,7 +71,10 @@ public class AdamRdmServiceImpl implements IAdamRdmService { ...@@ -68,7 +71,10 @@ public class AdamRdmServiceImpl implements IAdamRdmService {
long s = System.currentTimeMillis(); long s = System.currentTimeMillis();
AdamThirdPartInfoVo vo = mongoTemplate.findOne(query, AdamThirdPartInfoVo.class, AdamThirdPartInfoVo.class.getSimpleName()); AdamThirdPartInfoVo vo = mongoTemplate.findOne(query, AdamThirdPartInfoVo.class, AdamThirdPartInfoVo.class.getSimpleName());
log.debug("#MDB耗时:{}ms", System.currentTimeMillis() - s); log.debug("#MDB耗时:{}ms", System.currentTimeMillis() - s);
if (null != vo) redisUtil.set(key, vo.getUid()); if (null != vo) {
val = vo.getUid();
redisUtil.set(key, vo.getUid());
}
} }
return val; return val;
} }
......
...@@ -364,8 +364,10 @@ public class AdamUserServiceImpl implements IAdamUserService { ...@@ -364,8 +364,10 @@ public class AdamUserServiceImpl implements IAdamUserService {
adamRealNameService.add(realName); adamRealNameService.add(realName);
AdamRealInfoVo realInfoVo = AdamRealInfoVo.getNew(); AdamRealInfoVo realInfoVo = AdamRealInfoVo.getNew();
realInfoVo.setUid(uid);
realInfoVo.setName(name); realInfoVo.setName(name);
realInfoVo.setIdCard(idCard); realInfoVo.setIdCard(idCard);
realInfoVo.setType(realName.getType());
realInfoVo.setState(1); realInfoVo.setState(1);
long s = System.currentTimeMillis(); long s = System.currentTimeMillis();
......
...@@ -75,6 +75,8 @@ public class DMRealNameProcessor extends DataMigrationProcessorService { ...@@ -75,6 +75,8 @@ public class DMRealNameProcessor extends DataMigrationProcessorService {
realName.setUpdatedAt(row.getLocalDateTime(6)); realName.setUpdatedAt(row.getLocalDateTime(6));
AdamRealInfoVo vo = AdamRealInfoVo.getNew(); AdamRealInfoVo vo = AdamRealInfoVo.getNew();
vo.setUid(uid);
vo.setType(realName.getType());
vo.setName(realName.getName()); vo.setName(realName.getName());
vo.setIdCard(realName.getIdCard()); vo.setIdCard(realName.getIdCard());
vo.setState(1); vo.setState(1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment