原来的Date类型查询订单返回时间差8个小时,项目全局使用LocalDateTime时间

原来的Date类型查询订单返回时间差8个小时,项目全局使用LocalDateTime时间

Signed-off-by: chop <935048000@qq.com>
This commit is contained in:
chop 2023-03-21 02:35:42 +00:00 committed by Gitee
parent 467170d3de
commit 14e7c52e0e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -22,7 +22,7 @@ public class TradeOrderBaseVO {
private String no; private String no;
@Schema(description = "下单时间", required = true) @Schema(description = "下单时间", required = true)
private Date createTime; private LocalDateTime createTime;
@Schema(description = "订单类型", required = true, example = "1") @Schema(description = "订单类型", required = true, example = "1")
private Integer type; private Integer type;