Java类型MySQL类型是否成功,datedatetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimetimeti@Datapublic class FoursShopOrder { private static final String FORMAT = "yyyy-MM-dd HH:mm:ss"; public static final String TIME_ZONE = "GMT+8"; /** * 订单时间 */ @JsonFormat(pattern= FORMAT, timezone =TIME_ZONE) private Timestamp orderTime;}