抽取常量

This commit is contained in:
2022-10-10 09:40:57 +08:00
parent 070e0cab6e
commit c2c4d32171
2 changed files with 63 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
package com.njcn.common.pojo.constant;
/**
* @author hongawen
* @version 1.0.0
* @date 2022年10月10日 09:30
*/
public interface BizParamConstant {
/**
* 前端查询时间类型
* 1年 2季度 3月份 4周 5日
*/
String STAT_BIZ_YEAR = "1";
String STAT_BIZ_QUARTER = "2";
String STAT_BIZ_MONTH = "3";
String STAT_BIZ_WEEK = "4";
String STAT_BIZ_DAY = "5";
}

View File

@@ -0,0 +1,43 @@
package com.njcn.common.pojo.param;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
/**
* 基础统计业务查询入参
*
* @author hongawen
* @version 1.0.0
* @date 2022年10月10日 09:15
*/
@Data
public class StatisticsBizBaseParam implements Serializable {
/**
* 按台账统计id为台账索引
* 按单位统计id为单位索引
*/
@ApiModelProperty(name="id",value="按台账统计id为台账索引按单位统计id为单位索引")
private String id;
/**
* 统计类型
*/
@ApiModelProperty(name="type",value="类型1年 2季度 3月份 4周 5日")
private Integer type;
/**
* 统计起始日期
*/
@ApiModelProperty(name="startTime",value="统计起始日期yyyy-MM-dd")
private String startTime;
/**
* 统计截止日期
*/
@ApiModelProperty(name="endTime",value="统计截止日期yyyy-MM-dd")
private String endTime;
}