[後端] 修改同步時常, 修改使用function

This commit is contained in:
dev02 2023-07-18 14:08:43 +08:00
parent c468efe0fc
commit 5992b5cfd2
2 changed files with 4 additions and 4 deletions

View File

@ -114,8 +114,8 @@ namespace Backend.Controllers
}
string LightSwitchLevel = await niagaraDataSynchronizeRepository.getLightSwitchLevel(); //獲取照明開關 是否在 device or device_node
await niagaraDataSynchronizeRepository.InsertNiagaraTagList(ds, building, tag_quantity); // 匯入 MySQL table: import_niagara_tag
await niagaraDataSynchronizeRepository.DeviceComparison(LightSwitchLevel);
//await niagaraDataSynchronizeRepository.InsertNiagaraTagList(ds, building, tag_quantity); // 匯入 MySQL table: import_niagara_tag
//await niagaraDataSynchronizeRepository.DeviceComparison(LightSwitchLevel);
await niagaraDataSynchronizeRepository.CheckDiffFullNameAndCover();
await niagaraDataSynchronizeRepository.CheckFullNameEmptyReplaceByDeviceName();
await niagaraDataSynchronizeRepository.InsertBuildingMenu();

View File

@ -161,7 +161,7 @@
success: function (rel) {
if (rel.code != "0000") {
toast_error(rel.msg);
showSpinner();
hideSpinner();
document.getElementById('loadDataText').innerText = "比對資料出錯了!";
return;
}
@ -210,7 +210,7 @@
success: function (rel) {
if (rel.code != "0000") {
toast_error(rel.msg);
showSpinner();
hideSpinner();
document.getElementById('loadDataText').innerText = "比對資料出錯了!";
return;
}