From de91c84954157bb9f8b6d938cbe0b1b51fb6e65d Mon Sep 17 00:00:00 2001 From: CeDo <cedoogle@gmail.com> Date: 星期五, 07 五月 2021 15:23:57 +0800 Subject: [PATCH] bugfixed:新增便民服务商家 报错 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/user/RoleVO.java | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/user/RoleVO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/user/RoleVO.java index d71a998..5268197 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/user/RoleVO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/user/RoleVO.java @@ -1,5 +1,6 @@ package com.panzhihua.common.model.vos.user; +import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; @@ -38,23 +39,25 @@ private boolean deptCheckStrictly; @ApiModelProperty("角色状态(0正常 1停用)") - private String status; + private Integer status; @ApiModelProperty("创建者") - private String createBy; + private Long createBy; @ApiModelProperty("创建时间") - private Date createTime; + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Date createAt; @ApiModelProperty("更新者") - private String updateBy; + private Long updateBy; @ApiModelProperty("更新时间") - private Date updateTime; + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Date updateAt; @ApiModelProperty("备注") private String remark; @ApiModelProperty("社区id") - private Integer communityId; + private Long communityId; } -- Gitblit v1.7.1