bgp模块ip域配置提交
导出全部数据简单功能
This commit is contained in:
@@ -62,6 +62,8 @@ public class Page<T> {
|
||||
|
||||
private RequestContext requestContext;
|
||||
|
||||
private int maxExportSize=Constants.MAX_EXPORT_SIZE;
|
||||
|
||||
public Page() {
|
||||
this.pageSize = -1;
|
||||
}
|
||||
@@ -662,7 +664,13 @@ public class Page<T> {
|
||||
public String getFuncParam() {
|
||||
return funcParam;
|
||||
}
|
||||
|
||||
@JsonIgnore
|
||||
public int getMaxExportSize() {
|
||||
return maxExportSize;
|
||||
}
|
||||
public void setMaxExportSize(int maxExportSize) {
|
||||
this.maxExportSize = maxExportSize;
|
||||
}
|
||||
/**
|
||||
* 设置分页函数的附加参数
|
||||
* @return
|
||||
|
||||
@@ -15,6 +15,7 @@ import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.google.gson.annotations.Expose;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import com.nis.domain.BaseEntity;
|
||||
import com.nis.util.excel.ExcelField;
|
||||
|
||||
/**
|
||||
* @ClassName: BaseConfig.java
|
||||
@@ -48,20 +49,24 @@ public class BaseCfg<T> extends BaseEntity<T> implements Cloneable{
|
||||
/**
|
||||
* 配置描述
|
||||
*/
|
||||
@ExcelField(title="config_describe")
|
||||
protected String cfgDesc;
|
||||
|
||||
/**
|
||||
* GK类型
|
||||
*/
|
||||
@ExcelField(title="action")
|
||||
protected Integer action;
|
||||
/**
|
||||
* 有效标识
|
||||
*/
|
||||
@ExcelField(title="valid_identifier")
|
||||
@Expose
|
||||
protected Integer isValid;
|
||||
/**
|
||||
* 是否审核
|
||||
*/
|
||||
@ExcelField(title="is_audit")
|
||||
protected Integer isAudit;
|
||||
/**
|
||||
* 创建人员
|
||||
@@ -70,10 +75,12 @@ public class BaseCfg<T> extends BaseEntity<T> implements Cloneable{
|
||||
/**
|
||||
* 创建人员
|
||||
*/
|
||||
@ExcelField(title="creator")
|
||||
protected String creatorName;
|
||||
/**
|
||||
* 配置时间
|
||||
*/
|
||||
@ExcelField(title="config_time")
|
||||
protected Date createTime;
|
||||
/**
|
||||
* 修改人员
|
||||
@@ -82,10 +89,12 @@ public class BaseCfg<T> extends BaseEntity<T> implements Cloneable{
|
||||
/**
|
||||
* 创建人员
|
||||
*/
|
||||
@ExcelField(title="editor")
|
||||
protected String editorName;
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
@ExcelField(title="edit_time")
|
||||
protected Date editTime;
|
||||
/**
|
||||
* 审核人员
|
||||
@@ -94,11 +103,13 @@ public class BaseCfg<T> extends BaseEntity<T> implements Cloneable{
|
||||
/**
|
||||
* 审核人员
|
||||
*/
|
||||
@ExcelField(title="auditor")
|
||||
protected String auditorName;
|
||||
/**
|
||||
* 审核时间
|
||||
*/
|
||||
@Expose
|
||||
@ExcelField(title="audit_time")
|
||||
@SerializedName("opTime")
|
||||
protected Date auditTime;
|
||||
/**
|
||||
@@ -114,22 +125,27 @@ public class BaseCfg<T> extends BaseEntity<T> implements Cloneable{
|
||||
/**
|
||||
* 来函
|
||||
*/
|
||||
@ExcelField(title="letter")
|
||||
protected String requestName;
|
||||
/**
|
||||
* 是否区域gk
|
||||
*/
|
||||
@ExcelField(title="whether_area_block")
|
||||
protected Integer isAreaEffective;
|
||||
/**
|
||||
* 分类
|
||||
*/
|
||||
@ExcelField(title="type")
|
||||
protected String classify;
|
||||
/**
|
||||
* 性质
|
||||
*/
|
||||
@ExcelField(title="attribute")
|
||||
protected String attribute;
|
||||
/**
|
||||
* 标签
|
||||
*/
|
||||
@ExcelField(title="label")
|
||||
protected String lable;
|
||||
/**
|
||||
* 分类
|
||||
|
||||
@@ -12,6 +12,7 @@ import org.apache.commons.lang3.StringEscapeUtils;
|
||||
|
||||
import com.google.gson.annotations.Expose;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import com.nis.util.excel.ExcelField;
|
||||
|
||||
/**
|
||||
* @ClassName: BaseStringConfig.java
|
||||
@@ -34,7 +35,9 @@ public class BaseStringCfg extends BaseCfg<BaseStringCfg> {
|
||||
*/
|
||||
@Expose
|
||||
@SerializedName("keywords")
|
||||
@ExcelField(title="key_word")
|
||||
protected String cfgKeywords;
|
||||
|
||||
protected String cfgKeywordsShowName;
|
||||
/**
|
||||
* @param cfgKeywords the cfgKeywords to set
|
||||
@@ -46,18 +49,21 @@ public class BaseStringCfg extends BaseCfg<BaseStringCfg> {
|
||||
* 表达式类型
|
||||
*/
|
||||
@Expose
|
||||
@ExcelField(title="expression_type")
|
||||
@SerializedName("exprType")
|
||||
protected Integer exprType ;
|
||||
/**
|
||||
* 匹配方式
|
||||
*/
|
||||
@Expose
|
||||
@ExcelField(title="match_method")
|
||||
@SerializedName("matchMethod")
|
||||
protected Integer matchMethod ;
|
||||
/**
|
||||
* 是否hex二进制
|
||||
*/
|
||||
@Expose
|
||||
@ExcelField(title="whether_hexbinary")
|
||||
@SerializedName("isHexbin")
|
||||
protected Integer isHexbin;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user