From ce64e667815b39efdc2f8bd52be0d43d49db8d84 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期日, 17 七月 2022 00:06:29 +0800
Subject: [PATCH] 优化小区位置

---
 service-api/src/main/java/com/java110/api/smo/assetExport/impl/AssetExportSMOImpl.java |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/service-api/src/main/java/com/java110/api/smo/assetExport/impl/AssetExportSMOImpl.java b/service-api/src/main/java/com/java110/api/smo/assetExport/impl/AssetExportSMOImpl.java
index b0d87d2..2071c43 100644
--- a/service-api/src/main/java/com/java110/api/smo/assetExport/impl/AssetExportSMOImpl.java
+++ b/service-api/src/main/java/com/java110/api/smo/assetExport/impl/AssetExportSMOImpl.java
@@ -16,7 +16,7 @@
 import org.apache.poi.ss.usermodel.Workbook;
 import org.apache.poi.xssf.usermodel.XSSFWorkbook;
 import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
+import com.java110.core.log.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.http.HttpHeaders;
 import org.springframework.http.HttpMethod;
@@ -98,7 +98,7 @@
     private JSONArray getExistsParkSpace(IPageData pd, ComponentValidateResult result) {
         String apiUrl = "";
         ResponseEntity<String> responseEntity = null;
-        apiUrl = ServiceConstant.SERVICE_API_URL + "/api/parkingSpace.queryParkingSpaces?page=1&row=10000&communityId=" + result.getCommunityId();
+        apiUrl = "parkingSpace.queryParkingSpaces?page=1&row=10000&communityId=" + result.getCommunityId();
         responseEntity = this.callCenterService(restTemplate, pd, "", apiUrl, HttpMethod.GET);
 
         if (responseEntity.getStatusCode() != HttpStatus.OK) { //璺宠繃 淇濆瓨鍗曞厓淇℃伅
@@ -129,7 +129,7 @@
     private JSONArray getExistsRoom(IPageData pd, ComponentValidateResult result) {
         String apiUrl = "";
         ResponseEntity<String> responseEntity = null;
-        apiUrl = ServiceConstant.SERVICE_API_URL + "/api/room.queryRooms?page=1&row=10000&communityId=" + result.getCommunityId();
+        apiUrl = "room.queryRooms?page=1&row=10000&communityId=" + result.getCommunityId();
         responseEntity = this.callCenterService(restTemplate, pd, "", apiUrl, HttpMethod.GET);
 
         if (responseEntity.getStatusCode() != HttpStatus.OK) { //璺宠繃 淇濆瓨鍗曞厓淇℃伅
@@ -152,7 +152,7 @@
     private JSONArray getExistsUnit(IPageData pd, ComponentValidateResult result, String floorId) {
         String apiUrl = "";
         ResponseEntity<String> responseEntity = null;
-        apiUrl = ServiceConstant.SERVICE_API_URL + "/api/unit.queryUnits?communityId=" + result.getCommunityId() + "&floorId=" + floorId;
+        apiUrl = "unit.queryUnits?communityId=" + result.getCommunityId() + "&floorId=" + floorId;
         responseEntity = this.callCenterService(restTemplate, pd, "", apiUrl, HttpMethod.GET);
 
         if (responseEntity.getStatusCode() != HttpStatus.OK) { //璺宠繃 淇濆瓨鍗曞厓淇℃伅
@@ -168,7 +168,7 @@
     private JSONArray getExistsFloor(IPageData pd, ComponentValidateResult result) {
         String apiUrl = "";
         ResponseEntity<String> responseEntity = null;
-        apiUrl = ServiceConstant.SERVICE_API_URL + "/api/floor.queryFloors?page=1&row=100&communityId=" + result.getCommunityId();
+        apiUrl = "floor.queryFloors?page=1&row=100&communityId=" + result.getCommunityId();
 
         responseEntity = this.callCenterService(restTemplate, pd, "", apiUrl, HttpMethod.GET);
 
@@ -207,7 +207,7 @@
     private JSONArray getExistsOwner(IPageData pd, ComponentValidateResult result, String roomId) {
         String apiUrl = "";
         ResponseEntity<String> responseEntity = null;
-        apiUrl = ServiceConstant.SERVICE_API_URL + "/api/owner.queryOwners?page=1&row=10000&communityId=" + result.getCommunityId()
+        apiUrl = "owner.queryOwners?page=1&row=10000&communityId=" + result.getCommunityId()
                 + "&ownerTypeCd=1001";
         if (!StringUtil.isEmpty(roomId)) {
             apiUrl += ("&roomId=" + roomId);
@@ -231,7 +231,7 @@
     private JSONArray getExistsParkingSpaceCar(IPageData pd, ComponentValidateResult result, String psId) {
         String apiUrl = "";
         ResponseEntity<String> responseEntity = null;
-        apiUrl = ServiceConstant.SERVICE_API_URL + "/api/parkingSpace.queryParkingSpaceCars?page=1&row=10000&communityId=" + result.getCommunityId();
+        apiUrl = "parkingSpace.queryParkingSpaceCars?page=1&row=10000&communityId=" + result.getCommunityId();
         if (!StringUtil.isEmpty(psId)) {
             apiUrl += ("&psId=" + psId);
         }

--
Gitblit v1.8.0