From 9b55f87ffe20ff8069d8869ea0b43393af6303f0 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Wed, 30 Dec 2020 16:52:32 +0800 Subject: [PATCH] modify --- zq-erp/src/main/java/com/matrix/system/hiveErp/analysUtil/StatisticsParamVo.java | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/zq-erp/src/main/java/com/matrix/system/hiveErp/analysUtil/StatisticsParamVo.java b/zq-erp/src/main/java/com/matrix/system/hiveErp/analysUtil/StatisticsParamVo.java index 9ebb408..a4257a3 100644 --- a/zq-erp/src/main/java/com/matrix/system/hiveErp/analysUtil/StatisticsParamVo.java +++ b/zq-erp/src/main/java/com/matrix/system/hiveErp/analysUtil/StatisticsParamVo.java @@ -3,6 +3,8 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import javax.validation.constraints.NotBlank; + /** * 统计查询条件 * @author jyy @@ -17,17 +19,20 @@ /** * 开始时间 */ + @NotBlank(message = "参数错误") @ApiModelProperty(value = "开始时间", example = "2020-01") private String beginTime; /** *结束时间 */ + @NotBlank(message = "参数错误") @ApiModelProperty(value = "结束时间", example = "2020-12") private String endTime; /** *统计单位 */ + @NotBlank(message = "参数错误") @ApiModelProperty(value = "统计单位", example = "月") private String statisticsUnit; @@ -42,6 +47,17 @@ @ApiModelProperty(value = "门店ID, 不传默认统计整个公司") private Long shopId; + @ApiModelProperty(value = "类型 1-营业收入 2-现金收入 3-余额划扣 4-本金消耗 5-赠送消耗 6-现金退款 7-卡项退款 8-欠款") + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + public String getBeginTime() { return beginTime; } -- Gitblit v1.9.1