!426 【轻量级 PR】:bugfix: 转换HistoricTaskInstance.createTime -> BpmTaskRespVO.createTime
parent
dbf9591b3b
commit
13a3e8ec7a
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue