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/ComElderAuthRecordsDO.java | 48 ++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 40 insertions(+), 8 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComElderAuthRecordsDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComElderAuthRecordsDO.java index b9e8a01..c60be5d 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComElderAuthRecordsDO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComElderAuthRecordsDO.java @@ -29,7 +29,7 @@ /** * 主键id */ - @TableId(type = IdType.INPUT) + @TableId(type = IdType.ASSIGN_ID) private Long id; /** @@ -48,9 +48,9 @@ private Long submitUserId; /** - * 身份认证方式 1.视频认证 2.人脸认证 + * 认证方式(1.视频认证 2.人脸认证 3.线下认证) */ - private Integer type; + private Integer authMethod; /** * 人脸核验结果数据 @@ -95,7 +95,7 @@ /** * 认证状态(1.已认证 0.未认证) */ - private Boolean authStatus; + private Integer authStatus; /** * 认证时间 @@ -111,10 +111,42 @@ /** * 更新时间 */ + @TableField(fill = FieldFill.UPDATE) private Date updateAt; -@Override -public String toString() { + /** + * 社区id + */ + private Long communityId; + + /** + * 审核状态(1.待审核 2.驳回 3.通过) + */ + public interface approvalStatus{ + int dsh = 1; + int bh = 2; + int tg = 3; + } + + /** + * 认证状态(1.已认证 0.未认证) + */ + public interface authStatus{ + int yrz = 1; + int wrz = 0; + } + + /** + * 认证方式(1.视频认证 2.人脸认证 3.线下认证) + */ + public interface authMethod{ + int sprz = 1; + int rlrz = 2; + int xxrz = 3; + } + + @Override + public String toString() { return "ComElderAuthRecordsDO{" + "id=" + id + ", elderliesId=" + elderliesId + @@ -131,6 +163,6 @@ ", authDate=" + authDate + ", createAt=" + createAt + ", updateAt=" + updateAt + - "}"; - } + "}"; + } } \ No newline at end of file -- Gitblit v1.7.1