!309 fix:流程代办,日期时区转换错误

Merge pull request !309 from zy_2021/master
This commit is contained in:
芋道源码 2022-11-29 14:17:35 +00:00 committed by Gitee
commit 8c4ba396be
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -77,6 +77,8 @@ public interface BpmTaskConvert {
}
@Mapping(source = "suspended", target = "suspensionState", qualifiedByName = "convertSuspendedToSuspensionState")
@Mapping(target = "claimTime", expression = "java(bean.getClaimTime()==null?null: LocalDateTime.ofInstant(bean.getClaimTime().toInstant(),ZoneId.systemDefault()))")
@Mapping(target = "createTime", expression = "java(bean.getCreateTime()==null?null:LocalDateTime.ofInstant(bean.getCreateTime().toInstant(),ZoneId.systemDefault()))")
BpmTaskTodoPageItemRespVO convert1(Task bean);
@Named("convertSuspendedToSuspensionState")