feat(REQ-5965) - 流程引擎测增加审批日志pdf 结果查询 API
This commit is contained in:
parent
2d25ff475d
commit
9b2d95cdde
@ -1,5 +1,6 @@
|
||||
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 io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
@ -61,4 +62,10 @@ public class ProcessLogItemDTO {
|
||||
*/
|
||||
@ApiModelProperty(value = "操作时间")
|
||||
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))
|
||||
.signatureUrl(getAttachmentByType(attachmentByTaskMap, log.getTaskId(), AttachmentTypeEnum.signature).stream().findFirst().orElse(new AttachmentDTO()).getUrl())
|
||||
.operationTime(DateUtil.format(log.getEndTime(), "yyyy.MM.dd HH:mm:ss"))
|
||||
.result(log.getStatus())
|
||||
.build());
|
||||
});
|
||||
parseSignatureUrl(logItems);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user