From c4233fa836decf4168d515f1a1a0c8ba2a9c5855 Mon Sep 17 00:00:00 2001
From: puhanshu <a9236326>
Date: 星期五, 29 七月 2022 15:19:00 +0800
Subject: [PATCH] bug修改

---
 springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/LoginUserInfoVO.java |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/LoginUserInfoVO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/LoginUserInfoVO.java
index d4ffefc..8c98245 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/LoginUserInfoVO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/LoginUserInfoVO.java
@@ -33,6 +33,7 @@
 public class LoginUserInfoVO {
 
     @ApiModelProperty("user_id")
+    @JsonSerialize(using = ToStringSerializer.class)
     private Long userId;
 
     @ApiModelProperty("微信会话密钥")
@@ -123,6 +124,7 @@
     private String tags;
 
     @ApiModelProperty("家庭id")
+    @JsonSerialize(using = ToStringSerializer.class)
     private Long familyId;
 
     @ApiModelProperty(value = "分页每页数量", example = "10")
@@ -144,6 +146,7 @@
     private List<ComMngStructHouseVO> comMngStructHouseVOS;
 
     @ApiModelProperty("用户小区id")
+    @JsonSerialize(using = ToStringSerializer.class)
     // @Min(value = 1,groups = {PutGroup.class},message = "用户小区id不能为空")
     // @NotNull(groups = {PutGroup.class},message = "用户小区id不能为空")
     private Long areaId;
@@ -212,12 +215,14 @@
     @ApiModelProperty("areaCode")
     private String areaCode;
     @ApiModelProperty("街道id")
+    @JsonSerialize(using = ToStringSerializer.class)
     private Long streetId;
 
     @ApiModelProperty("账号类型 1街道 2社区 3社会组织")
     private Integer userType;
 
     @ApiModelProperty("社会组织Id")
+    @JsonSerialize(using = ToStringSerializer.class)
     private Long orgId;
 
     @ApiModelProperty("是否是防疫工作人员 1.是 2.否")
@@ -233,6 +238,7 @@
     private Integer isCheckUnitAdmin;
 
     @ApiModelProperty("报道单位id")
+    @JsonSerialize(using = ToStringSerializer.class)
     private Long checkUnitId;
 
 

--
Gitblit v1.7.1