未验证 提交 a3f61238 编写于 作者: X xingchun-chen 提交者: GitHub

Merge pull request #3535 from qiaozhanwei/1.3.2-release

if task is null , set task type is null instead of "null"
......@@ -1305,7 +1305,7 @@ public class ProcessDefinitionService extends BaseDAGService {
ProcessInstance processInstance = processInstanceList.get(i);
TaskInstance taskInstance = taskInstanceMapper.queryByInstanceIdAndName(processInstance.getId(), nodeName);
if (taskInstance == null) {
treeViewDto.getInstances().add(new Instance(-1, "not running", "null"));
treeViewDto.getInstances().add(new Instance(-1, "not running", null));
} else {
Date startTime = taskInstance.getStartTime() == null ? new Date() : taskInstance.getStartTime();
Date endTime = taskInstance.getEndTime() == null ? new Date() : taskInstance.getEndTime();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册