From b09e1a8b036553d1e161d127aa738a504593490a Mon Sep 17 00:00:00 2001
From: mrzcc <121184950@qq.com>
Date: 星期三, 19 二月 2020 12:14:55 +0800
Subject: [PATCH] 优化巡检路线查询sql

---
 java110-service/src/main/java/com/java110/service/init/ServiceStartInit.java |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/java110-service/src/main/java/com/java110/service/init/ServiceStartInit.java b/java110-service/src/main/java/com/java110/service/init/ServiceStartInit.java
index 48e31dc..cb9fcb3 100644
--- a/java110-service/src/main/java/com/java110/service/init/ServiceStartInit.java
+++ b/java110-service/src/main/java/com/java110/service/init/ServiceStartInit.java
@@ -1,6 +1,8 @@
 package com.java110.service.init;
 
-import com.java110.common.factory.ApplicationContextFactory;
+import com.java110.utils.factory.ApplicationContextFactory;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 import org.springframework.context.ApplicationContext;
 
 /**
@@ -8,15 +10,16 @@
  */
 public class ServiceStartInit {
 
+    private final static Logger logger = LoggerFactory.getLogger(ServiceStartInit.class);
+
+
     public static void initSystemConfig(ApplicationContext context){
         //鍔犺浇閰嶇疆鏂囦欢锛屾敞鍐岃鍗曞鐞嗕睛鍚�
         try {
-
             ApplicationContextFactory.setApplicationContext(context);
-
         }
         catch (Exception ex) {
-            throw new IllegalStateException("system init error", ex);
+            throw new IllegalStateException("绯荤粺鍒濆鍖栧け璐�", ex);
         }
     }
 

--
Gitblit v1.8.0