CFG_ID, CFG_DESC, CFG_KEYWORDS,CFG_TYPE,ACTION,IS_VALID,IS_AUDIT, CREATOR_ID,CREATE_TIME,EDITOR_ID,EDIT_TIME,AUDITOR_ID,AUDIT_TIME, SERVICE_ID,REQUEST_ID,COMPILE_ID,IS_AREA_EFFECTIVE,CLASSIFY, ATTRIBUTE,LABLE,AREA_EFFECTIVE_IDS,EXPR_TYPE,MATCH_METHOD,IS_HEXBIN,FUNCTION_ID,CFG_REGION_CODE,RATELIMIT r.cfg_id,r.cfg_desc,r.cfg_keywords,r.cfg_type, r.action,r.is_valid,r.is_audit,r.creator_id,r.create_time,r.editor_id,r.edit_time, r.auditor_id, r.audit_time,r.service_id,r.request_id,r.compile_id,r.is_area_effective,r.classify,r.attribute,r.lable, r.expr_type,r.match_method,r.is_hexbin,r.area_effective_ids,r.function_id,r.cfg_region_code r.cfg_id,r.cfg_desc,r.cfg_keywords,r.cfg_type, r.action,r.is_valid,r.is_audit,r.creator_id,r.create_time,r.editor_id,r.edit_time, r.auditor_id, r.audit_time,r.service_id,r.request_id,r.compile_id,r.is_area_effective,r.classify,r.attribute,r.lable, r.expr_type,r.match_method,r.is_hexbin,r.area_effective_ids,r.function_id,r.cfg_region_code,r.user_region1,r.user_region2,r.user_region3,r.user_region4,r.user_region5 ${page.alias}.CFG_ID as cfgId, ${page.alias}.CFG_DESC as cfgDesc, ${page.alias}.CFG_KEYWORDS as cfgKeywords,${page.alias}.CFG_TYPE as cfgType,${page.alias}.ACTION as action,${page.alias}.IS_VALID as isValid,${page.alias}.IS_AUDIT as isAudit, ${page.alias}.CREATOR_ID as creatorId,${page.alias}.CREATE_TIME AS createTime,${page.alias}.EDITOR_ID as editorId,${page.alias}.EDIT_TIME AS editTime,${page.alias}.AUDITOR_ID as auditorId,${page.alias}.AUDIT_TIME AS auditTime, ${page.alias}.SERVICE_ID as serviceId,${page.alias}.REQUEST_ID AS requestId,${page.alias}.COMPILE_ID AS compileId,${page.alias}.IS_AREA_EFFECTIVE as isAreaEffective,${page.alias}.classify, ${page.alias}.ATTRIBUTE AS attribute,${page.alias}.LABLE AS lable,${page.alias}.EXPR_TYPE as exprType,${page.alias}.MATCH_METHOD as matchMethod,${page.alias}.IS_HEXBIN as isHexbin,${page.alias}.AREA_EFFECTIVE_IDS AS areaEffectiveIds,${page.alias}.FUNCTION_ID AS functionId,${page.alias}.CFG_REGION_CODE as cfgRegionCode ,${page.alias}.RATELIMIT as ratelimit r.CFG_ID as cfgId, r.CFG_DESC as cfgDesc, r.CFG_KEYWORDS as cfgKeywords,r.CFG_TYPE as cfgType, r.ACTION as action,r.IS_VALID as isValid,r.IS_AUDIT as isAudit, r.CREATOR_ID as creatorId,r.CREATE_TIME AS createTime,r.EDITOR_ID as editorId,r.EDIT_TIME AS editTime,r.AUDITOR_ID as auditorId,r.AUDIT_TIME AS auditTime, r.SERVICE_ID as serviceId,r.REQUEST_ID AS requestId,r.COMPILE_ID AS compileId,r.IS_AREA_EFFECTIVE as isAreaEffective,r.classify, r.ATTRIBUTE AS attribute,r.LABLE AS lable,r.EXPR_TYPE as exprType,r.MATCH_METHOD as matchMethod,r.IS_HEXBIN as isHexbin, r.AREA_EFFECTIVE_IDS AS areaEffectiveIds,r.FUNCTION_ID AS functionId,r.CFG_REGION_CODE as cfgRegionCode ,r.RATELIMIT as ratelimit CFG_DESC, CFG_KEYWORDS,CFG_TYPE, ACTION,IS_VALID,IS_AUDIT, CREATOR_ID,CREATE_TIME,EDITOR_ID,EDIT_TIME,AUDITOR_ID,AUDIT_TIME, SERVICE_ID,REQUEST_ID,COMPILE_ID,IS_AREA_EFFECTIVE,CLASSIFY, ATTRIBUTE,LABLE,EXPR_TYPE,MATCH_METHOD,IS_HEXBIN,AREA_EFFECTIVE_IDS,FUNCTION_ID,CFG_REGION_CODE, RATELIMIT #{cfgDesc,jdbcType=VARCHAR},#{cfgKeywords,jdbcType=VARCHAR},#{cfgType,jdbcType=VARCHAR},#{action,jdbcType=INTEGER}, #{isValid,jdbcType=INTEGER},#{isAudit,jdbcType=INTEGER},#{creatorId,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},#{editorId,jdbcType=INTEGER},#{editTime,jdbcType=TIMESTAMP}, #{auditorId,jdbcType=INTEGER},#{auditTime,jdbcType=TIMESTAMP},#{serviceId,jdbcType=INTEGER}, #{requestId,jdbcType=INTEGER},#{compileId,jdbcType=INTEGER},#{isAreaEffective,jdbcType=INTEGER}, #{classify,jdbcType=VARCHAR},#{attribute,jdbcType=VARCHAR},#{lable,jdbcType=VARCHAR}, #{exprType,jdbcType=INTEGER},#{matchMethod,jdbcType=INTEGER},#{isHexbin,jdbcType=INTEGER}, #{areaEffectiveIds,jdbcType=VARCHAR},#{functionId,jdbcType=INTEGER},#{cfgRegionCode,jdbcType=INTEGER} ,#{ratelimit,jdbcType=VARCHAR} SELECT LAST_INSERT_ID() insert into ${tableName} ( )values ( ) update ${tableName} cfg_desc = #{cfgDesc,jdbcType=VARCHAR}, cfg_keywords = #{cfgKeywords,jdbcType=VARCHAR}, CFG_TYPE=#{cfgType,jdbcType=VARCHAR}, 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}, expr_type=#{exprType,jdbcType=INTEGER}, match_method=#{matchMethod,jdbcType=INTEGER}, is_hexbin=#{isHexbin,jdbcType=INTEGER}, area_effective_ids = #{areaEffectiveIds,jdbcType=VARCHAR}, function_id = #{functionId,jdbcType=INTEGER}, cfg_region_code = #{cfgRegionCode,jdbcType=INTEGER}, ratelimit = #{ratelimit,jdbcType=VARCHAR}, where cfg_id = #{cfgId,jdbcType=BIGINT} update ${tableName} cfg_desc = #{cfgDesc,jdbcType=VARCHAR}, cfg_keywords = #{cfgKeywords,jdbcType=VARCHAR}, CFG_TYPE=#{cfgType,jdbcType=VARCHAR}, 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}, expr_type=#{exprType,jdbcType=INTEGER}, match_method=#{matchMethod,jdbcType=INTEGER}, is_hexbin=#{isHexbin,jdbcType=INTEGER}, area_effective_ids = #{areaEffectiveIds,jdbcType=VARCHAR}, function_id = #{functionId,jdbcType=INTEGER}, cfg_region_code = #{cfgRegionCode,jdbcType=INTEGER}, USER_REGION1=#{userRegion1,jdbcType=VARCHAR}, USER_REGION2=#{userRegion2,jdbcType=VARCHAR}, USER_REGION3=#{userRegion3,jdbcType=VARCHAR}, USER_REGION4=#{userRegion4,jdbcType=VARCHAR}, USER_REGION5=#{userRegion5,jdbcType=VARCHAR}, where cfg_id = #{cfgId,jdbcType=BIGINT} update ${tableName} set is_valid = #{isValid,jdbcType=INTEGER}, editor_id = #{editorId,jdbcType=INTEGER} , edit_time = #{editTime,jdbcType=TIMESTAMP} where cfg_id = #{cfgId,jdbcType=BIGINT} update ${tableName} set is_audit = #{isAudit,jdbcType=INTEGER}, auditor_id = #{auditorId,jdbcType=INTEGER}, audit_time = #{auditTime,jdbcType=TIMESTAMP} ,is_valid = #{isValid,jdbcType=INTEGER} where cfg_id = #{cfgId,jdbcType=BIGINT} update ${tableName} set is_valid = -1, editor_id = #{editorId,jdbcType=INTEGER} , edit_time = #{editTime,jdbcType=TIMESTAMP} where compile_id = #{compileId,jdbcType=INTEGER} update ${tableName} set is_valid = -1, editor_id = #{editorId,jdbcType=INTEGER} , edit_time = #{editTime,jdbcType=TIMESTAMP} AND cfg_id = #{cfgId,jdbcType=BIGINT} AND compile_id = #{compileId,jdbcType=INTEGER} update ${tableName} set is_valid = -1, editor_id = #{user,jdbcType=INTEGER} , edit_time = NOW() where compile_id in (${compileIds}) insert into ntc_subscribe_id_cfg ( CFG_DESC, ACTION, IS_VALID, IS_AUDIT, CREATOR_ID, CREATE_TIME, EDITOR_ID, EDIT_TIME, AUDITOR_ID, AUDIT_TIME, SERVICE_ID, REQUEST_ID, COMPILE_ID, IS_AREA_EFFECTIVE, CLASSIFY, ATTRIBUTE, LABLE, AREA_EFFECTIVE_IDS, function_id, cfg_keywords, cfg_type, cfg_region_code, expr_type, match_method, is_hexbin )values ( #{cfgDesc,jdbcType=VARCHAR}, #{action,jdbcType=INTEGER}, 0, 0, #{creatorId,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{editorId,jdbcType=INTEGER}, #{editTime,jdbcType=TIMESTAMP}, #{auditorId,jdbcType=INTEGER}, #{auditTime,jdbcType=TIMESTAMP}, #{serviceId,jdbcType=INTEGER}, #{requestId,jdbcType=INTEGER}, #{compileId,jdbcType=INTEGER}, #{isAreaEffective,jdbcType=INTEGER}, #{classify,jdbcType=VARCHAR}, #{attribute,jdbcType=VARCHAR}, #{lable,jdbcType=VARCHAR}, #{areaEffectiveIds,jdbcType=VARCHAR}, #{functionId,jdbcType=INTEGER}, #{cfgKeywords,jdbcType=VARCHAR}, #{cfgType,jdbcType=VARCHAR}, #{cfgRegionCode,jdbcType=INTEGER}, #{exprType,jdbcType=INTEGER}, #{matchMethod,jdbcType=INTEGER}, #{isHexbin,jdbcType=INTEGER} ) update ntc_subscribe_id_cfg cfg_desc = #{cfgDesc,jdbcType=VARCHAR}, action = #{action,jdbcType=INTEGER}, is_valid = #{isValid,jdbcType=INTEGER}, is_audit = #{isAudit,jdbcType=INTEGER}, editor_id = #{editorId,jdbcType=INTEGER}, edit_time = #{editTime,jdbcType=TIMESTAMP}, AUDITOR_ID = #{auditorId,jdbcType=INTEGER}, AUDIT_TIME = #{auditTime,jdbcType=TIMESTAMP}, COMPILE_ID = #{compileId,jdbcType=TIMESTAMP}, request_id = #{requestId,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}, function_id = #{functionId,jdbcType=INTEGER}, service_id = #{serviceId,jdbcType=INTEGER}, cfg_keywords = #{cfgKeywords,jdbcType=VARCHAR}, cfg_type = #{cfgType,jdbcType=VARCHAR}, cfg_region_code = #{cfgRegionCode,jdbcType=INTEGER}, expr_type = #{exprType,jdbcType=INTEGER}, match_method = #{matchMethod,jdbcType=INTEGER}, is_hexbin = #{isHexbin,jdbcType=INTEGER}, and cfg_id = #{cfgId,jdbcType=INTEGER} and compile_id = #{compileId,jdbcType=INTEGER} and function_id = #{functionId,jdbcType=INTEGER} delete from ntc_subscribe_id_cfg and cfg_id = #{cfgId,jdbcType=INTEGER} and compile_id = #{compileId,jdbcType=INTEGER} and function_id = #{functionId,jdbcType=INTEGER} delete from ntc_subscribe_id_cfg and cfg_id = #{ntcSubscribeIdCfg.cfgId,jdbcType=INTEGER} and compile_id = #{compileId,jdbcType=INTEGER} and function_id = #{functionId,jdbcType=INTEGER} delete from asn_keyword_cfg and compile_id = #{compileId,jdbcType=INTEGER} and function_id = #{functionId,jdbcType=INTEGER} insert into ${tableName} ( CFG_DESC, ACTION, IS_VALID, IS_AUDIT, CREATOR_ID, CREATE_TIME, EDITOR_ID, EDIT_TIME, AUDITOR_ID, AUDIT_TIME, SERVICE_ID, REQUEST_ID, COMPILE_ID, IS_AREA_EFFECTIVE, CLASSIFY, ATTRIBUTE, LABLE, AREA_EFFECTIVE_IDS, function_id, cfg_keywords, cfg_type, cfg_region_code, expr_type, match_method, is_hexbin, user_region1, user_region2, user_region3, user_region4, user_region5 )values ( #{cfgDesc,jdbcType=VARCHAR}, #{action,jdbcType=INTEGER}, #{isValid,jdbcType=INTEGER}, #{isAudit,jdbcType=INTEGER}, #{creatorId,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{editorId,jdbcType=INTEGER}, #{editTime,jdbcType=TIMESTAMP}, #{auditorId,jdbcType=INTEGER}, #{auditTime,jdbcType=TIMESTAMP}, #{serviceId,jdbcType=INTEGER}, #{requestId,jdbcType=INTEGER}, #{compileId,jdbcType=INTEGER}, #{isAreaEffective,jdbcType=INTEGER}, #{classify,jdbcType=VARCHAR}, #{attribute,jdbcType=VARCHAR}, #{lable,jdbcType=VARCHAR}, #{areaEffectiveIds,jdbcType=VARCHAR}, #{functionId,jdbcType=INTEGER}, #{cfgKeywords,jdbcType=VARCHAR}, #{cfgType,jdbcType=VARCHAR}, #{cfgRegionCode,jdbcType=INTEGER}, #{exprType,jdbcType=INTEGER}, #{matchMethod,jdbcType=INTEGER}, #{isHexbin,jdbcType=INTEGER}, #{userRegion1,jdbcType=VARCHAR}, #{userRegion2,jdbcType=VARCHAR}, #{userRegion3,jdbcType=VARCHAR}, #{userRegion4,jdbcType=VARCHAR}, #{userRegion5,jdbcType=VARCHAR} ) insert into ${tableName} ( CFG_DESC, ACTION, IS_VALID, IS_AUDIT, CREATOR_ID, CREATE_TIME, EDITOR_ID, EDIT_TIME, AUDITOR_ID, AUDIT_TIME, SERVICE_ID, REQUEST_ID, COMPILE_ID, IS_AREA_EFFECTIVE, CLASSIFY, ATTRIBUTE, LABLE, AREA_EFFECTIVE_IDS, function_id, district, cfg_keywords, cfg_type, cfg_region_code, expr_type, match_method, is_hexbin )values ( #{cfgDesc,jdbcType=VARCHAR}, #{action,jdbcType=INTEGER}, #{isValid,jdbcType=INTEGER}, #{isAudit,jdbcType=INTEGER}, #{creatorId,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{editorId,jdbcType=INTEGER}, #{editTime,jdbcType=TIMESTAMP}, #{auditorId,jdbcType=INTEGER}, #{auditTime,jdbcType=TIMESTAMP}, #{serviceId,jdbcType=INTEGER}, #{requestId,jdbcType=INTEGER}, #{compileId,jdbcType=INTEGER}, #{isAreaEffective,jdbcType=INTEGER}, #{classify,jdbcType=VARCHAR}, #{attribute,jdbcType=VARCHAR}, #{lable,jdbcType=VARCHAR}, #{areaEffectiveIds,jdbcType=VARCHAR}, #{functionId,jdbcType=INTEGER}, #{district,jdbcType=VARCHAR}, #{cfgKeywords,jdbcType=VARCHAR}, #{cfgType,jdbcType=VARCHAR}, #{cfgRegionCode,jdbcType=INTEGER}, #{exprType,jdbcType=INTEGER}, #{matchMethod,jdbcType=INTEGER}, #{isHexbin,jdbcType=INTEGER} )