修改HTTP配置审核逻辑,删除逻辑,dao层处理逻辑

This commit is contained in:
zhangwei
2018-05-29 14:59:40 +08:00
parent 3f9f9f3088
commit 11e70875c8
10 changed files with 176 additions and 30 deletions

View File

@@ -24,7 +24,7 @@ public class CfgIndexInfo extends BaseCfg<CfgIndexInfo> {
*
*/
private static final long serialVersionUID = 2796500715438264119L;
private static final String tableName="cfg_index_info";
private List<AvVoipAccountCfg> voipAccounts;//Add表单使用
private List<AvVoipIpCfg> voipIps; //Add表单使用
private AvVoipAccountCfg voipAccount;//Search使用
@@ -139,5 +139,8 @@ public class CfgIndexInfo extends BaseCfg<CfgIndexInfo> {
public void setHttpResBodyList(List<HttpBodyCfg> httpResBodyList) {
this.httpResBodyList = httpResBodyList;
}
public static String getTablename() {
return tableName;
}
}

View File

@@ -21,7 +21,7 @@ public class HttpBodyCfg extends BaseStringCfg {
*
* @since 1.0.0
*/
private static final String tableName="http_body_cfg";
private static final long serialVersionUID = 8231984530204284334L;
/* (non-Javadoc)
* @see com.nis.domain.configuration.BaseStringCfg#initDefaultValue()
@@ -32,5 +32,8 @@ public class HttpBodyCfg extends BaseStringCfg {
super.initDefaultValue();
this.matchMethod=0;
}
public static String getTablename() {
return tableName;
}
}

View File

@@ -23,6 +23,7 @@ public class HttpReqHeadCfg extends ComplexkeywordCfg {
*/
private static final long serialVersionUID = 8231984530204284334L;
private static final String tableName="http_req_head_cfg";
/* (non-Javadoc)
* @see com.nis.domain.configuration.ComplexkeywordCfg#initDefaultValue()
*/
@@ -34,5 +35,8 @@ public class HttpReqHeadCfg extends ComplexkeywordCfg {
this.matchMethod=0;
this.isHexbin=0;
}
public static String getTablename() {
return tableName;
}
}

View File

@@ -23,6 +23,7 @@ public class HttpResHeadCfg extends ComplexkeywordCfg {
*/
private static final long serialVersionUID = 1306491838846197119L;
private static final String tableName="http_res_head_cfg";
/* (non-Javadoc)
* @see com.nis.domain.configuration.ComplexkeywordCfg#initDefaultValue()
@@ -35,5 +36,9 @@ public class HttpResHeadCfg extends ComplexkeywordCfg {
this.matchMethod=0;
this.exprType=0;
}
public static String getTablename() {
return tableName;
}
}

View File

@@ -73,7 +73,7 @@ public class MaatCfg implements Serializable {
@Expose
private Integer fatherCfgId;
@Expose
@SerializedName("auditTime")
@SerializedName("opTime")
private Date auditTime;
@Expose
private List<GroupCfg> groupRelationList;
@@ -97,6 +97,7 @@ public class MaatCfg implements Serializable {
@Expose
private Integer isValid;
@Expose
@SerializedName("opTime")
private Date auditTime;
public Integer getGroupId() {
return groupId;
@@ -146,6 +147,7 @@ public class MaatCfg implements Serializable {
@Expose
private Integer isValid;
@Expose
@SerializedName("opTime")
private Date auditTime;
public Integer getRegionId() {
return regionId;
@@ -247,6 +249,7 @@ public class MaatCfg implements Serializable {
@Expose
private Integer isValid;
@Expose
@SerializedName("opTime")
private Date auditTime;
public Integer getRegionId() {
return regionId;
@@ -360,6 +363,7 @@ public class MaatCfg implements Serializable {
@Expose
private Integer isValid;
@Expose
@SerializedName("opTime")
private Date auditTime;
public Integer getRegionId() {
return regionId;