From ce64e667815b39efdc2f8bd52be0d43d49db8d84 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期日, 17 七月 2022 00:06:29 +0800
Subject: [PATCH] 优化小区位置
---
java110-service/src/main/java/com/java110/service/context/DataQuery.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/java110-service/src/main/java/com/java110/service/context/DataQuery.java b/java110-service/src/main/java/com/java110/service/context/DataQuery.java
old mode 100644
new mode 100755
index 3fb4dfe..ad54e6e
--- a/java110-service/src/main/java/com/java110/service/context/DataQuery.java
+++ b/java110-service/src/main/java/com/java110/service/context/DataQuery.java
@@ -1,9 +1,9 @@
package com.java110.service.context;
import com.alibaba.fastjson.JSONObject;
-import com.java110.common.factory.ApplicationContextFactory;
+import com.java110.utils.factory.ApplicationContextFactory;
import com.java110.entity.service.ServiceSql;
-import com.java110.service.dao.IQueryServiceDAO;
+import com.java110.db.dao.IQueryServiceDAO;
import org.springframework.http.RequestEntity;
import org.springframework.http.ResponseEntity;
import org.springframework.web.client.RestTemplate;
@@ -159,7 +159,7 @@
if(innerService){
restTemplate = ApplicationContextFactory.getBean("restTemplate",RestTemplate.class);
}else{
- restTemplate = ApplicationContextFactory.getBean("restTemplateNoLoadBalanced",RestTemplate.class);
+ restTemplate = ApplicationContextFactory.getBean("outRestTemplate",RestTemplate.class);
}
return restTemplate.exchange(requestEntity,String.class);
}
--
Gitblit v1.8.0