|
|
@ -355,6 +355,7 @@ public class FlowTaskService extends MybatisBaseService<FlowTaskMapper, FlowTask |
|
|
|
flowTask.setDuration(histIns.getDurationInMillis() == null || histIns.getDurationInMillis() == 0 ? null : FlowableUtils.getDate(histIns.getDurationInMillis())); |
|
|
|
// 获取意见评论内容
|
|
|
|
List<Comment> commentList = taskService.getProcessInstanceComments(histIns.getProcessInstanceId()); |
|
|
|
commentList.sort(Comparator.comparing(Comment::getTime)); |
|
|
|
commentList.forEach(comment -> { |
|
|
|
/* if (histIns.getTaskId().equals(comment.getTaskId())) { |
|
|
|
String type = comment.getType(); |
|
|
|