Browse Source

查询房屋信息

master
zxc 4 years ago
parent
commit
777aa9e0c0
  1. 7
      epmet-user/epmet-user-client/src/main/java/com/epmet/dto/result/PersonDataResultDTO.java
  2. 13
      epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/IcResiUserServiceImpl.java

7
epmet-user/epmet-user-client/src/main/java/com/epmet/dto/result/PersonDataResultDTO.java

@ -52,7 +52,10 @@ public class PersonDataResultDTO implements Serializable {
/**
* 志愿者类别
*/
private String volunteerCategory;
private List<String> volunteerCategory;
@JsonIgnore
private List<String> volunteerCategoryEn;
public PersonDataResultDTO() {
this.workUnit = "";
@ -61,7 +64,7 @@ public class PersonDataResultDTO implements Serializable {
this.name = "";
this.financialSituation = new FinancialSituationDTO();
this.houseInfo = new ArrayList<>();
this.volunteerCategory = "";
this.volunteerCategory = new ArrayList<>();
}
/**

13
epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/IcResiUserServiceImpl.java

@ -964,9 +964,18 @@ public class IcResiUserServiceImpl extends BaseServiceImpl<IcResiUserDao, IcResi
*/
@Override
public PersonDataResultDTO personData(PersonDataFormDTO formDTO) {
baseDao.personData(formDTO.getUserId());
PersonDataResultDTO personData = baseDao.personData(formDTO.getUserId());
if (null == personData){
return new PersonDataResultDTO();
}
// 房屋信息查询
Result<List<String>> listResult = govOrgOpenFeignClient.selectHouseInfoByIdCard(personData.getIdCard());
if (!listResult.success()){
throw new RenException("查询房屋信息失败");
}
personData.setHouseInfo(listResult.getData());
// TODO
return null;
return personData;
}
/**

Loading…
Cancel
Save