[Fix-11583][UI] Fix the API usage of gantt graph (#13778)

This commit is contained in:
lxorc 2023-03-28 17:17:10 +08:00 committed by GitHub
parent d1b6e6f02c
commit 4e2c22061a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -993,7 +993,7 @@ public class ProcessInstanceServiceImpl extends BaseServiceImpl implements Proce
task.getEndDate().add(endTime.getTime());
task.setIsoStart(startTime);
task.setIsoEnd(endTime);
task.setStatus(taskInstance.getState().getDesc().toUpperCase());
task.setStatus(taskInstance.getState().name());
task.setExecutionDate(taskInstance.getStartTime());
task.setDuration(DateUtils.format2Readable(endTime.getTime() - startTime.getTime()));
taskList.add(task);