diff --git a/adapter/flowable-spring-boot-jpa-starter/src/main/java/com/lanyuanxiaoyao/flowable/jpa/entity/FlowableHistory.java b/adapter/flowable-spring-boot-jpa-starter/src/main/java/com/lanyuanxiaoyao/flowable/jpa/entity/FlowableHistory.java index fcd7c71..7be752b 100644 --- a/adapter/flowable-spring-boot-jpa-starter/src/main/java/com/lanyuanxiaoyao/flowable/jpa/entity/FlowableHistory.java +++ b/adapter/flowable-spring-boot-jpa-starter/src/main/java/com/lanyuanxiaoyao/flowable/jpa/entity/FlowableHistory.java @@ -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() { diff --git a/adapter/flowable-spring-boot-jpa-starter/src/main/java/com/lanyuanxiaoyao/flowable/jpa/entity/FlowableInstance.java b/adapter/flowable-spring-boot-jpa-starter/src/main/java/com/lanyuanxiaoyao/flowable/jpa/entity/FlowableInstance.java index 4cf13bf..7ec5789 100644 --- a/adapter/flowable-spring-boot-jpa-starter/src/main/java/com/lanyuanxiaoyao/flowable/jpa/entity/FlowableInstance.java +++ b/adapter/flowable-spring-boot-jpa-starter/src/main/java/com/lanyuanxiaoyao/flowable/jpa/entity/FlowableInstance.java @@ -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 { diff --git a/adapter/flowable-spring-boot-jpa-starter/src/main/java/com/lanyuanxiaoyao/flowable/jpa/entity/FlowableNode.java b/adapter/flowable-spring-boot-jpa-starter/src/main/java/com/lanyuanxiaoyao/flowable/jpa/entity/FlowableNode.java index 8658942..f82403c 100644 --- a/adapter/flowable-spring-boot-jpa-starter/src/main/java/com/lanyuanxiaoyao/flowable/jpa/entity/FlowableNode.java +++ b/adapter/flowable-spring-boot-jpa-starter/src/main/java/com/lanyuanxiaoyao/flowable/jpa/entity/FlowableNode.java @@ -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(); } }