实时报表统计接口实现

This commit is contained in:
zhangdongxu
2018-07-16 14:36:43 +08:00
parent 4f48d3862e
commit 7a262b72a8
11 changed files with 862 additions and 7 deletions

View File

@@ -0,0 +1,31 @@
package com.nis.domain.restful;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.wordnik.swagger.annotations.ApiModelProperty;
public class NtcAttrTypeReport extends NtcReportEntity<NtcAttrTypeReport>{
private static final long serialVersionUID = -5609071907676757108L;
@ApiModelProperty(value="性质", required=true)
protected Integer attrType ;
protected String searchAttrType;
public Integer getAttrType() {
return attrType;
}
public void setAttrType(Integer attrType) {
this.attrType = attrType;
}
@JsonIgnore
public String getSearchAttrType() {
return searchAttrType;
}
public void setSearchAttrType(String searchAttrType) {
this.searchAttrType = searchAttrType;
}
}

View File

@@ -0,0 +1,25 @@
package com.nis.domain.restful;
import com.wordnik.swagger.annotations.ApiModelProperty;
public class NtcDestipCountryReport extends NtcReportEntity<NtcDestipCountryReport>{
private static final long serialVersionUID = 7911364106357601141L;
@ApiModelProperty(value="所属国家", required=true)
protected String destCountry;
/**
* @param destCountry the destCountry to set
*/
public void setDestCountry(String destCountry) {
this.destCountry = destCountry;
}
/**
* @return the destCountry
*/
public String getDestCountry() {
return destCountry;
}
}

View File

@@ -0,0 +1,43 @@
package com.nis.domain.restful;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.wordnik.swagger.annotations.ApiModelProperty;
public class NtcEntranceReport extends NtcReportEntity<NtcEntranceReport> {
private static final long serialVersionUID = -3973713578165502900L;
@ApiModelProperty(value = "局点(出入口)", required = true)
protected Integer entranceId;
protected String searchEntrance;
/**
* @return the entranceId
*/
public Integer getEntranceId() {
return entranceId;
}
/**
* @param entranceId the entranceId to set
*/
public void setEntranceId(Integer entranceId) {
this.entranceId = entranceId;
}
@JsonIgnore
/**
* @return the searchEntrance
*/
public String getSearchEntrance() {
return searchEntrance;
}
/**
* @param searchEntrance the searchEntrance to set
*/
public void setSearchEntrance(String searchEntrance) {
this.searchEntrance = searchEntrance;
}
}

View File

@@ -0,0 +1,42 @@
package com.nis.domain.restful;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.wordnik.swagger.annotations.ApiModelProperty;
public class NtcLwhhReport extends NtcReportEntity<NtcLwhhReport>{
private static final long serialVersionUID = -5980925900825684234L;
@ApiModelProperty(value="性质", required=true)
protected Integer lwhh ;
protected String searchLwhh;
/**
* @param lwhh the lwhh to set
*/
public void setLwhh(Integer lwhh) {
this.lwhh = lwhh;
}
/**
* @return the lwhh
*/
public Integer getLwhh() {
return lwhh;
}
/**
* @return the searchLwhh
*/
@JsonIgnore
public String getSearchLwhh() {
return searchLwhh;
}
/**
* @param searchLwhh the searchLwhh to set
*/
public void setSearchLwhh(String searchLwhh) {
this.searchLwhh = searchLwhh;
}
}

View File

@@ -0,0 +1,8 @@
package com.nis.domain.restful;
public class NtcServiceReport extends NtcReportEntity<NtcServiceReport>{
private static final long serialVersionUID = -1343092528265818679L;
}

View File

@@ -0,0 +1,41 @@
package com.nis.domain.restful;
import com.wordnik.swagger.annotations.ApiModelProperty;
public class NtcSrcipDomesticReport extends NtcReportEntity<NtcSrcipDomesticReport>{
private static final long serialVersionUID = -2146157609572355782L;
@ApiModelProperty(value="所属省", required=true)
protected String srcProvince;
@ApiModelProperty(value="所属市", required=true)
protected String srcCity;
/**
* @param srcProvince the srcProvince to set
*/
public void setSrcProvince(String srcProvince) {
this.srcProvince = srcProvince;
}
/**
* @return the srcProvince
*/
public String getSrcProvince() {
return srcProvince;
}
/**
* @param srcCity the srcCity to set
*/
public void setSrcCity(String srcCity) {
this.srcCity = srcCity;
}
/**
* @return the srcCity
*/
public String getSrcCity() {
return srcCity;
}
}

View File

@@ -0,0 +1,33 @@
package com.nis.domain.restful;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.wordnik.swagger.annotations.ApiModelProperty;
public class NtcTagReport extends NtcReportEntity<NtcTagReport>{
private static final long serialVersionUID = -3973713578165502900L;
@ApiModelProperty(value="标签", required=true)
protected Integer tag;
protected String searchTag;
public Integer getTag() {
return tag;
}
public void setTag(Integer tag) {
this.tag = tag;
}
@JsonIgnore
public String getSearchTag() {
return searchTag;
}
public void setSearchTag(String searchTag) {
this.searchTag = searchTag;
}
}