提交 13a3e8ec authored 作者: YunaiV's avatar YunaiV

!426 【轻量级 PR】:bugfix: 转换HistoricTaskInstance.createTime -> BpmTaskRespVO.createTime

上级 dbf9591b
...@@ -135,6 +135,8 @@ public interface BpmTaskConvert { ...@@ -135,6 +135,8 @@ public interface BpmTaskConvert {
} }
@Mapping(source = "taskDefinitionKey", target = "definitionKey") @Mapping(source = "taskDefinitionKey", target = "definitionKey")
@Mapping(target = "createTime", expression = "java(bean.getCreateTime() == null ? null : LocalDateTime.ofInstant(bean.getCreateTime().toInstant(), ZoneId.systemDefault()))")
@Mapping(target = "endTime", expression = "java(bean.getEndTime() == null ? null : LocalDateTime.ofInstant(bean.getEndTime().toInstant(), ZoneId.systemDefault()))")
BpmTaskRespVO convert3(HistoricTaskInstance bean); BpmTaskRespVO convert3(HistoricTaskInstance bean);
BpmTaskRespVO.User convert3(AdminUserRespDTO bean); BpmTaskRespVO.User convert3(AdminUserRespDTO bean);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论