修复时间字段的传递
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user