修复级联无通道时更新停止在等待更新的问题

This commit is contained in:
648540858
2022-07-25 09:44:43 +08:00
parent 8ee7211ba3
commit 91dc4566a2
5 changed files with 48 additions and 20 deletions

View File

@@ -84,6 +84,11 @@ public class CatalogDataCatch {
syncStatus.setCurrent(catalogData.getChannelList().size());
syncStatus.setTotal(catalogData.getTotal());
syncStatus.setErrorMsg(catalogData.getErrorMsg());
if (catalogData.getStatus().equals(CatalogData.CatalogDataStatus.end)) {
syncStatus.setSyncIng(false);
}else {
syncStatus.setSyncIng(true);
}
return syncStatus;
}