Browse Source

更新aws 数据库时区

wuweihao 2 years ago
parent
commit
f455fb780f

+ 2 - 2
720yun_fd_manage/gis_application/src/main/resources/application.properties

@@ -2,8 +2,8 @@ server.port=8001
 server.servlet.context-path=/qjkankan
 server.servlet.context-path=/qjkankan
 
 
 #spring.profiles.active=locPro
 #spring.profiles.active=locPro
-#spring.profiles.active=locSit
-spring.profiles.active=locProAws
+spring.profiles.active=locSit
+#spring.profiles.active=locProAws
 #spring.profiles.active=locSitAws
 #spring.profiles.active=locSitAws
 
 
 
 

+ 2 - 0
720yun_fd_manage/gis_service/src/main/java/com/gis/task/VisitTask.java

@@ -44,6 +44,8 @@ public class VisitTask {
      *
      *
      * Scheduled(cron=" 10 0/5 * * * ? ")   // 每五分钟执行一次, 能被5整除
      * Scheduled(cron=" 10 0/5 * * * ? ")   // 每五分钟执行一次, 能被5整除
      * Scheduled(cron = "0 0 3 * * ?") 每天凌晨三点
      * Scheduled(cron = "0 0 3 * * ?") 每天凌晨三点
+     *
+     * 国际版时间会跟现在差8个小时
      */
      */
     @Scheduled(cron = "0 0 2 * * ?")
     @Scheduled(cron = "0 0 2 * * ?")
 //    @Scheduled(cron=" 10 0/5 * * * ? ")
 //    @Scheduled(cron=" 10 0/5 * * * ? ")