From fcbb74d411a2c8322693a538965de1cb19b4e121 Mon Sep 17 00:00:00 2001 From: "jay.chang" Date: Mon, 8 Apr 2024 10:08:37 +0800 Subject: [PATCH] =?UTF-8?q?[BGservice]=E5=9C=B0=E9=9C=87api=20=20=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=E7=84=A1=E6=B3=95=E8=BE=A8=E8=AD=98=E5=BC=B7=E9=9C=87?= =?UTF-8?q?=E9=A1=8F=E8=89=B2=E7=9A=84BUG=E5=8F=8A=E6=94=B9=E8=AE=8A?= =?UTF-8?q?=E5=AD=98=E5=85=A5DB=E7=9A=84=E9=A0=86=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BackendWorkerService/Quartz/Jobs/WeatherAPIJob.cs | 1 + BackendWorkerService/Services/Implement/Quicktype.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/BackendWorkerService/Quartz/Jobs/WeatherAPIJob.cs b/BackendWorkerService/Quartz/Jobs/WeatherAPIJob.cs index 8b5b07e..6a927ba 100644 --- a/BackendWorkerService/Quartz/Jobs/WeatherAPIJob.cs +++ b/BackendWorkerService/Quartz/Jobs/WeatherAPIJob.cs @@ -480,6 +480,7 @@ namespace BackendWorkerService.Quartz.Jobs } } } + EarthquakeAPIdbS.Reverse(); await backendRepository.AddMutiByCustomTable(EarthquakeAPIdbS, "api_earthquake"); } await task_Detail.InsertWorkTime_End("WeatherAPI", "api_earthquake"); diff --git a/BackendWorkerService/Services/Implement/Quicktype.cs b/BackendWorkerService/Services/Implement/Quicktype.cs index f14a43f..95cd59b 100644 --- a/BackendWorkerService/Services/Implement/Quicktype.cs +++ b/BackendWorkerService/Services/Implement/Quicktype.cs @@ -130,7 +130,7 @@ namespace QuickType public enum Unit { Gal, Kine }; - public enum ReportColor { 綠色, 黃色 }; + public enum ReportColor { 綠色, 黃色 , 橙色 , 紅色}; public enum ReportRemark { 本報告係中央氣象局地震觀測網即時地震資料地震速報之結果, 本報告係中央氣象署地震觀測網即時地震資料地震速報之結果 };