Commit 040b1cef by chenweisong

更新

parent 7419a00f
......@@ -351,6 +351,9 @@ public class TaskController {
processes.forEach(process -> {
Map map = new HashMap();
map.put("id", process.getId());
map.put("name", process.getActivity().getName());
map.put("startAt", process.getStartAt());
map.put("remake", process.getActivity().getRemark());
HistoricProcessInstance historicProcessInstance = historyService.createHistoricProcessInstanceQuery().processInstanceId(process.getProcessId()).singleResult();
int total = 0;
int completed = 0;
......
package com.keymobile.rest.model;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
......@@ -30,6 +31,7 @@ public class Process implements Serializable {
private String processId;
@Column(nullable = false, name = "start_at")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Timestamp startAt;
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment