[後端] 修改api-rain參數

This commit is contained in:
dev02 2023-11-20 12:37:28 +08:00
parent 552ed2bf34
commit b0295ba003
2 changed files with 3 additions and 3 deletions

View File

@ -545,7 +545,9 @@ namespace BackendWorkerService.Quartz.Jobs
} }
else else
{ {
if (Headline.Contains("大雨")) if (Headline.Contains("解除"))
rint = 0;
else if (Headline.Contains("大雨"))
{ {
rint = 1; rint = 1;
} }

View File

@ -781,8 +781,6 @@ namespace Repository.BackendRepository.Implement
await KeepTimeLog("insert into device_item", stopwatchSection.ElapsedMilliseconds); await KeepTimeLog("insert into device_item", stopwatchSection.ElapsedMilliseconds);
#endregion #endregion
//device有niagara沒有is_link 更新成 0 //device有niagara沒有is_link 更新成 0
//sb.Append($@" SET SQL_SAFE_UPDATES = 0; //sb.Append($@" SET SQL_SAFE_UPDATES = 0;
// UPDATE device_item d LEFT JOIN import_niagara_item m // UPDATE device_item d LEFT JOIN import_niagara_item m