南京银行涉农,我们出开发区用我们的结果

This commit is contained in:
mjt
2024-04-25 15:17:46 +08:00
parent 9f3ec28e74
commit 61eff5f9d9
@@ -434,6 +434,11 @@ 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")) {
basicModel.setResult(result);
} else {
try { try {
//如果是江苏省或者浙江省 调用齐梁的结果 //如果是江苏省或者浙江省 调用齐梁的结果
if ("江苏省".equals(result.getString("province")) || "浙江省".equals(result.getString("province"))) { if ("江苏省".equals(result.getString("province")) || "浙江省".equals(result.getString("province"))) {
@@ -466,6 +471,9 @@ public class AddrSvcController {
e.printStackTrace(); e.printStackTrace();
basicModel.setResult(result); basicModel.setResult(result);
} }
}
} }
mav.setModel(basicModel); mav.setModel(basicModel);
} else { } else {