(1)avCfgService暂时继承BaseService

(2)BaseCfg字段调整,加入functionId字段,去掉maatTable字段
(3)删除SystemService相关代码
(4)字符串,增强字符串配置加入字段cfgType
(5)邮件,ssl,Ftp pojo调整,删除多余的,新增keywordCfg
(6)spring-mvc.xml注释redisDao
This commit is contained in:
wangxin
2018-05-17 19:08:37 +08:00
parent c3948a865f
commit 91ad42c562
36 changed files with 273 additions and 1166 deletions

View File

@@ -6,7 +6,7 @@ import java.util.List;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
@Deprecated
public class SystemServiceInfo extends BaseEntity<SystemServiceInfo> {
private static final long serialVersionUID = -8919580011013718190L;

View File

@@ -11,8 +11,6 @@ package com.nis.domain.configuration;
import java.util.Date;
import java.util.List;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.nis.domain.BaseEntity;
/**
@@ -33,9 +31,6 @@ public class BaseCfg<T> extends BaseEntity<T> implements Cloneable{
* 编译id
*/
protected Integer compileId ;
@Expose
@SerializedName("maatTable")
protected String maatTable;
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
@@ -112,10 +107,6 @@ public class BaseCfg<T> extends BaseEntity<T> implements Cloneable{
* 来函
*/
protected String requestName;
/**
* 编译id
*/
// protected Integer compileId;
/**
* 是否区域gk
*/
@@ -144,9 +135,6 @@ public class BaseCfg<T> extends BaseEntity<T> implements Cloneable{
* 标签
*/
protected String lableName;
// protected Integer exprType =0;
// protected Integer matchMethod =0;
// protected Integer isHexbin =0;
/**
* 区域生效id
*/
@@ -160,6 +148,22 @@ public class BaseCfg<T> extends BaseEntity<T> implements Cloneable{
protected Date search_edit_time_end;
protected Date search_audit_time_start;
protected Date search_audit_time_end;
protected Integer functionId;
/**
* functionId
* @return functionId
*/
public Integer getFunctionId() {
return functionId;
}
/**
* @param functionId the functionId to set
*/
public void setFunctionId(Integer functionId) {
this.functionId = functionId;
}
/**
* cfgId
* @return cfgId
@@ -542,20 +546,6 @@ public class BaseCfg<T> extends BaseEntity<T> implements Cloneable{
public void setRequestName(String requestName) {
this.requestName = requestName;
}
/**
* maatTable
* @return maatTable
*/
public String getMaatTable() {
return maatTable;
}
/**
* @param maatTable the maatTable to set
*/
public void setMaatTable(String maatTable) {
this.maatTable = maatTable;
}
/**
* search_create_time_start
* @return search_create_time_start

View File

@@ -34,6 +34,16 @@ public class BaseStringCfg extends BaseCfg<BaseStringCfg> {
@SerializedName("keywords")
protected String cfgKeywords;
protected String cfgKeywordsShowName;
protected String cfgType;
/**
* cfgType
* @return cfgType
*/
public String getCfgType() {
return cfgType;
}
/**
* cfgKeywords
* @return cfgKeywords

View File

@@ -8,8 +8,6 @@
*/
package com.nis.domain.configuration;
import org.apache.commons.lang3.StringUtils;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
@@ -60,6 +58,22 @@ public class ComplexkeywordCfg extends BaseCfg<ComplexkeywordCfg>{
@Expose
@SerializedName("isHexbin")
protected Integer isHexbin ;
protected String cfgType;
/**
* cfgType
* @return cfgType
*/
public String getCfgType() {
return cfgType;
}
/**
* @param cfgType the cfgType to set
*/
public void setCfgType(String cfgType) {
this.cfgType = cfgType;
}
/**
* district
* @return district

View File

@@ -1,36 +0,0 @@
/**
*@Title: FtpFileContentConfig.java
*@Package com.nis.domain.restful
*@Description TODO
*@author dell
*@date 2018年2月6日 上午8:27:21
*@version 版本号
*/
package com.nis.domain.configuration;
/**
* @ClassName: FtpFileContentConfig.java
* @Description: TODO
* @author (dell)
* @date 2018年2月6日 上午8:27:21
* @version V1.0
*/
public class FtpFileContentCfg extends BaseStringCfg {
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = 7996351716704137873L;
/* (non-Javadoc)
* @see com.nis.domain.configuration.BaseStringCfg#initDefaultValue()
*/
@Override
public void initDefaultValue() {
// TODO Auto-generated method stub
super.initDefaultValue();
this.matchMethod=0;
}
}

View File

@@ -1,36 +0,0 @@
/**
*@Title: FtpFileNameConfig.java
*@Package com.nis.domain.restful
*@Description TODO
*@author dell
*@date 2018年2月6日 上午8:24:13
*@version 版本号
*/
package com.nis.domain.configuration;
/**
* @ClassName: FtpFileNameConfig.java
* @Description: TODO
* @author (dell)
* @date 2018年2月6日 上午8:24:13
* @version V1.0
*/
public class FtpFileNameCfg extends BaseStringCfg {
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = -3947991086808399842L;
/* (non-Javadoc)
* @see com.nis.domain.configuration.BaseStringCfg#initDefaultValue()
*/
@Override
public void initDefaultValue() {
// TODO Auto-generated method stub
super.initDefaultValue();
this.matchMethod=0;
}
}

View File

@@ -1,36 +0,0 @@
/**
*@Title: FtpIpConfig.java
*@Package com.nis.domain.restful
*@Description TODO
*@author dell
*@date 2018年2月6日 上午8:29:26
*@version 版本号
*/
package com.nis.domain.configuration;
/**
* @ClassName: FtpIpConfig.java
* @Description: TODO
* @author (dell)
* @date 2018年2月6日 上午8:29:26
* @version V1.0
*/
public class FtpIpCfg extends BaseIpCfg {
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = -7878447087396996553L;
/* (non-Javadoc)
* @see com.nis.domain.configuration.BaseIpCfg#initDefaultValue()
*/
@Override
public void initDefaultValue() {
// TODO Auto-generated method stub
super.initDefaultValue();
this.protocolId=7;
}
}

View File

@@ -9,13 +9,13 @@
package com.nis.domain.configuration;
/**
* @ClassName: FtpAddrConfig.java
* @ClassName: FtpKeywordCfg.java
* @Description: TODO
* @author (dell)
* @date 2018年2月6日 上午8:18:55
* @version V1.0
*/
public class FtpAddrCfg extends BaseStringCfg{
public class FtpKeywordCfg extends BaseStringCfg{
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*

View File

@@ -1,37 +0,0 @@
/**
*@Title: HttpIpConfig.java
*@Package com.nis.domain.restful
*@Description TODO
*@author dell
*@date 2018年2月5日 下午5:52:35
*@version 版本号
*/
package com.nis.domain.configuration;
/**
* @ClassName: HttpIpConfig.java
* @Description: TODO
* @author (dell)
* @date 2018年2月5日 下午5:52:35
* @version V1.0
*/
public class HttpIpCfg extends BaseIpCfg {
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = -4652367183432063965L;
/* (non-Javadoc)
* @see com.nis.domain.configuration.BaseIpCfg#initDefaultValue()
*/
@Override
public void initDefaultValue() {
// TODO Auto-generated method stub
super.initDefaultValue();
this.protocolId=4;
}
}

View File

@@ -1,39 +0,0 @@
/**
*@Title: MailAttachNameConfig.java
*@Package com.nis.domain.restful
*@Description TODO
*@author dell
*@date 2018年2月5日 下午6:25:21
*@version 版本号
*/
package com.nis.domain.configuration;
/**
* @ClassName: MailAttachNameConfig.java
* @Description: TODO
* @author (dell)
* @date 2018年2月5日 下午6:25:21
* @version V1.0
*/
public class MailAttachNameCfg extends ComplexkeywordCfg {
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = 9067647371707152226L;
/* (non-Javadoc)
* @see com.nis.domain.configuration.ComplexkeywordCfg#initDefaultValue()
*/
@Override
public void initDefaultValue() {
// TODO Auto-generated method stub
super.initDefaultValue();
this.district="AttachName";
this.exprType=0;
this.matchMethod=0;
this.isHexbin=0;
}
}

View File

@@ -1,40 +0,0 @@
/**
*@Title: MailContentConfig.java
*@Package com.nis.domain.restful
*@Description TODO
*@author dell
*@date 2018年2月5日 下午6:23:41
*@version 版本号
*/
package com.nis.domain.configuration;
/**
* @ClassName: MailContentConfig.java
* @Description: TODO
* @author (dell)
* @date 2018年2月5日 下午6:23:41
* @version V1.0
*/
public class MailContentCfg extends ComplexkeywordCfg{
public static final String tableName="mail_content_cfg";
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = -4257845942210782532L;
/* (non-Javadoc)
* @see com.nis.domain.configuration.ComplexkeywordCfg#initDefaultValue()
*/
@Override
public void initDefaultValue() {
// TODO Auto-generated method stub
super.initDefaultValue();
this.district="Content";
this.exprType=0;
this.matchMethod=0;
this.isHexbin=0;
}
}

View File

@@ -1,40 +0,0 @@
/**
*@Title: MailFromConfig.java
*@Package com.nis.domain.restful
*@Description TODO
*@author dell
*@date 2018年2月5日 下午5:58:45
*@version 版本号
*/
package com.nis.domain.configuration;
/**
* @ClassName: MailFromConfig.java
* @Description: TODO
* @author (dell)
* @date 2018年2月5日 下午5:58:45
* @version V1.0
*/
public class MailFromCfg extends ComplexkeywordCfg {
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = 7605303118334439422L;
/* (non-Javadoc)
* @see com.nis.domain.configuration.ComplexkeywordCfg#initDefaultValue()
*/
@Override
public void initDefaultValue() {
// TODO Auto-generated method stub
super.initDefaultValue();
this.district="From";
this.exprType=0;
this.matchMethod=0;
this.isHexbin=0;
}
}

View File

@@ -1,37 +0,0 @@
/**
*@Title: MailIpConfig.java
*@Package com.nis.domain.restful
*@Description TODO
*@author dell
*@date 2018年2月5日 下午6:42:07
*@version 版本号
*/
package com.nis.domain.configuration;
/**
* @ClassName: MailIpConfig.java
* @Description: TODO
* @author (dell)
* @date 2018年2月5日 下午6:42:07
* @version V1.0
*/
public class MailIpCfg extends BaseIpCfg {
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = 2358673955555645618L;
/* (non-Javadoc)
* @see com.nis.domain.configuration.BaseIpCfg#initDefaultValue()
*/
@Override
public void initDefaultValue() {
// TODO Auto-generated method stub
super.initDefaultValue();
this.protocolId=5;
}
}

View File

@@ -15,7 +15,7 @@ package com.nis.domain.configuration;
* @date 2018年2月5日 下午6:40:26
* @version V1.0
*/
public class MailAttachContentCfg extends ComplexkeywordCfg {
public class MailKeywordCfg extends ComplexkeywordCfg {
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
@@ -30,7 +30,6 @@ public class MailAttachContentCfg extends ComplexkeywordCfg {
public void initDefaultValue() {
// TODO Auto-generated method stub
super.initDefaultValue();
this.district="AttachContent";
this.exprType=0;
this.matchMethod=0;
this.isHexbin=0;

View File

@@ -1,39 +0,0 @@
/**
*@Title: MailSubjectConfig.java
*@Package com.nis.domain.restful
*@Description TODO
*@author dell
*@date 2018年2月5日 下午6:22:21
*@version 版本号
*/
package com.nis.domain.configuration;
/**
* @ClassName: MailSubjectConfig.java
* @Description: TODO
* @author (dell)
* @date 2018年2月5日 下午6:22:21
* @version V1.0
*/
public class MailSubjectCfg extends ComplexkeywordCfg {
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = -547690498444330212L;
/* (non-Javadoc)
* @see com.nis.domain.configuration.ComplexkeywordCfg#initDefaultValue()
*/
@Override
public void initDefaultValue() {
// TODO Auto-generated method stub
super.initDefaultValue();
this.district="Subject";
this.exprType=0;
this.matchMethod=3;
this.isHexbin=0;
}
}

View File

@@ -1,40 +0,0 @@
/**
*@Title: MailToConfig.java
*@Package com.nis.domain.restful
*@Description TODO
*@author dell
*@date 2018年2月5日 下午6:00:11
*@version 版本号
*/
package com.nis.domain.configuration;
/**
* @ClassName: MailToConfig.java
* @Description: TODO
* @author (dell)
* @date 2018年2月5日 下午6:00:11
* @version V1.0
*/
public class MailToCfg extends ComplexkeywordCfg {
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = -7755270610917876826L;
/* (non-Javadoc)
* @see com.nis.domain.configuration.ComplexkeywordCfg#initDefaultValue()
*/
@Override
public void initDefaultValue() {
// TODO Auto-generated method stub
super.initDefaultValue();
this.district="To";
this.exprType=0;
this.matchMethod=3;
this.isHexbin=0;
}
}

View File

@@ -1,37 +0,0 @@
/**
*@Title: SslIpConfig.java
*@Package com.nis.domain.restful
*@Description TODO
*@author dell
*@date 2018年2月6日 上午9:10:46
*@version 版本号
*/
package com.nis.domain.configuration;
/**
* @ClassName: SslIpConfig.java
* @Description: TODO
* @author (dell)
* @date 2018年2月6日 上午9:10:46
* @version V1.0
*/
public class SslIpCfg extends BaseIpCfg {
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = -1334085146634344608L;
/* (non-Javadoc)
* @see com.nis.domain.configuration.BaseIpCfg#initDefaultValue()
*/
@Override
public void initDefaultValue() {
// TODO Auto-generated method stub
super.initDefaultValue();
this.protocolId=9;
}
}

View File

@@ -15,7 +15,7 @@ package com.nis.domain.configuration;
* @date 2018年2月6日 上午8:59:51
* @version V1.0
*/
public class SslCertCfg extends ComplexkeywordCfg{
public class SslKeywordCfg extends ComplexkeywordCfg{
public static final String tableName="ssl_cert_cfg";
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
@@ -32,7 +32,6 @@ public class SslCertCfg extends ComplexkeywordCfg{
public void initDefaultValue() {
// TODO Auto-generated method stub
super.initDefaultValue();
this.district="CERT";
this.exprType=0;
this.matchMethod=3;
this.isHexbin=0;

View File

@@ -1,39 +0,0 @@
/**
*@Title: SslSniConfig.java
*@Package com.nis.domain.restful
*@Description TODO
*@author dell
*@date 2018年2月6日 上午9:02:44
*@version 版本号
*/
package com.nis.domain.configuration;
/**
* @ClassName: SslSniConfig.java
* @Description: TODO
* @author (dell)
* @date 2018年2月6日 上午9:02:44
* @version V1.0
*/
public class SslSniCfg extends ComplexkeywordCfg {
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = -6648964841408445457L;
/* (non-Javadoc)
* @see com.nis.domain.configuration.ComplexkeywordCfg#initDefaultValue()
*/
@Override
public void initDefaultValue() {
// TODO Auto-generated method stub
super.initDefaultValue();
this.district="SNI";
this.exprType=0;
this.matchMethod=3;
this.isHexbin=0;
}
}