fix(测试跟踪): 没有缺陷的时候点击同步会一直显示同步中

--bug=1019986 --user=陈建星 【测试跟踪】开源版-缺陷管理-同步禅道缺陷-一直处于加载状态+github#19856 https://www.tapd.cn/55049933/s/1300005
This commit is contained in:
chenjianxing 2022-11-22 10:59:26 +08:00 committed by jianxing
parent 0947e6d8d7
commit 92a8964051
1 changed files with 1 additions and 0 deletions

View File

@ -942,6 +942,7 @@ public class IssuesService {
List<IssuesDao> issues = extIssuesMapper.getIssueForSync(projectId, project.getPlatform());
if (CollectionUtils.isEmpty(issues)) {
deleteSyncKey(projectId);
return true;
}