Merge branch 'open_v2' into 'master'

南京银行修改-代码还原

See merge request !1176
This commit is contained in:
2025-09-23 16:16:02 +08:00
@@ -576,13 +576,21 @@ public class AddrSvcController {
if (json.containsKey("result")) { if (json.containsKey("result")) {
//我们的结果 //我们的结果
JSONObject result = json.getJSONObject("result"); JSONObject result = json.getJSONObject("result");
//我们省级及以上有开发区,直接用我们的结果 if (result.containsKey("devDistrictName") && StringUtils.isNotBlank(result.get("devDistrictName").toString())) {
if (result.containsKey("devDistrictName")) { // basicModel.setResult(result);
basicModel.setResult(result); if(result.containsKey("countyGov") && StringUtils.isNotBlank(result.get("countyGov").toString())){
result.put("countyGov","");
}
}
basicModel.setResult(result);
//我们省级及以上有开发区,直接用我们的结果
/*if (result.containsKey("devDistrictName")) {
basicModel.setResult(result);
} else if (!"2".equals(type)) { // 对私的不用齐梁 } else if (!"2".equals(type)) { // 对私的不用齐梁
basicModel.setResult(result); basicModel.setResult(result);
} else { }else {
try { try {
//如果是江苏省或者浙江省 调用齐梁的结果 //如果是江苏省或者浙江省 调用齐梁的结果
if (result.containsKey("province") && ("中国".equals(result.getString("province")))) { if (result.containsKey("province") && ("中国".equals(result.getString("province")))) {
@@ -632,7 +640,7 @@ public class AddrSvcController {
basicModel.setResult(result); basicModel.setResult(result);
} }
} }*/
} }
mav.setModel(basicModel); mav.setModel(basicModel);