bugfix: 转换HistoricTaskInstance.createTime -> BpmTaskRespVO.createTime
Signed-off-by: SuperHao <jacky.jihao@gmail.com>pull/2/head
parent
0ad7492717
commit
4592b79deb
|
@ -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