From 70d2a5d0f9c6951b2d4cac954041ed73582ff7eb Mon Sep 17 00:00:00 2001 From: liujie <1793218484@qq.com> Date: 星期一, 09 六月 2025 11:54:00 +0800 Subject: [PATCH] 6.9新增登录失败冻结逻辑 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActReserveRecordDO.java | 31 +++++++++++++++++++++++-------- 1 files changed, 23 insertions(+), 8 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActReserveRecordDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActReserveRecordDO.java index f3b1edd..4456faf 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActReserveRecordDO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActReserveRecordDO.java @@ -3,6 +3,7 @@ import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; +import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import java.io.Serializable; @@ -24,7 +25,7 @@ /** * 主键id */ - @TableId(type = IdType.AUTO) + @TableId(type = IdType.ASSIGN_ID) private Long id; /** @@ -80,6 +81,7 @@ /** * 预约时间 */ + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date reserveTime; /** @@ -90,6 +92,7 @@ /** * 创建时间 */ + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date createAt; /** @@ -108,14 +111,9 @@ private Long updateBy; /** - * 状态(1.待处理 2.预约成功 3.预约失败 4.已取消) + * 处理人id */ - public interface status{ - int dcl = 1; - int yycg = 2; - int yysb = 3; - int yqx = 4; - } + private Long handleId; @Override public String toString() { @@ -139,4 +137,21 @@ ", updateBy=" + updateBy + "}"; } + + /** + * 状态(1.待处理 2.预约成功 3.预约失败 4.已取消) + */ + public interface status{ + int dcl = 1; + int cg = 2; + int sb = 3; + int yqx = 4; + } + /** + * 类型(1.预约 2.登记) + */ + public interface type{ + int yy=1; + int dj=2; + } } \ No newline at end of file -- Gitblit v1.7.1