From 9641ba3c1d91c3105966b2038f97a2db83bbe7b7 Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期一, 12 七月 2021 15:21:15 +0800 Subject: [PATCH] 修改bug --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/bigscreen/BigScreenStatisticPartyActivityDTO.java | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/bigscreen/BigScreenStatisticPartyActivityDTO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/bigscreen/BigScreenStatisticPartyActivityDTO.java index 49fd951..f21d094 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/bigscreen/BigScreenStatisticPartyActivityDTO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/bigscreen/BigScreenStatisticPartyActivityDTO.java @@ -25,9 +25,17 @@ private Integer type = 3; @ApiModelProperty(value = "日期", hidden = false, example = "2021-06-01", required = true) - @NotNull(message = "时间不能为空") +// @NotNull(message = "时间不能为空") @Pattern(regexp = "^\\d{4}-\\d{2}-\\d{2}$", message = "时间格式错误") private String date; + @ApiModelProperty(value = "开始时间", hidden = false, example = "2021-06-01", required = true) + @Pattern(regexp = "^\\d{4}-\\d{2}-\\d{2}$", message = "时间格式错误") + private String startTime; + + @ApiModelProperty(value = "结束时间", hidden = false, example = "2021-06-01", required = true) + @Pattern(regexp = "^\\d{4}-\\d{2}-\\d{2}$", message = "时间格式错误") + private String endTime; + } -- Gitblit v1.7.1