a.CFG_ID, a.SRC_URL,a.SAMPLE_URL, a.SRC_MD5,a.SAMPLE_MD5,a.CFG_DESC,a.ACTION,a.IS_VALID,a.IS_AUDIT, a.CREATOR_ID,a.CREATE_TIME,a.EDITOR_ID,a.EDIT_TIME,a.AUDITOR_ID,a.AUDIT_TIME, a.SERVICE_ID,a.REQUEST_ID,a.COMPILE_ID,a.IS_AREA_EFFECTIVE,a.CLASSIFY, a.ATTRIBUTE,a.LABLE,a.AREA_EFFECTIVE_IDS,a.function_id,a.cfg_type,a.cfg_region_code,a.LEVEL, a.src_path,a.sample_path a.CFG_ID, a.description,a.CFG_DESC,a.ACTION,a.IS_VALID,a.IS_AUDIT, a.CREATOR_ID,a.CREATE_TIME,a.EDITOR_ID,a.EDIT_TIME,a.AUDITOR_ID,a.AUDIT_TIME, a.SERVICE_ID,a.REQUEST_ID,a.COMPILE_ID,a.IS_AREA_EFFECTIVE,a.CLASSIFY, a.ATTRIBUTE,a.LABLE,a.AREA_EFFECTIVE_IDS,a.function_id,a.cfg_type,a.cfg_region_code,a.LEVEL,a.do_log SELECT LAST_INSERT_ID() insert into av_file_sample_cfg ( SRC_URL,SAMPLE_URL, SRC_MD5,SAMPLE_MD5,LEVEL,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_type,cfg_region_code,src_path,sample_path, is_sample_created )values ( #{srcUrl,jdbcType=VARCHAR},#{sampleUrl,jdbcType=VARCHAR},#{srcMd5,jdbcType=VARCHAR}, #{sampleMd5,jdbcType=VARCHAR},#{level,jdbcType=INTEGER},#{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}, #{cfgType,jdbcType=VARCHAR},#{cfgRegionCode,jdbcType=INTEGER},#{srcPath,jdbcType=VARCHAR},#{samplePath,jdbcType=VARCHAR}, #{isSampleCreated,jdbcType=INTEGER} ) SELECT LAST_INSERT_ID() insert into av_sign_sample_cfg ( description,LEVEL,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_type,cfg_region_code,do_log )values ( #{description,jdbcType=VARCHAR},#{level,jdbcType=INTEGER},#{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}, #{cfgType,jdbcType=VARCHAR},#{cfgRegionCode,jdbcType=INTEGER}, #{doLog,jdbcType=INTEGER} ) update av_file_sample_cfg cfg_desc = #{cfgDesc,jdbcType=VARCHAR}, src_url = #{srcUrl,jdbcType=VARCHAR}, sample_url = #{sampleUrl,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}, service_id = #{serviceId,jdbcType=INTEGER}, 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}, cfg_region_code = #{cfgRegionCode,jdbcType=INTEGER}, cfg_type = #{cfgType,jdbcType=VARCHAR}, level = #{level,jdbcType=INTEGER}, src_path = #{srcPath,jdbcType=VARCHAR}, sample_path = #{samplePath,jdbcType=VARCHAR}, is_sample_created = #{isSampleCreated,jdbcType=INTEGER}, src_md5 = #{srcMd5,jdbcType=VARCHAR}, sample_md5 = #{sampleMd5,jdbcType=VARCHAR}, where cfg_id = #{cfgId,jdbcType=BIGINT} update av_sign_sample_cfg cfg_desc = #{cfgDesc,jdbcType=VARCHAR}, description = #{description,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}, service_id = #{serviceId,jdbcType=INTEGER}, 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}, cfg_region_code = #{cfgRegionCode,jdbcType=INTEGER}, cfg_type = #{cfgType,jdbcType=VARCHAR}, level = #{level,jdbcType=INTEGER}, do_log = #{doLog,jdbcType=INTEGER}, where cfg_id = #{cfgId,jdbcType=BIGINT} update av_file_sample_cfg set is_valid = #{isValid,jdbcType=INTEGER}, editor_id = #{editorId,jdbcType=INTEGER} , edit_time = #{editTime,jdbcType=TIMESTAMP} where cfg_id = #{cfgId,jdbcType=BIGINT} update av_file_sample_cfg set is_audit = #{isAudit,jdbcType=INTEGER}, auditor_id = #{auditorId,jdbcType=INTEGER}, audit_time = #{auditTime,jdbcType=TIMESTAMP} ,is_valid = #{isValid,jdbcType=INTEGER} ,src_url = #{srcUrl,jdbcType=VARCHAR} ,sample_url = #{sampleUrl,jdbcType=VARCHAR} where cfg_id = #{cfgId,jdbcType=BIGINT} update av_sign_sample_cfg is_valid = #{isValid,jdbcType=INTEGER}, is_audit = #{isAudit,jdbcType=INTEGER}, service_id=#{serviceId,jdbcType=INTEGER}, action=#{action,jdbcType=INTEGER}, level=#{level,jdbcType=INTEGER}, editor_id = #{editorId,jdbcType=INTEGER}, edit_time = #{editTime,jdbcType=TIMESTAMP}, audit_time = #{auditTime,jdbcType=TIMESTAMP}, auditor_id = #{auditorId,jdbcType=INTEGER} where cfg_id = #{cfgId,jdbcType=BIGINT} update av_sign_sample_cfg 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}