|
@@ -290,7 +290,7 @@ public class MarkingServiceImpl implements MarkingService {
|
|
}
|
|
}
|
|
} else if (ob instanceof LocalDateTime) {
|
|
} else if (ob instanceof LocalDateTime) {
|
|
LocalDateTime tem = (LocalDateTime) ob;
|
|
LocalDateTime tem = (LocalDateTime) ob;
|
|
- Instant instant = tem.atZone(ZoneId.systemDefault()).toInstant();
|
|
|
|
|
|
+ Instant instant = tem.atZone(ZoneId.of("Asia/Shanghai")).toInstant();
|
|
|
|
|
|
// 将 Instant 转换为 Date
|
|
// 将 Instant 转换为 Date
|
|
Date date = Date.from(instant);
|
|
Date date = Date.from(instant);
|