a.CFG_ID,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.FORMAT,a.PATH,a.cancel_request_id SELECT LAST_INSERT_ID() insert into PXY_PROFILE_INSERT_SCRIPTS ( 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, path, format )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}, #{cfgType,jdbcType=VARCHAR}, #{cfgRegionCode,jdbcType=INTEGER}, #{path,jdbcType=VARCHAR}, #{format,jdbcType=VARCHAR} ) update PXY_PROFILE_INSERT_SCRIPTS cfg_desc = #{cfgDesc,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}, 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}, path = #{path ,jdbcType=VARCHAR}, format = #{format ,jdbcType=VARCHAR}, where cfg_id = #{cfgId,jdbcType=BIGINT}