|
@ -1,10 +1,12 @@
|
|
|
package com.yihu.wlyy.statistics.vo;
|
|
|
|
|
|
import com.alibaba.fastjson.annotation.JSONField;
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import io.searchbox.annotations.JestId;
|
|
|
import org.elasticsearch.index.analysis.AnalysisSettingsRequired;
|
|
|
import org.springframework.data.annotation.CreatedDate;
|
|
|
|
|
|
import java.text.SimpleDateFormat;
|
|
|
import java.util.Date;
|
|
|
import java.util.HashMap;
|
|
|
import java.util.Map;
|
|
@ -18,9 +20,9 @@ public class SaveModel {
|
|
|
private final static String townKey = "town";
|
|
|
private final static String cityKey = "city";
|
|
|
|
|
|
public final static String interval_day="1";
|
|
|
public final static String interval_week="2";
|
|
|
public final static String interval_month="3";
|
|
|
public final static String interval_day = "1";
|
|
|
public final static String interval_week = "2";
|
|
|
public final static String interval_month = "3";
|
|
|
|
|
|
public final static String teamLevel = "5";
|
|
|
public final static String OrgLevel = "4";
|
|
@ -35,6 +37,9 @@ public class SaveModel {
|
|
|
|
|
|
private String quotaCode;//指标code
|
|
|
|
|
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ssXX")
|
|
|
@CreatedDate
|
|
|
@JSONField(format = "yyyy-MM-dd'T'HH:mm:ssXX")
|
|
|
private Date quotaDate;//统计时间
|
|
|
|
|
|
private String city;//城市代码 350200
|
|
@ -74,13 +79,13 @@ public class SaveModel {
|
|
|
private Integer result2 = 0;//统计结果 次数
|
|
|
|
|
|
private String areaLevel;// 1 省 2 市 3 区县 4 机构 5团队
|
|
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyyMMdd'T'HHmmss.SSS'Z'")
|
|
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ssXX")
|
|
|
@CreatedDate
|
|
|
@JSONField(format = "yyyy-MM-dd'T'HH:mm:ssXX")
|
|
|
private Date createTime;//创建时间
|
|
|
|
|
|
private String timeLevel;// 1日 2年
|
|
|
|
|
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy/MM/dd ")
|
|
|
public Date getQuotaDate() {
|
|
|
return quotaDate;
|
|
|
}
|