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

pull/31/MERGE
YunaiV 2023-04-02 12:12:29 +08:00
parent dbf9591b3b
commit 13a3e8ec7a
1 changed files with 2 additions and 0 deletions

View File

@ -135,6 +135,8 @@ public interface BpmTaskConvert {
}
@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.User convert3(AdminUserRespDTO bean);