fix:根據niagara更新device_item is_show_history SQL statment 補遺
This commit is contained in:
parent
3f718bb228
commit
c96f184847
@ -656,6 +656,7 @@ namespace Repository.BackendRepository.Implement
|
|||||||
//先全部關閉
|
//先全部關閉
|
||||||
sb.Append("update device_item set is_show_history=0;");
|
sb.Append("update device_item set is_show_history=0;");
|
||||||
sb.Append("update device_item set is_show_history = 1 " +
|
sb.Append("update device_item set is_show_history = 1 " +
|
||||||
|
"WHERE(device_system_tag, device_name_tag, points) IN " +
|
||||||
"(select distinct device_system_tag, device_name_tag, device_point_name From import_niagara_item);");
|
"(select distinct device_system_tag, device_name_tag, device_point_name From import_niagara_item);");
|
||||||
await conn.ExecuteAsync(sb.ToString());
|
await conn.ExecuteAsync(sb.ToString());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user