增加导出功能

This commit is contained in:
leijun
2018-10-24 18:36:31 +08:00
parent 2f2812a7e8
commit ae98d37d01
42 changed files with 1301 additions and 305 deletions

View File

@@ -3,6 +3,7 @@ package com.nis.domain.configuration;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.nis.util.excel.ExcelField;
/**
* @Description: APP策略配置
@@ -18,21 +19,26 @@ public class AppIpCfg extends BaseCfg<AppIpCfg> {
private static final long serialVersionUID = 4758285716968228089L;
private static final String tableName="app_ip_cfg";
@Expose
@ExcelField(title="cfg_id",sort=0)
private Integer compileId;
@Expose
private String ratelimit;
private Integer appCode;//specific_service_cfg表一级节点的spec_service_code
private Integer behavCode;//specific_service_cfg表二级节点的spec_service_code
private Integer specServiceId;
@ExcelField(title="social_app",sort=2)
private String appName;
@Expose
@ExcelField(title="ip_type",dictType="IP_TYPE",sort=3)
@SerializedName("ipType")
protected Integer ipType;
protected Integer ipPattern;
protected String srcIpAddress;
@ExcelField(title="server_ip",sort=4)
protected String destIpAddress;
protected Integer portPattern;
protected String srcPort;
@ExcelField(title="server_port",sort=5)
protected String destPort;
/**
@@ -45,6 +51,7 @@ public class AppIpCfg extends BaseCfg<AppIpCfg> {
* 方向
*/
@Expose
@ExcelField(title="protocol",dictType="PROTOCOL",sort=6)
@SerializedName("protocol")
protected Integer protocol ;
/**