From 640ff18d2d7f4be02ddb7f8f75e899f05545eb98 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期一, 05 二月 2024 11:56:52 +0800
Subject: [PATCH] 更新bug修改

---
 cloud-server-other/src/main/java/com/dsh/other/entity/SiteBooking.java |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/cloud-server-other/src/main/java/com/dsh/other/entity/SiteBooking.java b/cloud-server-other/src/main/java/com/dsh/other/entity/SiteBooking.java
index 158c9f1..cbfc476 100644
--- a/cloud-server-other/src/main/java/com/dsh/other/entity/SiteBooking.java
+++ b/cloud-server-other/src/main/java/com/dsh/other/entity/SiteBooking.java
@@ -4,10 +4,12 @@
 import com.baomidou.mybatisplus.annotation.TableField;
 import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableName;
+import com.fasterxml.jackson.annotation.JsonFormat;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
 import java.util.Date;
+import java.util.List;
 
 /**
  * @author zhibing.pu
@@ -71,12 +73,14 @@
      */
     @TableField("startTime")
     @ApiModelProperty("预约开始时间")
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
     private Date startTime;
     /**
      * 预约结束
      */
     @TableField("endTime")
     @ApiModelProperty("预约结束时间")
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
     private Date endTime;
     /**
      * 预约人
@@ -100,6 +104,7 @@
      */
     @TableField("payTime")
     @ApiModelProperty("支付时间")
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
     private Date payTime;
     /**
      * 支付金额
@@ -147,6 +152,7 @@
      * 取消时间
      */
     @TableField("cancelTime")
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
     private Date cancelTime;
     /**
      * 第三方取消退款流水号
@@ -162,6 +168,7 @@
      * 添加时间
      */
     @TableField("insertTime")
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
     private Date insertTime;
     @TableField("nextName")
     @ApiModelProperty("场地名称")
@@ -174,4 +181,14 @@
     private String halfName;
     @TableField("goType")
     private Integer goType;
+    @TableField("money")
+    private String money;
+    @TableField(exist = false)
+    private String storePhone;
+    @TableField(exist = false)
+    private List<Integer> sid;
+    @TableField(exist = false)
+    private List<Integer> rid;
+    @TableField("addType")
+    private Integer addType;
 }

--
Gitblit v1.7.1