|
|
@@ -256,8 +256,8 @@ public class TakeDataServiceImpl implements TakeDataService {
|
|
|
//todo 这里进行远程请求,获取相关数据,解析后入库
|
|
|
try {
|
|
|
Map<String,Object> paramMap = new LinkedHashMap<>();
|
|
|
- paramMap.put("ywbh","HL20260126500101");
|
|
|
- paramMap.put("yfbdcdyh","360122014005GB00046");
|
|
|
+ paramMap.put("ywbh",ywh);
|
|
|
+ paramMap.put("yfbdcdyh",yfbdcdyh);
|
|
|
|
|
|
String remoteResult = ServiceUtil.getRemoteDataByHttpClient("query.landRegist.datas",paramMap);
|
|
|
JSONObject root = JSON.parseObject(remoteResult);
|
|
|
@@ -272,9 +272,8 @@ public class TakeDataServiceImpl implements TakeDataService {
|
|
|
}
|
|
|
//todo 这里需要确认是否返回ywh字段
|
|
|
if(StringUtils.isBlank(body.getYwbh())){
|
|
|
- body.setYwbh("20260602500601");
|
|
|
+ body.setYwbh(ywh);
|
|
|
}
|
|
|
-
|
|
|
String needUpdateNodeId = "";
|
|
|
String projectId = immobileCodeRes.getProjectId();
|
|
|
String sourceId = body.getYwbh();
|
|
|
@@ -292,6 +291,7 @@ public class TakeDataServiceImpl implements TakeDataService {
|
|
|
} catch (Exception e) {
|
|
|
log.error("调用矢量保存文件错误,业务编号:{}: ", ywh);
|
|
|
e.printStackTrace();
|
|
|
+ throw new RuntimeException(e);
|
|
|
}
|
|
|
return retMap;
|
|
|
}
|
|
|
@@ -466,6 +466,7 @@ public class TakeDataServiceImpl implements TakeDataService {
|
|
|
} catch (Exception e) {
|
|
|
log.error("调用不动产获取附件信息错误,业务号:{}: ", ywh);
|
|
|
e.printStackTrace();
|
|
|
+ throw new RuntimeException(e);
|
|
|
}
|
|
|
|
|
|
// 第二部分,同步房屋的明细数据入库:
|
|
|
@@ -517,21 +518,21 @@ public class TakeDataServiceImpl implements TakeDataService {
|
|
|
//这边直接更新当前数据
|
|
|
if(Objects.nonNull(statisticsData)){
|
|
|
HouseFirstParamVo body = new HouseFirstParamVo();
|
|
|
-
|
|
|
body.setGzdgzsj(statisticsData.getGzdgzsj());
|
|
|
body.setKfdw(statisticsData.getKfdw());
|
|
|
body.setBdcqk(statisticsData.getBdcqk());
|
|
|
body.setJzmj(statisticsData.getJzmj());
|
|
|
- body.setJzmjDw(statisticsData.getMjdw());
|
|
|
- body.setFtmj(statisticsData.getFtmj());
|
|
|
- body.setTnmjDw(statisticsData.getMjdw());
|
|
|
+ body.setJzmjDw(statisticsData.getTdmjdw());
|
|
|
+ body.setTnmj(statisticsData.getTnmj());
|
|
|
+ body.setTnmjDw(statisticsData.getTdmjdw());
|
|
|
body.setFtmj(statisticsData.getFtmj());
|
|
|
- body.setFtmjDw(statisticsData.getMjdw());
|
|
|
+ body.setFtmjDw(statisticsData.getTdmjdw());
|
|
|
addOrUpdateHouseFirstRegistration(body,retMap.get("projectId").toString(),retMap.get("nodeId").toString());
|
|
|
}
|
|
|
}
|
|
|
}catch (Exception e) {
|
|
|
log.error("调用不动产获取明细信息错误,业务号:{}: ", ywh);
|
|
|
+ throw new RuntimeException(e);
|
|
|
}
|
|
|
return retMap;
|
|
|
}
|