Commit f5167560dff8cb31edc248d9aac5f7a4a7fb6f9a

Authored by 王通
1 parent e4b53f8a

1.测试环境,配置、逻辑变更

src/main/java/com/bsth/data/schedule/f_a_l/FirstAndLastHandler.java
@@ -110,7 +110,7 @@ public class FirstAndLastHandler { @@ -110,7 +110,7 @@ public class FirstAndLastHandler {
110 } 110 }
111 111
112 public static void saveAll(){ 112 public static void saveAll(){
113 - if(!flag) 113 + /*if(!flag)
114 return; 114 return;
115 115
116 final List<ToGateway> pstList = new ArrayList<>(maps.values()); 116 final List<ToGateway> pstList = new ArrayList<>(maps.values());
@@ -153,6 +153,6 @@ public class FirstAndLastHandler { @@ -153,6 +153,6 @@ public class FirstAndLastHandler {
153 }catch (Exception e){ 153 }catch (Exception e){
154 log.error("", e); 154 log.error("", e);
155 tran.rollback(status); 155 tran.rollback(status);
156 - } 156 + }*/
157 } 157 }
158 } 158 }
src/main/resources/application-prod.properties
@@ -28,4 +28,4 @@ http.gps.real.cache.url= http://192.168.160.153:12580/realGps/all @@ -28,4 +28,4 @@ http.gps.real.cache.url= http://192.168.160.153:12580/realGps/all
28 ## gateway real data 28 ## gateway real data
29 http.gps.real.url= http://192.168.160.151:8080/transport_server/rtgps/ 29 http.gps.real.url= http://192.168.160.151:8080/transport_server/rtgps/
30 ## gateway send directive 30 ## gateway send directive
31 -http.send.directive = http://192.168.160.151:8080/transport_server/message/ 31 +#http.send.directive = http://192.168.160.151:8080/transport_server/message/