|
@@ -210,7 +210,7 @@ public class RshyJkManagerImpl implements RshyJkManager {
|
|
|
rshyVo.setXb(SexEnum.codeOf(IdcardUtil.getGenderByIdCard(rshyVo.getSfzh())).getDesc());
|
|
|
//出生日期 从身份证号码中获取
|
|
|
Date date = DateUtil.parse(IdcardUtil.getBirthByIdCard(rshyVo.getSfzh()));
|
|
|
- rshyVo.setBirthday(DateUtil.format(date, "yyyy-M-d"));
|
|
|
+ rshyVo.setBirthday(DateUtil.format(date, "yyyy-MM-dd"));
|
|
|
//取地址、姓名、民族
|
|
|
if (resultDTO.getPctsfzResult() != null) {
|
|
|
//有警察叔叔身份证接口返回数据
|
|
@@ -407,7 +407,7 @@ public class RshyJkManagerImpl implements RshyJkManager {
|
|
|
RetrievalRepositoryVO repositoryVO = voList.stream().findFirst().get();
|
|
|
rshyVo.setPass(RepositoryEnum.COUNTRY_LARGE.getId().equals(repositoryVO.getRepository_id()) ? PassStatusEnum.NO_PASSING.getCode() : PassStatusEnum.RIGHT_WAY.getCode())
|
|
|
.setKind(EnumUtil.likeValueOf(RepositoryEnum.class, repositoryVO.getRepository_id()).getName())
|
|
|
- .setWarning(stringMap.get(repositoryVO.getRepository_id())).setDisplayMsg(RepositoryEnum.COUNTRY_LARGE.getId().equals(repositoryVO.getRepository_id()) ? PassStatusEnum.NO_PASSING.getDesc() : PassStatusEnum.RIGHT_WAY.getDesc())
|
|
|
+ .setWarning(stringMap.get(repositoryVO.getRepository_id())).setDisplayMsg(RepositoryEnum.COUNTRY_LARGE.getId().equals(repositoryVO.getRepository_id()) ? PassStatusEnum.NO_PASSING.getTts() : PassStatusEnum.RIGHT_WAY.getTts())
|
|
|
.setTts(RepositoryEnum.COUNTRY_LARGE.getId().equals(repositoryVO.getRepository_id()) ? PassStatusEnum.NO_PASSING.getTts() : PassStatusEnum.RIGHT_WAY.getTts()).setHealthCode(StrUtil.EMPTY).setSfzh(repositoryVO.getPersonId())
|
|
|
.setXm(repositoryVO.getName()).setXb(SexEnum.codeOf(repositoryVO.getGender()).getDesc()).setMz(StrUtil.EMPTY).setPhone(StrUtil.EMPTY).setAddress(StrUtil.EMPTY);//.setPhoto(rshyQuickParam.getPhoto());
|
|
|
return rshyVo;
|