[後端] 修改api-rain參數
This commit is contained in:
parent
552ed2bf34
commit
b0295ba003
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user