fix(项目管理-迭代): #11202 迭代燃尽图兼容返回

This commit is contained in:
wanjia 2024-09-12 15:37:23 +08:00
parent 041092562e
commit 42d003d455
1 changed files with 3 additions and 0 deletions

View File

@ -235,6 +235,9 @@ public class PmsProjectSprintServiceImpl implements IPmsProjectSprintService
if (pmsProjectSprint == null) {
throw new ServiceException("该迭代不存在(迭代ID[%s])", pmSprintId);
}
if (pmsProjectSprint.getStartTime() == null || pmsProjectSprint.getEndTime() == null) {
return null;
}
JSONObject result = gitLinkRequestHelper.doGet(
PmsGitLinkRequestUrl.GET_SPRINT_BURN_DOWN_CHART(pmSprintId,
pmsProjectSprint.getStartTime(),