1
0

修复时间字段的传递

This commit is contained in:
2025-01-07 17:09:51 +08:00
parent d8f58ea2b5
commit 1cc8bb5618
3 changed files with 7 additions and 2 deletions

View File

@@ -43,6 +43,7 @@ public class FlowableHistory {
this.instanceId = history.getInstanceId();
this.action = history.getAction();
this.comment = history.getComment();
this.createdTime = history.getCreatedTime();
}
public com.lanyuanxiaoyao.flowable.core.model.FlowableHistory toFlowableHistory() {

View File

@@ -61,6 +61,8 @@ public class FlowableInstance {
this.currentNodeId = instance.getCurrentNodeId();
this.status = instance.getStatus();
this.extra = instance.getExtra();
this.createdTime = instance.getCreatedTime();
this.updatedTime = instance.getUpdatedTime();
}
private static byte[] objectToBytes(Object object) throws IOException {

View File

@@ -59,7 +59,7 @@ public class FlowableNode {
@CreatedDate
private LocalDateTime createdTime;
@LastModifiedDate
private LocalDateTime updateTime;
private LocalDateTime updatedTime;
public FlowableNode(com.lanyuanxiaoyao.flowable.core.model.FlowableNode node) {
this.nodeId = node.getNodeId();
@@ -70,6 +70,8 @@ public class FlowableNode {
this.targets = node.getTargets();
this.accessor = node.getAccessor();
this.listeners = node.getListeners();
this.createdTime = node.getCreatedTime();
this.updatedTime = node.getUpdatedTime();
}
public com.lanyuanxiaoyao.flowable.core.model.FlowableNode toFlowableNode() {
@@ -83,7 +85,7 @@ public class FlowableNode {
.accessor(accessor)
.listeners(listeners)
.createdTime(createdTime)
.updatedTime(updateTime)
.updatedTime(updatedTime)
.build();
}
}