Merge branch 'feature/REQ-5965' into dev
This commit is contained in:
commit
f135a14eb5
@ -1,5 +1,6 @@
|
|||||||
package cn.axzo.workflow.common.model.response;
|
package cn.axzo.workflow.common.model.response;
|
||||||
|
|
||||||
|
import cn.axzo.workflow.common.enums.BpmnProcessInstanceResultEnum;
|
||||||
import cn.axzo.workflow.common.model.request.bpmn.task.AttachmentDTO;
|
import cn.axzo.workflow.common.model.request.bpmn.task.AttachmentDTO;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
@ -61,4 +62,10 @@ public class ProcessLogItemDTO {
|
|||||||
*/
|
*/
|
||||||
@ApiModelProperty(value = "操作时间")
|
@ApiModelProperty(value = "操作时间")
|
||||||
private String operationTime;
|
private String operationTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 日志项结果,对应{@link BpmnProcessInstanceResultEnum#name()}
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "日志项结果")
|
||||||
|
private String result;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -559,6 +559,7 @@ public class PrintAdminController implements PrintAdminApi {
|
|||||||
.fileList(getAttachmentByType(attachmentByTaskMap, log.getTaskId(), AttachmentTypeEnum.file))
|
.fileList(getAttachmentByType(attachmentByTaskMap, log.getTaskId(), AttachmentTypeEnum.file))
|
||||||
.signatureUrl(getAttachmentByType(attachmentByTaskMap, log.getTaskId(), AttachmentTypeEnum.signature).stream().findFirst().orElse(new AttachmentDTO()).getUrl())
|
.signatureUrl(getAttachmentByType(attachmentByTaskMap, log.getTaskId(), AttachmentTypeEnum.signature).stream().findFirst().orElse(new AttachmentDTO()).getUrl())
|
||||||
.operationTime(DateUtil.format(log.getEndTime(), "yyyy.MM.dd HH:mm:ss"))
|
.operationTime(DateUtil.format(log.getEndTime(), "yyyy.MM.dd HH:mm:ss"))
|
||||||
|
.result(log.getStatus())
|
||||||
.build());
|
.build());
|
||||||
});
|
});
|
||||||
parseSignatureUrl(logItems);
|
parseSignatureUrl(logItems);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user