diff --git a/src/main/java/com/nis/domain/configuration/BaseStringCfg.java b/src/main/java/com/nis/domain/configuration/BaseStringCfg.java index 56322a1a2..c6cb594a7 100644 --- a/src/main/java/com/nis/domain/configuration/BaseStringCfg.java +++ b/src/main/java/com/nis/domain/configuration/BaseStringCfg.java @@ -45,7 +45,7 @@ public class BaseStringCfg extends BaseCfg { /** * 编译id */ - protected Integer compile_id ; + protected Long compileId ; /** * 表达式类型 */ @@ -109,5 +109,19 @@ public class BaseStringCfg extends BaseCfg { super.initDefaultValue(); this.isHexbin = 0; } + /** + * compile_id + * @return compile_id + */ + + public Long getCompileId() { + return compileId; + } + /** + * @param compile_id the compile_id to set + */ + public void setCompileId(Long compileId) { + this.compileId = compileId; + } } diff --git a/src/main/java/com/nis/web/dao/configuration/IpCfgDao.xml b/src/main/java/com/nis/web/dao/configuration/IpCfgDao.xml index d2cd15561..08dfd203f 100644 --- a/src/main/java/com/nis/web/dao/configuration/IpCfgDao.xml +++ b/src/main/java/com/nis/web/dao/configuration/IpCfgDao.xml @@ -399,96 +399,98 @@ update ${tableName} - - cfg_desc = #{cfgDesc,jdbcType=VARCHAR}, - - - ip_type = #{ipType,jdbcType=INTEGER}, - - - src_ip = #{srcIp,jdbcType=VARCHAR}, - - - src_ip_mask = #{srcIpMask,jdbcType=VARCHAR}, - - - src_port = #{srcPort,jdbcType=VARCHAR}, - - - src_port_mask = #{srcPortMask,jdbcType=VARCHAR}, - - - dst_ip = #{dstIp,jdbcType=VARCHAR}, - - - dst_ip_mask = #{dstIpMask,jdbcType=VARCHAR}, - - - dst_port = #{dstPort,jdbcType=VARCHAR}, - - - dst_port_mask = #{srcPortMask,jdbcType=VARCHAR}, - - - direction = #{direction,jdbcType=INTEGER}, - - - protocol = #{protocol,jdbcType=INTEGER}, - - - protocol_id = #{protocolId,jdbcType=INTEGER}, - - - action = #{action,jdbcType=INTEGER}, - - - is_valid = #{isValid,jdbcType=INTEGER}, - - - is_audit = #{isAudit,jdbcType=INTEGER}, - - - creator_id = #{creatorId,jdbcType=INTEGER}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - editor_id = #{editorId,jdbcType=INTEGER}, - - - edit_time = #{editTime,jdbcType=TIMESTAMP}, - - - auditor_id = #{auditorId,jdbcType=INTEGER}, - - - audit_time = #{auditTime,jdbcType=TIMESTAMP}, - - - service_id = #{serviceId,jdbcType=INTEGER}, - - - request_id = #{requestId,jdbcType=INTEGER}, - - - compile_id = #{compileId,jdbcType=INTEGER}, - - - is_area_effective = #{isAreaEffective,jdbcType=INTEGER}, - - - classify = #{classify,jdbcType=VARCHAR}, - - - attribute = #{attribute,jdbcType=VARCHAR}, - - - lable = #{lable,jdbcType=VARCHAR}, - - - area_effective_ids = #{areaEffectiveIds,jdbcType=VARCHAR} - + + + cfg_desc = #{cfgDesc,jdbcType=VARCHAR}, + + + ip_type = #{ipType,jdbcType=INTEGER}, + + + src_ip = #{srcIp,jdbcType=VARCHAR}, + + + src_ip_mask = #{srcIpMask,jdbcType=VARCHAR}, + + + src_port = #{srcPort,jdbcType=VARCHAR}, + + + src_port_mask = #{srcPortMask,jdbcType=VARCHAR}, + + + dst_ip = #{dstIp,jdbcType=VARCHAR}, + + + dst_ip_mask = #{dstIpMask,jdbcType=VARCHAR}, + + + dst_port = #{dstPort,jdbcType=VARCHAR}, + + + dst_port_mask = #{srcPortMask,jdbcType=VARCHAR}, + + + direction = #{direction,jdbcType=INTEGER}, + + + protocol = #{protocol,jdbcType=INTEGER}, + + + protocol_id = #{protocolId,jdbcType=INTEGER}, + + + action = #{action,jdbcType=INTEGER}, + + + is_valid = #{isValid,jdbcType=INTEGER}, + + + is_audit = #{isAudit,jdbcType=INTEGER}, + + + creator_id = #{creatorId,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + editor_id = #{editorId,jdbcType=INTEGER}, + + + edit_time = #{editTime,jdbcType=TIMESTAMP}, + + + auditor_id = #{auditorId,jdbcType=INTEGER}, + + + audit_time = #{auditTime,jdbcType=TIMESTAMP}, + + + service_id = #{serviceId,jdbcType=INTEGER}, + + + request_id = #{requestId,jdbcType=INTEGER}, + + + compile_id = #{compileId,jdbcType=INTEGER}, + + + is_area_effective = #{isAreaEffective,jdbcType=INTEGER}, + + + classify = #{classify,jdbcType=VARCHAR}, + + + attribute = #{attribute,jdbcType=VARCHAR}, + + + lable = #{lable,jdbcType=VARCHAR}, + + + area_effective_ids = #{areaEffectiveIds,jdbcType=VARCHAR} + + where cfg_id = #{cfgId,jdbcType=BIGINT}