java LocalDateTime转Date
解决方法:
public static Date getDate(LocalDateTime localDateTime){
ZoneId zoneId = ZoneId.systemDefault();
ZonedDateTime zdt = localDateTime.atZone(zoneId);
return Date.from(zdt.toInstant());
}
向大家推荐《Activiti工作流实战教程》:https://xiaozhuanlan.com/activiti