From 02f18587bd8860b305e2c688e20465be166bb48c Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期四, 22 七月 2021 15:14:03 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/test' into test --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/EventBatchRevokeDTO.java | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/EventBatchRevokeDTO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/EventBatchRevokeDTO.java index f3a8ba9..121c235 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/EventBatchRevokeDTO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/EventBatchRevokeDTO.java @@ -21,8 +21,8 @@ public class EventBatchRevokeDTO { @ApiModelProperty(value = "id", hidden = false, example = "1", required = true) - @NotNull - private List<Long> id; + @NotNull(message = "事件ID不能为空") + private List<String> id; @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") private Long userId; @@ -36,4 +36,10 @@ @ApiModelProperty(value = "操作人所属社区", hidden = true, example = "学院社区") private Long communityId; + @ApiModelProperty(value = "撤销类型 1 网格员 2 社区", hidden = true, example = "1") + private Integer revokeType; + + @ApiModelProperty(value = "撤销人/社区ID", hidden = true, example = "1") + private Long revokeId; + } -- Gitblit v1.7.1