提交实时报表服务公共类以及公共调用方法
This commit is contained in:
87
src/main/java/com/nis/domain/log/BaseReportLog.java
Normal file
87
src/main/java/com/nis/domain/log/BaseReportLog.java
Normal file
@@ -0,0 +1,87 @@
|
||||
/**
|
||||
*@Title: BaseReportLog.java
|
||||
*@Package com.nis.domain.log
|
||||
*@Description TODO
|
||||
*@author dell
|
||||
*@date 2018年7月5日 上午11:12:48
|
||||
*@version 版本号
|
||||
*/
|
||||
package com.nis.domain.log;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.Map.Entry;
|
||||
|
||||
import javax.ws.rs.client.Invocation.Builder;
|
||||
import javax.ws.rs.client.WebTarget;
|
||||
import javax.ws.rs.core.MediaType;
|
||||
import javax.ws.rs.core.Response;
|
||||
|
||||
import com.google.common.reflect.TypeToken;
|
||||
import com.google.gson.Gson;
|
||||
import com.nis.domain.BaseEntity;
|
||||
import com.nis.exceptions.MaatConvertException;
|
||||
import com.nis.util.Constants;
|
||||
import com.nis.util.StringUtils;
|
||||
import com.nis.util.httpclient.ClientUtil;
|
||||
|
||||
/**
|
||||
* @ClassName: BaseReportLog.java
|
||||
* @Description: 报表接口返回的公共字段
|
||||
* @author (wx)
|
||||
* @date 2018年7月5日 上午11:12:48
|
||||
* @version V1.0
|
||||
*/
|
||||
public class BaseReportLog<T> extends BaseEntity<T> {
|
||||
/**
|
||||
* @Fields serialVersionUID:TODO(用一句话描述这个变量表示什么)
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
private static final long serialVersionUID = -6190203013788730697L;
|
||||
protected Long sum;
|
||||
protected Integer service;
|
||||
protected Date reportTime;
|
||||
/**
|
||||
* sum
|
||||
* @return sum
|
||||
*/
|
||||
|
||||
public Long getSum() {
|
||||
return sum;
|
||||
}
|
||||
/**
|
||||
* @param sum the sum to set
|
||||
*/
|
||||
public void setSum(Long sum) {
|
||||
this.sum = sum;
|
||||
}
|
||||
/**
|
||||
* service
|
||||
* @return service
|
||||
*/
|
||||
|
||||
public Integer getService() {
|
||||
return service;
|
||||
}
|
||||
/**
|
||||
* @param service the service to set
|
||||
*/
|
||||
public void setService(Integer service) {
|
||||
this.service = service;
|
||||
}
|
||||
/**
|
||||
* reportTime
|
||||
* @return reportTime
|
||||
*/
|
||||
|
||||
public Date getReportTime() {
|
||||
return reportTime;
|
||||
}
|
||||
/**
|
||||
* @param reportTime the reportTime to set
|
||||
*/
|
||||
public void setReportTime(Date reportTime) {
|
||||
this.reportTime = reportTime;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user