From eab874580586bb589d73f61df7a4ce10252a0110 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Wed, 30 Dec 2020 15:23:58 +0800 Subject: [PATCH] modify --- zq-erp/src/main/java/com/matrix/system/hiveErp/analysUtil/StatisticsParamVo.java | 19 ++++++++++++++++--- 1 files changed, 16 insertions(+), 3 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 dba0746..9ebb408 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 @@ -1,33 +1,46 @@ package com.matrix.system.hiveErp.analysUtil; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + /** * 统计查询条件 * @author jyy */ +@ApiModel(value = "StatisticsParamVo", description = "专项统计接收参数类") public class StatisticsParamVo { + + public static final String COMPANY = "1"; + + public static final String SHOP = "2"; /** * 开始时间 */ + @ApiModelProperty(value = "开始时间", example = "2020-01") private String beginTime; /** *结束时间 */ + @ApiModelProperty(value = "结束时间", example = "2020-12") private String endTime; /** *统计单位 */ + @ApiModelProperty(value = "统计单位", example = "月") private String statisticsUnit; /** *对比单位 */ + @ApiModelProperty(hidden = true) private String contrastUnit; /** * 门店id */ - private String shopId; + @ApiModelProperty(value = "门店ID, 不传默认统计整个公司") + private Long shopId; public String getBeginTime() { return beginTime; @@ -61,11 +74,11 @@ this.contrastUnit = contrastUnit; } - public String getShopId() { + public Long getShopId() { return shopId; } - public void setShopId(String shopId) { + public void setShopId(Long shopId) { this.shopId = shopId; } } -- Gitblit v1.9.1