From 05683f2b2bdbdbe21cf17ad523c21ab338bd1c54 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期二, 19 七月 2022 21:49:55 +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