From ad5f3b2c5201ce050ed196eba6b8993d3118e98a Mon Sep 17 00:00:00 2001 From: gongwenxin Date: Tue, 19 Aug 2025 17:51:50 +0800 Subject: [PATCH] fix:dms api --- custom_stages/dms_crud_scenario_stage.py | 27 +- summary(10).json | 11486 +++++++++++++++++++++ 2 files changed, 11505 insertions(+), 8 deletions(-) create mode 100644 summary(10).json diff --git a/custom_stages/dms_crud_scenario_stage.py b/custom_stages/dms_crud_scenario_stage.py index 260176d..2aeb3ac 100644 --- a/custom_stages/dms_crud_scenario_stage.py +++ b/custom_stages/dms_crud_scenario_stage.py @@ -377,7 +377,7 @@ class DmsCrudScenarioStage(BaseAPIStage): except Exception as e: self.logger.warning(f"LLM数据生成失败: {e},回退到传统数据生成") # 回退到传统数据生成 - data_generator = DataGenerator(logger_param=self.logger) + data_generator = DataGenerator(logger_param=self.logger, well_data_manager=getattr(self.orchestrator, 'well_data_manager', None)) generated_data = data_generator.generate_data_from_schema(create_schema, context_name="create_payload", llm_service=self.llm_service) if isinstance(generated_data, dict) and 'data' in generated_data and isinstance(generated_data['data'], list) and len(generated_data['data']) > 0: # 设置所有主键字段 @@ -392,7 +392,7 @@ class DmsCrudScenarioStage(BaseAPIStage): else: # 使用传统数据生成器(但仍然传递LLM服务以便在内部尝试使用) self.logger.info("LLM服务不可用,使用传统数据生成器") - data_generator = DataGenerator(logger_param=self.logger) + data_generator = DataGenerator(logger_param=self.logger, well_data_manager=getattr(self.orchestrator, 'well_data_manager', None)) generated_data = data_generator.generate_data_from_schema(create_schema, context_name="create_payload", llm_service=None) if isinstance(generated_data, dict) and 'data' in generated_data and isinstance(generated_data['data'], list) and len(generated_data['data']) > 0: # 设置所有主键字段 @@ -474,8 +474,12 @@ class DmsCrudScenarioStage(BaseAPIStage): name="Step 1: Create Resource", endpoint_spec_lookup_key="CREATE", request_overrides={ - # We assume the body is an array under 'data' key - "body": {"data": ["{{stage_context.current_payload}}"]} + # DMS标准格式:包含version、act和data字段 + "body": { + "version": "1.0.0", + "act": -1, + "data": ["{{stage_context.current_payload}}"] + } }, response_assertions=[validate_response_is_true], outputs_to_context={} @@ -493,7 +497,12 @@ class DmsCrudScenarioStage(BaseAPIStage): name="Step 3: Update Resource", endpoint_spec_lookup_key="UPDATE", request_overrides={ - "body": {"data": ["{{stage_context.update_payload}}"]}, + # DMS标准格式:包含version、act和data字段 + "body": { + "version": "1.0.0", + "act": -1, + "data": ["{{stage_context.update_payload}}"] + } }, response_assertions=[validate_response_is_true] ), @@ -669,6 +678,7 @@ class DmsCrudScenarioStage(BaseAPIStage): # 构建LIST请求体,使用固定的简化模式 if filter_key and filter_value: list_payload = { + "version": "1.0.0", "isSearchCount": True, "query": { "fields": [], @@ -691,6 +701,7 @@ class DmsCrudScenarioStage(BaseAPIStage): else: # 没有可用的过滤条件,返回基本查询 list_payload = { + "version": "1.0.0", "isSearchCount": True, "query": { "fields": [], @@ -712,14 +723,14 @@ class DmsCrudScenarioStage(BaseAPIStage): if not delete_op or not isinstance(delete_op, DMSEndpoint): # 回退到简单的主键值列表 self.logger.warning("无法获取删除操作信息,使用简单主键值列表") - return {"data": [pk_value]} + return {"version": "1.0.0", "data": [pk_value]} # 获取identityId列表 identity_id_list = getattr(delete_op, 'identity_id_list', []) if not identity_id_list: self.logger.warning("删除操作没有identityId信息,使用简单主键值列表") - return {"data": [pk_value]} + return {"version": "1.0.0", "data": [pk_value]} # 根据identityId列表长度判断删除格式 if len(identity_id_list) > 1: @@ -729,7 +740,7 @@ class DmsCrudScenarioStage(BaseAPIStage): else: # 单主键:使用字符串列表 self.logger.info(f"检测到单主键删除操作,主键字段: {identity_id_list[0]}") - return {"data": [pk_value]} + return {"version": "1.0.0", "data": [pk_value]} def _build_multi_key_delete_body(self, identity_id_list: List[str], primary_pk_name: str, primary_pk_value: str, create_payload: Dict[str, Any]) -> Dict[str, Any]: """构建多主键的删除请求体""" diff --git a/summary(10).json b/summary(10).json new file mode 100644 index 0000000..0337829 --- /dev/null +++ b/summary(10).json @@ -0,0 +1,11486 @@ +{ + "start_time": "2025-08-19T17:39:28.900879", + "end_time": "2025-08-19T17:40:28.896897", + "duration_seconds": "60.00", + "overall_summary": { + "total_endpoints_defined": 5, + "endpoints_tested": 5, + "endpoints_passed": 0, + "endpoints_failed": 1, + "endpoints_error": 0, + "endpoints_skipped": 4, + "endpoints_partial_success": 0, + "endpoint_success_rate": "0.00%", + "total_test_cases_applicable": 100, + "total_test_cases_executed": 20, + "test_cases_passed": 15, + "test_cases_failed": 5, + "test_cases_error": 0, + "test_cases_skipped_in_endpoint": 0, + "test_case_success_rate": "75.00%", + "total_stages_defined": 1, + "total_stages_executed": 1, + "stages_passed": 0, + "stages_failed": 1, + "stages_error": 0, + "stages_skipped": 0, + "stage_success_rate": "0.00%" + }, + "errors": [], + "endpoint_results": [ + { + "endpoint_id": "POST_/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "endpoint_name": "Create dr_ach_survey_inc", + "overall_status": "跳过", + "duration_seconds": 0.0, + "start_time": "2025-08-19T17:39:31.187107", + "end_time": null, + "executed_test_cases": [] + }, + { + "endpoint_id": "POST /api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0", + "endpoint_name": "List dr_ach_survey_inc", + "overall_status": "失败", + "duration_seconds": 12.227578, + "start_time": "2025-08-19T17:39:31.187107", + "end_time": "2025-08-19T17:39:43.414685", + "executed_test_cases": [ + { + "test_case_id": "TC-STATUS-001", + "test_case_name": "基本状态码 200 检查", + "test_case_severity": "CRITICAL", + "status": "通过", + "message": "", + "duration_seconds": 0.48499999998603016, + "timestamp": "2025-08-19T17:39:31.673986", + "validation_points": [ + { + "passed": true, + "message": "响应状态码为 200,符合预期 200。", + "details": {} + } + ] + }, + { + "test_case_id": "TC-HEADER-001", + "test_case_name": "必需请求头Schema验证", + "test_case_severity": "HIGH", + "status": "失败", + "message": "缺少必需的请求头 X-Tenant-ID; 缺少必需的请求头 X-Data-Domain; 缺少必需的请求头 Authorization", + "duration_seconds": 0.734000000054948, + "timestamp": "2025-08-19T17:39:32.412804", + "validation_points": [ + { + "passed": false, + "message": "缺少必需的请求头 X-Tenant-ID", + "details": { + "header": "X-Tenant-ID", + "possible_names": [ + "X-Tenant-ID" + ], + "endpoint": "POST /api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0" + } + }, + { + "passed": false, + "message": "缺少必需的请求头 X-Data-Domain", + "details": { + "header": "X-Data-Domain", + "possible_names": [ + "X-Data-Domain" + ], + "endpoint": "POST /api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0" + } + }, + { + "passed": false, + "message": "缺少必需的请求头 Authorization", + "details": { + "header": "Authorization", + "possible_names": [ + "Authorization" + ], + "endpoint": "POST /api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0" + } + } + ] + }, + { + "test_case_id": "TC-SECURITY-002", + "test_case_name": "敏感字段加密检查", + "test_case_severity": "HIGH", + "status": "通过", + "message": "", + "duration_seconds": 0.5779999999795109, + "timestamp": "2025-08-19T17:39:32.989810", + "validation_points": [ + { + "passed": true, + "message": "未在响应中找到需要检查的敏感字段。", + "details": {} + } + ] + }, + { + "test_case_id": "TC-LLM-COMPLIANCE-001", + "test_case_name": "LLM合规性综合检查", + "test_case_severity": "MEDIUM", + "status": "通过", + "message": "", + "duration_seconds": 0.5779999999795109, + "timestamp": "2025-08-19T17:39:33.569799", + "validation_points": [ + { + "passed": true, + "message": "合规性标准列表为空,跳过LLM合规性检查。", + "details": { + "reason": "compliance_criteria.json is empty or contains an empty list." + } + } + ] + }, + { + "test_case_id": "TC-RESTful-001", + "test_case_name": "核心命名与结构规范检查", + "test_case_severity": "HIGH", + "status": "失败", + "message": "响应中字段 'data' 的值为 null,但其在规范中定义为数组,应返回 []。", + "duration_seconds": 0.640999999945052, + "timestamp": "2025-08-19T17:39:34.211946", + "validation_points": [ + { + "passed": true, + "message": "模块名 'dms' 格式正确 (全小写/数字/中划线)。", + "details": {} + }, + { + "passed": false, + "message": "响应中字段 'data' 的值为 null,但其在规范中定义为数组,应返回 []。", + "details": { + "field": "data" + } + } + ] + }, + { + "test_case_id": "TC-DMS-PAGINATION-001", + "test_case_name": "分页参数检查", + "test_case_severity": "MEDIUM", + "status": "通过", + "message": "", + "duration_seconds": 0.6870000000344589, + "timestamp": "2025-08-19T17:39:34.887955", + "validation_points": [ + { + "passed": true, + "message": "API请求包含所有标准分页参数:pageNo、pageSize和isSearchCount", + "details": { + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0", + "method": "POST" + } + } + ] + }, + { + "test_case_id": "TC-RESTful-004", + "test_case_name": "资源集合复数命名检查", + "test_case_severity": "MEDIUM", + "status": "失败", + "message": "路径 '/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0' 的最后一个路径分段 '1.0.0' 可能不是复数形式,建议对资源集合使用复数命名。", + "duration_seconds": 0.48499999998603016, + "timestamp": "2025-08-19T17:39:35.378577", + "validation_points": [ + { + "passed": false, + "message": "路径 '/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0' 的最后一个路径分段 '1.0.0' 可能不是复数形式,建议对资源集合使用复数命名。", + "details": { + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0", + "segment": "1.0.0" + } + } + ] + }, + { + "test_case_id": "TC-RESTful-002", + "test_case_name": "资源路径名词检查", + "test_case_severity": "MEDIUM", + "status": "通过", + "message": "", + "duration_seconds": 0.7179999999934807, + "timestamp": "2025-08-19T17:39:36.101571", + "validation_points": [ + { + "passed": true, + "message": "路径 '/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0' 符合资源名词命名规范。", + "details": {} + } + ] + }, + { + "test_case_id": "TC-DMS-CORE-SCHEMA-001", + "test_case_name": "DMS核心存储服务API响应格式检查", + "test_case_severity": "HIGH", + "status": "通过", + "message": "", + "duration_seconds": 0.5470000000204891, + "timestamp": "2025-08-19T17:39:36.642377", + "validation_points": [ + { + "passed": true, + "message": "字段'code'在schema中未标记为必填(required)", + "details": { + "status_code": "200", + "required_fields": [] + } + }, + { + "passed": true, + "message": "字段'message'在schema中未标记为必填(required)", + "details": { + "status_code": "200", + "required_fields": [] + } + }, + { + "passed": true, + "message": "字段'data'在schema中未标记为必填(required)", + "details": { + "status_code": "200", + "required_fields": [] + } + }, + { + "passed": true, + "message": "响应schema符合标准格式: {'code':int or number or string, 'message':string, 'data': any}", + "details": { + "status_code": "200" + } + } + ] + }, + { + "test_case_id": "TC-CORE-FUNC-001", + "test_case_name": "返回体JSON Schema验证", + "test_case_severity": "CRITICAL", + "status": "失败", + "message": "针对 POST https://www.dev.ideas.cnpc/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0 (状态码 200) 的响应体 does not conform to the JSON schema. Errors:\n- Error at data: type - None is not of type 'array'", + "duration_seconds": 1.297000000020489, + "timestamp": "2025-08-19T17:39:37.946061", + "validation_points": [ + { + "passed": false, + "message": "针对 POST https://www.dev.ideas.cnpc/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0 (状态码 200) 的响应体 does not conform to the JSON schema. Errors:\n- Error at data: type - None is not of type 'array'", + "details": { + "schema_errors": [ + "Error at data: type - None is not of type 'array'" + ], + "validated_data_sample": "{'code': -1, 'message': 'StatementCallback; bad SQL grammar [SELECT example_string FROM dr_ach_survey_inc WHERE 1 = 1 LIMIT 1000]', 'data': None}" + } + } + ] + }, + { + "test_case_id": "TC-RESTful-003", + "test_case_name": "时间字段ISO 8601格式检查", + "test_case_severity": "MEDIUM", + "status": "通过", + "message": "", + "duration_seconds": 0.6559999999590218, + "timestamp": "2025-08-19T17:39:38.601931", + "validation_points": [ + { + "passed": true, + "message": "在API规范中未找到可供静态检查的时间相关字段(如 format: date-time 或 常见时间字段名)。", + "details": {} + } + ] + }, + { + "test_case_id": "TC-DMS-URL-VERSION-001", + "test_case_name": "DMS API URL版本号检查", + "test_case_severity": "MEDIUM", + "status": "通过", + "message": "", + "duration_seconds": 0.45400000002700835, + "timestamp": "2025-08-19T17:39:39.047642", + "validation_points": [ + { + "passed": true, + "message": "API路径 '/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0' 正确以'/api/'开头", + "details": { + "full_path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0" + } + }, + { + "passed": true, + "message": "API路径 '/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0' 包含版本标识: 'v1'", + "details": { + "pattern_matched": "/v\\d+/", + "version_string": "v1", + "full_path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0" + } + } + ] + }, + { + "test_case_id": "TC-CORE-FUNC-002", + "test_case_name": "灵活的返回体JSON Schema验证", + "test_case_severity": "CRITICAL", + "status": "通过", + "message": "All validation points passed.", + "duration_seconds": 0.42099999997299165, + "timestamp": "2025-08-19T17:39:39.470689", + "validation_points": [] + }, + { + "test_case_id": "TC-SECURITY-001", + "test_case_name": "HTTPS 协议强制性检查", + "test_case_severity": "HIGH", + "status": "失败", + "message": "API通过HTTP (http://www.dev.ideas.cnpc/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0) 响应了成功的状态码 200,这违反了HTTPS强制策略。", + "duration_seconds": 0.5790000000270084, + "timestamp": "2025-08-19T17:39:40.050930", + "validation_points": [ + { + "passed": false, + "message": "API通过HTTP (http://www.dev.ideas.cnpc/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0) 响应了成功的状态码 200,这违反了HTTPS强制策略。", + "details": { + "status_code": 200 + } + } + ] + }, + { + "test_case_id": "TC-ERROR-4001-QUERY", + "test_case_name": "查询参数类型不匹配检查", + "test_case_severity": "MEDIUM", + "status": "通过", + "message": "", + "duration_seconds": 0.43700000003445894, + "timestamp": "2025-08-19T17:39:40.480801", + "validation_points": [ + { + "passed": true, + "message": "当查询参数 'pageNo' (路径: 'pageNo') 类型不匹配时, API正确返回了状态码 200 和业务错误码 -1。", + "details": {} + } + ] + }, + { + "test_case_id": "TC-ERROR-4001-BODY", + "test_case_name": "请求体字段类型不匹配检查", + "test_case_severity": "MEDIUM", + "status": "通过", + "message": "", + "duration_seconds": 0.5470000000204891, + "timestamp": "2025-08-19T17:39:41.038847", + "validation_points": [ + { + "passed": true, + "message": "当请求体字段 'version' 类型不匹配时, API正确返回了状态码 200 和业务错误码 -1。", + "details": {} + } + ] + }, + { + "test_case_id": "TC-ERROR-4002", + "test_case_name": "数值参数越界检查", + "test_case_severity": "MEDIUM", + "status": "通过", + "message": "", + "duration_seconds": 0.765999999945052, + "timestamp": "2025-08-19T17:39:41.802971", + "validation_points": [ + { + "passed": true, + "message": "当 query 字段 'pageNo' 值为 0 (超出范围: min=1.0, max=None) 时, API正确返回了状态码 200 和业务错误码 -1。", + "details": {} + } + ] + }, + { + "test_case_id": "TC-ERROR-4006", + "test_case_name": "非法枚举值检查", + "test_case_severity": "MEDIUM", + "status": "通过", + "message": "", + "duration_seconds": 0.5150000000139698, + "timestamp": "2025-08-19T17:39:42.311827", + "validation_points": [ + { + "passed": true, + "message": "跳过测试:未找到具有明确枚举值限制的字段。", + "details": {} + } + ] + }, + { + "test_case_id": "TC-ERROR-4003-BODY", + "test_case_name": "缺失必填请求体字段检查", + "test_case_severity": "HIGH", + "status": "通过", + "message": "", + "duration_seconds": 0.4220000000204891, + "timestamp": "2025-08-19T17:39:42.738776", + "validation_points": [ + { + "passed": true, + "message": "跳过测试:在API规范中未找到合适的必填请求体字段用于移除测试。", + "details": {} + } + ] + }, + { + "test_case_id": "TC-ERROR-4003-QUERY", + "test_case_name": "缺失必填查询参数检查", + "test_case_severity": "HIGH", + "status": "通过", + "message": "", + "duration_seconds": 0.6720000000204891, + "timestamp": "2025-08-19T17:39:43.414685", + "validation_points": [ + { + "passed": true, + "message": "跳过测试:在API规范中未找到合适的必填查询参数用于移除测试。", + "details": {} + } + ] + } + ] + }, + { + "endpoint_id": "GET_/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0/{id}", + "endpoint_name": "Read dr_ach_survey_inc", + "overall_status": "跳过", + "duration_seconds": 0.0, + "start_time": "2025-08-19T17:39:43.415657", + "end_time": null, + "executed_test_cases": [] + }, + { + "endpoint_id": "PUT_/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "endpoint_name": "Update dr_ach_survey_inc", + "overall_status": "跳过", + "duration_seconds": 0.0, + "start_time": "2025-08-19T17:39:43.415657", + "end_time": null, + "executed_test_cases": [] + }, + { + "endpoint_id": "DELETE_/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "endpoint_name": "Delete dr_ach_survey_inc", + "overall_status": "跳过", + "duration_seconds": 0.0, + "start_time": "2025-08-19T17:39:43.415657", + "end_time": null, + "executed_test_cases": [] + } + ], + "stage_results": [ + { + "stage_id": "dms_crud_scenario_stage", + "stage_name": "DMS Full CRUD Scenario", + "description": "Performs a full Create -> Read -> Update -> Read -> Delete -> List workflow for a single DMS business object. (Scenario for: dr_ach_survey_inc)", + "api_group_metadata": { + "name": "dms_crud_dr_ach_survey_inc", + "description": "DMS CRUD场景: dr_ach_survey_inc" + }, + "apis_in_group": [ + { + "method": "POST", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "title": "Create dr_ach_survey_inc", + "summary": "Create dr_ach_survey_inc", + "description": "Create dr_ach_survey_inc", + "operationId": "create_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "act": { + "type": "integer", + "example": -1 + }, + "data": { + "type": "array", + "items": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + }, + "required": [ + "data" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + }, + { + "method": "POST", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0", + "title": "List dr_ach_survey_inc", + "summary": "List dr_ach_survey_inc", + "description": "List dr_ach_survey_inc", + "operationId": "list_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [ + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "schema": { + "type": "integer", + "default": 1000 + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "isSearchCount": { + "type": "boolean", + "example": true + }, + "query": { + "type": "object", + "properties": { + "fields": { + "type": "array", + "items": { + "type": "string" + } + }, + "filter": { + "type": "object" + } + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful Operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "standalone", + "_dms_model_pk_name": "dsid" + }, + { + "method": "GET", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0/{id}", + "title": "Read dr_ach_survey_inc", + "summary": "Read dr_ach_survey_inc", + "description": "Read dr_ach_survey_inc", + "operationId": "read_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "The ID of the dr_ach_survey_inc, maps to dsid", + "schema": { + "type": "string", + "title": "主键ID" + } + } + ], + "requestBody": null, + "responses": { + "200": { + "description": "Successful Operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + }, + { + "method": "PUT", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "title": "Update dr_ach_survey_inc", + "summary": "Update dr_ach_survey_inc", + "description": "Update dr_ach_survey_inc", + "operationId": "update_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "act": { + "type": "integer", + "example": -1 + }, + "data": { + "type": "array", + "items": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + }, + "required": [ + "data" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + }, + { + "method": "DELETE", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "title": "Delete dr_ach_survey_inc", + "summary": "Delete dr_ach_survey_inc", + "description": "Delete dr_ach_survey_inc", + "operationId": "delete_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "data": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "data" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + } + ], + "tags": [ + "dms", + "crud", + "scenario" + ], + "overall_status": "失败", + "message": "Performs a full Create -> Read -> Update -> Read -> Delete -> List workflow for a single DMS business object.", + "duration_seconds": "45.45", + "start_time": "2025-08-19T17:39:43.418666", + "end_time": "2025-08-19T17:40:28.871800", + "executed_steps": [ + { + "step_name": "Step 1: Create Resource", + "description": null, + "status": "失败", + "message": "Expected response data to be true, but it was 'None'.", + "lookup_key": "CREATE", + "resolved_endpoint": "POST /api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "duration_seconds": "0.7135", + "timestamp": "2025-08-19T17:40:25.444311", + "request_details": { + "method": "POST", + "url": "https://www.dev.ideas.cnpc/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "headers": { + "Content-Type": "application/json", + "Accept": "application/json" + }, + "params": {}, + "json_data": { + "data": [ + { + "seq": 1, + "tvd": 1500.5, + "dsid": "749090fc-c88d-41f4-b3d7-66dcd216a74d", + "XAxis": 123456.78, + "YAxis": 987654.32, + "phase": "开发阶段", + "bsflag": 1, + "tester": "张三", + "wellId": "WELL001", + "azimuth": 45.6, + "phaseId": "DEV", + "remarks": "测斜数据正常", + "testType": "常规测斜", + "avgDogleg": 2.5, + "checkDate": "2023-10-15T10:30:00", + "dataGroup": "测斜数据组", + "startDate": "2023-10-01", + "versionNo": "1.0", + "createDate": "2023-10-15T09:00:00", + "dataRegion": "大庆油田", + "testTypeId": "NORMAL", + "updateDate": "2023-10-15T09:00:00", + "wellboreId": "WB001", + "checkUserId": "USER001", + "createAppId": "DMS系统", + "description": "井眼轨迹测斜数据", + "createUserId": "USER001", + "updateUserId": "USER001", + "angleDeviation": 30.2, + "closureAzimuth": 45.0, + "directionalWay": "定向钻井", + "wellCommonName": "大庆1号井", + "closureDistance": 1200.5, + "horiDisplacemen": 1000.3, + "surveypointStep": 30, + "avgRateDeviation": 1.2, + "eastWestDisplace": 500.2, + "sourceCreateDate": "2023-10-01T08:00:00", + "surveyPointDepth": 1500, + "southNorthDisplace": 800.1, + "wellboreCommonName": "大庆1号井筒", + "overallAngleChangeRate": 1.8, + "rateDirectionChangeMean": 0.5 + } + ] + }, + "body": { + "data": [ + { + "seq": 1, + "tvd": 1500.5, + "dsid": "749090fc-c88d-41f4-b3d7-66dcd216a74d", + "XAxis": 123456.78, + "YAxis": 987654.32, + "phase": "开发阶段", + "bsflag": 1, + "tester": "张三", + "wellId": "WELL001", + "azimuth": 45.6, + "phaseId": "DEV", + "remarks": "测斜数据正常", + "testType": "常规测斜", + "avgDogleg": 2.5, + "checkDate": "2023-10-15T10:30:00", + "dataGroup": "测斜数据组", + "startDate": "2023-10-01", + "versionNo": "1.0", + "createDate": "2023-10-15T09:00:00", + "dataRegion": "大庆油田", + "testTypeId": "NORMAL", + "updateDate": "2023-10-15T09:00:00", + "wellboreId": "WB001", + "checkUserId": "USER001", + "createAppId": "DMS系统", + "description": "井眼轨迹测斜数据", + "createUserId": "USER001", + "updateUserId": "USER001", + "angleDeviation": 30.2, + "closureAzimuth": 45.0, + "directionalWay": "定向钻井", + "wellCommonName": "大庆1号井", + "closureDistance": 1200.5, + "horiDisplacemen": 1000.3, + "surveypointStep": 30, + "avgRateDeviation": 1.2, + "eastWestDisplace": 500.2, + "sourceCreateDate": "2023-10-01T08:00:00", + "surveyPointDepth": 1500, + "southNorthDisplace": 800.1, + "wellboreCommonName": "大庆1号井筒", + "overallAngleChangeRate": 1.8, + "rateDirectionChangeMean": 0.5 + } + ] + }, + "data": null, + "timeout": 30 + }, + "api_call_details": { + "request_method": "POST", + "request_url": "https://www.dev.ideas.cnpc/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "request_headers": { + "Content-Type": "application/json", + "Accept": "application/json" + }, + "request_params": {}, + "request_body": { + "data": [ + { + "seq": 1, + "tvd": 1500.5, + "dsid": "749090fc-c88d-41f4-b3d7-66dcd216a74d", + "XAxis": 123456.78, + "YAxis": 987654.32, + "phase": "开发阶段", + "bsflag": 1, + "tester": "张三", + "wellId": "WELL001", + "azimuth": 45.6, + "phaseId": "DEV", + "remarks": "测斜数据正常", + "testType": "常规测斜", + "avgDogleg": 2.5, + "checkDate": "2023-10-15T10:30:00", + "dataGroup": "测斜数据组", + "startDate": "2023-10-01", + "versionNo": "1.0", + "createDate": "2023-10-15T09:00:00", + "dataRegion": "大庆油田", + "testTypeId": "NORMAL", + "updateDate": "2023-10-15T09:00:00", + "wellboreId": "WB001", + "checkUserId": "USER001", + "createAppId": "DMS系统", + "description": "井眼轨迹测斜数据", + "createUserId": "USER001", + "updateUserId": "USER001", + "angleDeviation": 30.2, + "closureAzimuth": 45.0, + "directionalWay": "定向钻井", + "wellCommonName": "大庆1号井", + "closureDistance": 1200.5, + "horiDisplacemen": 1000.3, + "surveypointStep": 30, + "avgRateDeviation": 1.2, + "eastWestDisplace": 500.2, + "sourceCreateDate": "2023-10-01T08:00:00", + "surveyPointDepth": 1500, + "southNorthDisplace": 800.1, + "wellboreCommonName": "大庆1号井筒", + "overallAngleChangeRate": 1.8, + "rateDirectionChangeMean": 0.5 + } + ] + }, + "curl_command": "curl -H 'User-Agent: python-requests/2.32.4' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: application/json' -H 'Connection: keep-alive' -H 'Content-Type: application/json' -H 'Content-Length: 1328' -d '{\"data\": [{\"seq\": 1, \"tvd\": 1500.5, \"dsid\": \"749090fc-c88d-41f4-b3d7-66dcd216a74d\", \"XAxis\": 123456.78, \"YAxis\": 987654.32, \"phase\": \"\\u5f00\\u53d1\\u9636\\u6bb5\", \"bsflag\": 1, \"tester\": \"\\u5f20\\u4e09\", \"wellId\": \"WELL001\", \"azimuth\": 45.6, \"phaseId\": \"DEV\", \"remarks\": \"\\u6d4b\\u659c\\u6570\\u636e\\u6b63\\u5e38\", \"testType\": \"\\u5e38\\u89c4\\u6d4b\\u659c\", \"avgDogleg\": 2.5, \"checkDate\": \"2023-10-15T10:30:00\", \"dataGroup\": \"\\u6d4b\\u659c\\u6570\\u636e\\u7ec4\", \"startDate\": \"2023-10-01\", \"versionNo\": \"1.0\", \"createDate\": \"2023-10-15T09:00:00\", \"dataRegion\": \"\\u5927\\u5e86\\u6cb9\\u7530\", \"testTypeId\": \"NORMAL\", \"updateDate\": \"2023-10-15T09:00:00\", \"wellboreId\": \"WB001\", \"checkUserId\": \"USER001\", \"createAppId\": \"DMS\\u7cfb\\u7edf\", \"description\": \"\\u4e95\\u773c\\u8f68\\u8ff9\\u6d4b\\u659c\\u6570\\u636e\", \"createUserId\": \"USER001\", \"updateUserId\": \"USER001\", \"angleDeviation\": 30.2, \"closureAzimuth\": 45.0, \"directionalWay\": \"\\u5b9a\\u5411\\u94bb\\u4e95\", \"wellCommonName\": \"\\u5927\\u5e861\\u53f7\\u4e95\", \"closureDistance\": 1200.5, \"horiDisplacemen\": 1000.3, \"surveypointStep\": 30, \"avgRateDeviation\": 1.2, \"eastWestDisplace\": 500.2, \"sourceCreateDate\": \"2023-10-01T08:00:00\", \"surveyPointDepth\": 1500, \"southNorthDisplace\": 800.1, \"wellboreCommonName\": \"\\u5927\\u5e861\\u53f7\\u4e95\\u7b52\", \"overallAngleChangeRate\": 1.8, \"rateDirectionChangeMean\": 0.5}]}' --insecure https://www.dev.ideas.cnpc/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "response_status_code": 200, + "response_headers": { + "Content-Type": "application/json", + "Transfer-Encoding": "chunked", + "Connection": "keep-alive", + "Date": "Tue, 19 Aug 2025 09:40:42 GMT", + "Accept-Ranges": "bytes", + "Access-Control-Allow-Origin": "*", + "Access-Control-Allow-Methods": "*", + "Access-Control-Max-Age": "5", + "Access-Control-Expose-Headers": "*", + "Access-Control-Allow-Headers": "*", + "Server": "APISIX" + }, + "response_body": { + "code": -1, + "message": "java.util.concurrent.ExecutionException: org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; bad SQL grammar [select * from dr_ach_survey_inc where dsid = ?]", + "data": null + }, + "response_elapsed_time": 0.709848 + }, + "validation_points": [ + { + "passed": false, + "message": "Expected response data to be true, but it was 'None'.", + "details": {} + }, + { + "passed": true, + "message": "响应状态码 200 符合预期。", + "details": {} + } + ], + "context_snapshot_after_step": { + "pk_name": "dsid", + "pk_value": "749090fc-c88d-41f4-b3d7-66dcd216a74d", + "current_payload": { + "seq": 1, + "tvd": 1500.5, + "dsid": "749090fc-c88d-41f4-b3d7-66dcd216a74d", + "XAxis": 123456.78, + "YAxis": 987654.32, + "phase": "开发阶段", + "bsflag": 1, + "tester": "张三", + "wellId": "WELL001", + "azimuth": 45.6, + "phaseId": "DEV", + "remarks": "测斜数据正常", + "testType": "常规测斜", + "avgDogleg": 2.5, + "checkDate": "2023-10-15T10:30:00", + "dataGroup": "测斜数据组", + "startDate": "2023-10-01", + "versionNo": "1.0", + "createDate": "2023-10-15T09:00:00", + "dataRegion": "大庆油田", + "testTypeId": "NORMAL", + "updateDate": "2023-10-15T09:00:00", + "wellboreId": "WB001", + "checkUserId": "USER001", + "createAppId": "DMS系统", + "description": "井眼轨迹测斜数据", + "createUserId": "USER001", + "updateUserId": "USER001", + "angleDeviation": 30.2, + "closureAzimuth": 45.0, + "directionalWay": "定向钻井", + "wellCommonName": "大庆1号井", + "closureDistance": 1200.5, + "horiDisplacemen": 1000.3, + "surveypointStep": 30, + "avgRateDeviation": 1.2, + "eastWestDisplace": 500.2, + "sourceCreateDate": "2023-10-01T08:00:00", + "surveyPointDepth": 1500, + "southNorthDisplace": 800.1, + "wellboreCommonName": "大庆1号井筒", + "overallAngleChangeRate": 1.8, + "rateDirectionChangeMean": 0.5 + }, + "update_payload": { + "seq": 1, + "tvd": 1500.5, + "dsid": "749090fc-c88d-41f4-b3d7-66dcd216a74d", + "XAxis": 123456.78, + "YAxis": 987654.32, + "phase": "开发阶段", + "bsflag": 1, + "tester": "张三", + "wellId": "WELL001", + "azimuth": 45.6, + "phaseId": "DEV", + "remarks": "测斜数据正常", + "testType": "常规测斜", + "avgDogleg": 2.5, + "checkDate": "2023-10-15T10:30:00", + "dataGroup": "测斜数据组", + "startDate": "2023-10-01", + "versionNo": "1.0", + "createDate": "2023-10-15T09:00:00", + "dataRegion": "大庆油田", + "testTypeId": "NORMAL", + "updateDate": "2023-10-15T09:00:00", + "wellboreId": "WB001", + "checkUserId": "USER001", + "createAppId": "DMS系统", + "description": "updated-test-entry-from-scenario", + "createUserId": "USER001", + "updateUserId": "USER001", + "angleDeviation": 30.2, + "closureAzimuth": 45.0, + "directionalWay": "定向钻井", + "wellCommonName": "大庆1号井", + "closureDistance": 1200.5, + "horiDisplacemen": 1000.3, + "surveypointStep": 30, + "avgRateDeviation": 1.2, + "eastWestDisplace": 500.2, + "sourceCreateDate": "2023-10-01T08:00:00", + "surveyPointDepth": 1500, + "southNorthDisplace": 800.1, + "wellboreCommonName": "大庆1号井筒", + "overallAngleChangeRate": 1.8, + "rateDirectionChangeMean": 0.5 + }, + "scenario_endpoints": { + "create": { + "method": "POST", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "title": "Create dr_ach_survey_inc", + "summary": "Create dr_ach_survey_inc", + "description": "Create dr_ach_survey_inc", + "operationId": "create_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "act": { + "type": "integer", + "example": -1 + }, + "data": { + "type": "array", + "items": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + }, + "required": [ + "data" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + }, + "list": { + "method": "POST", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0", + "title": "List dr_ach_survey_inc", + "summary": "List dr_ach_survey_inc", + "description": "List dr_ach_survey_inc", + "operationId": "list_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [ + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "schema": { + "type": "integer", + "default": 1000 + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "isSearchCount": { + "type": "boolean", + "example": true + }, + "query": { + "type": "object", + "properties": { + "fields": { + "type": "array", + "items": { + "type": "string" + } + }, + "filter": { + "type": "object" + } + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful Operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "standalone", + "_dms_model_pk_name": "dsid" + }, + "read": { + "method": "GET", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0/{id}", + "title": "Read dr_ach_survey_inc", + "summary": "Read dr_ach_survey_inc", + "description": "Read dr_ach_survey_inc", + "operationId": "read_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "The ID of the dr_ach_survey_inc, maps to dsid", + "schema": { + "type": "string", + "title": "主键ID" + } + } + ], + "requestBody": null, + "responses": { + "200": { + "description": "Successful Operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + }, + "update": { + "method": "PUT", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "title": "Update dr_ach_survey_inc", + "summary": "Update dr_ach_survey_inc", + "description": "Update dr_ach_survey_inc", + "operationId": "update_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "act": { + "type": "integer", + "example": -1 + }, + "data": { + "type": "array", + "items": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + }, + "required": [ + "data" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + }, + "delete": { + "method": "DELETE", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "title": "Delete dr_ach_survey_inc", + "summary": "Delete dr_ach_survey_inc", + "description": "Delete dr_ach_survey_inc", + "operationId": "delete_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "data": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "data" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + } + }, + "delete_request_body": { + "data": [ + "749090fc-c88d-41f4-b3d7-66dcd216a74d" + ] + }, + "use_list_for_read": false, + "read_path_params": { + "id": "749090fc-c88d-41f4-b3d7-66dcd216a74d" + } + } + }, + { + "step_name": "Step 2: Verify Resource Creation", + "description": null, + "status": "失败", + "message": "READ响应的'data'字段应该是对象。实际: ", + "lookup_key": "VERIFY_READ", + "resolved_endpoint": "GET /api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0/{id}", + "duration_seconds": "0.5716", + "timestamp": "2025-08-19T17:40:26.158360", + "request_details": { + "method": "GET", + "url": "https://www.dev.ideas.cnpc/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0/749090fc-c88d-41f4-b3d7-66dcd216a74d", + "headers": { + "Accept": "application/json" + }, + "params": {}, + "json_data": null, + "body": null, + "data": null, + "timeout": 30 + }, + "api_call_details": { + "request_method": "GET", + "request_url": "https://www.dev.ideas.cnpc/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0/749090fc-c88d-41f4-b3d7-66dcd216a74d", + "request_headers": { + "Accept": "application/json" + }, + "request_params": {}, + "request_body": null, + "curl_command": "curl -H 'User-Agent: python-requests/2.32.4' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: application/json' -H 'Connection: keep-alive' --insecure https://www.dev.ideas.cnpc/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0/749090fc-c88d-41f4-b3d7-66dcd216a74d", + "response_status_code": 200, + "response_headers": { + "Content-Type": "application/json", + "Transfer-Encoding": "chunked", + "Connection": "keep-alive", + "Date": "Tue, 19 Aug 2025 09:40:42 GMT", + "Accept-Ranges": "bytes", + "Access-Control-Allow-Origin": "*", + "Access-Control-Allow-Methods": "*", + "Access-Control-Max-Age": "5", + "Access-Control-Expose-Headers": "*", + "Access-Control-Allow-Headers": "*", + "Server": "APISIX" + }, + "response_body": { + "code": -1, + "message": "PreparedStatementCallback; bad SQL grammar [select * from dr_ach_survey_inc where dsid = ?]", + "data": null + }, + "response_elapsed_time": 0.568794 + }, + "validation_points": [ + { + "passed": false, + "message": "READ响应的'data'字段应该是对象。实际: ", + "details": {} + }, + { + "passed": true, + "message": "响应状态码 200 符合预期。", + "details": {} + } + ], + "context_snapshot_after_step": { + "pk_name": "dsid", + "pk_value": "749090fc-c88d-41f4-b3d7-66dcd216a74d", + "current_payload": { + "seq": 1, + "tvd": 1500.5, + "dsid": "749090fc-c88d-41f4-b3d7-66dcd216a74d", + "XAxis": 123456.78, + "YAxis": 987654.32, + "phase": "开发阶段", + "bsflag": 1, + "tester": "张三", + "wellId": "WELL001", + "azimuth": 45.6, + "phaseId": "DEV", + "remarks": "测斜数据正常", + "testType": "常规测斜", + "avgDogleg": 2.5, + "checkDate": "2023-10-15T10:30:00", + "dataGroup": "测斜数据组", + "startDate": "2023-10-01", + "versionNo": "1.0", + "createDate": "2023-10-15T09:00:00", + "dataRegion": "大庆油田", + "testTypeId": "NORMAL", + "updateDate": "2023-10-15T09:00:00", + "wellboreId": "WB001", + "checkUserId": "USER001", + "createAppId": "DMS系统", + "description": "井眼轨迹测斜数据", + "createUserId": "USER001", + "updateUserId": "USER001", + "angleDeviation": 30.2, + "closureAzimuth": 45.0, + "directionalWay": "定向钻井", + "wellCommonName": "大庆1号井", + "closureDistance": 1200.5, + "horiDisplacemen": 1000.3, + "surveypointStep": 30, + "avgRateDeviation": 1.2, + "eastWestDisplace": 500.2, + "sourceCreateDate": "2023-10-01T08:00:00", + "surveyPointDepth": 1500, + "southNorthDisplace": 800.1, + "wellboreCommonName": "大庆1号井筒", + "overallAngleChangeRate": 1.8, + "rateDirectionChangeMean": 0.5 + }, + "update_payload": { + "seq": 1, + "tvd": 1500.5, + "dsid": "749090fc-c88d-41f4-b3d7-66dcd216a74d", + "XAxis": 123456.78, + "YAxis": 987654.32, + "phase": "开发阶段", + "bsflag": 1, + "tester": "张三", + "wellId": "WELL001", + "azimuth": 45.6, + "phaseId": "DEV", + "remarks": "测斜数据正常", + "testType": "常规测斜", + "avgDogleg": 2.5, + "checkDate": "2023-10-15T10:30:00", + "dataGroup": "测斜数据组", + "startDate": "2023-10-01", + "versionNo": "1.0", + "createDate": "2023-10-15T09:00:00", + "dataRegion": "大庆油田", + "testTypeId": "NORMAL", + "updateDate": "2023-10-15T09:00:00", + "wellboreId": "WB001", + "checkUserId": "USER001", + "createAppId": "DMS系统", + "description": "updated-test-entry-from-scenario", + "createUserId": "USER001", + "updateUserId": "USER001", + "angleDeviation": 30.2, + "closureAzimuth": 45.0, + "directionalWay": "定向钻井", + "wellCommonName": "大庆1号井", + "closureDistance": 1200.5, + "horiDisplacemen": 1000.3, + "surveypointStep": 30, + "avgRateDeviation": 1.2, + "eastWestDisplace": 500.2, + "sourceCreateDate": "2023-10-01T08:00:00", + "surveyPointDepth": 1500, + "southNorthDisplace": 800.1, + "wellboreCommonName": "大庆1号井筒", + "overallAngleChangeRate": 1.8, + "rateDirectionChangeMean": 0.5 + }, + "scenario_endpoints": { + "create": { + "method": "POST", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "title": "Create dr_ach_survey_inc", + "summary": "Create dr_ach_survey_inc", + "description": "Create dr_ach_survey_inc", + "operationId": "create_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "act": { + "type": "integer", + "example": -1 + }, + "data": { + "type": "array", + "items": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + }, + "required": [ + "data" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + }, + "list": { + "method": "POST", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0", + "title": "List dr_ach_survey_inc", + "summary": "List dr_ach_survey_inc", + "description": "List dr_ach_survey_inc", + "operationId": "list_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [ + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "schema": { + "type": "integer", + "default": 1000 + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "isSearchCount": { + "type": "boolean", + "example": true + }, + "query": { + "type": "object", + "properties": { + "fields": { + "type": "array", + "items": { + "type": "string" + } + }, + "filter": { + "type": "object" + } + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful Operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "standalone", + "_dms_model_pk_name": "dsid" + }, + "read": { + "method": "GET", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0/{id}", + "title": "Read dr_ach_survey_inc", + "summary": "Read dr_ach_survey_inc", + "description": "Read dr_ach_survey_inc", + "operationId": "read_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "The ID of the dr_ach_survey_inc, maps to dsid", + "schema": { + "type": "string", + "title": "主键ID" + } + } + ], + "requestBody": null, + "responses": { + "200": { + "description": "Successful Operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + }, + "update": { + "method": "PUT", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "title": "Update dr_ach_survey_inc", + "summary": "Update dr_ach_survey_inc", + "description": "Update dr_ach_survey_inc", + "operationId": "update_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "act": { + "type": "integer", + "example": -1 + }, + "data": { + "type": "array", + "items": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + }, + "required": [ + "data" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + }, + "delete": { + "method": "DELETE", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "title": "Delete dr_ach_survey_inc", + "summary": "Delete dr_ach_survey_inc", + "description": "Delete dr_ach_survey_inc", + "operationId": "delete_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "data": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "data" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + } + }, + "delete_request_body": { + "data": [ + "749090fc-c88d-41f4-b3d7-66dcd216a74d" + ] + }, + "use_list_for_read": false, + "read_path_params": { + "id": "749090fc-c88d-41f4-b3d7-66dcd216a74d" + } + } + }, + { + "step_name": "Step 3: Update Resource", + "description": null, + "status": "失败", + "message": "Expected response data to be true, but it was 'None'.", + "lookup_key": "UPDATE", + "resolved_endpoint": "PUT /api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "duration_seconds": "0.5797", + "timestamp": "2025-08-19T17:40:26.729998", + "request_details": { + "method": "PUT", + "url": "https://www.dev.ideas.cnpc/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "headers": { + "Content-Type": "application/json", + "Accept": "application/json" + }, + "params": {}, + "json_data": { + "data": [ + { + "seq": 1, + "tvd": 1500.5, + "dsid": "749090fc-c88d-41f4-b3d7-66dcd216a74d", + "XAxis": 123456.78, + "YAxis": 987654.32, + "phase": "开发阶段", + "bsflag": 1, + "tester": "张三", + "wellId": "WELL001", + "azimuth": 45.6, + "phaseId": "DEV", + "remarks": "测斜数据正常", + "testType": "常规测斜", + "avgDogleg": 2.5, + "checkDate": "2023-10-15T10:30:00", + "dataGroup": "测斜数据组", + "startDate": "2023-10-01", + "versionNo": "1.0", + "createDate": "2023-10-15T09:00:00", + "dataRegion": "大庆油田", + "testTypeId": "NORMAL", + "updateDate": "2023-10-15T09:00:00", + "wellboreId": "WB001", + "checkUserId": "USER001", + "createAppId": "DMS系统", + "description": "updated-test-entry-from-scenario", + "createUserId": "USER001", + "updateUserId": "USER001", + "angleDeviation": 30.2, + "closureAzimuth": 45.0, + "directionalWay": "定向钻井", + "wellCommonName": "大庆1号井", + "closureDistance": 1200.5, + "horiDisplacemen": 1000.3, + "surveypointStep": 30, + "avgRateDeviation": 1.2, + "eastWestDisplace": 500.2, + "sourceCreateDate": "2023-10-01T08:00:00", + "surveyPointDepth": 1500, + "southNorthDisplace": 800.1, + "wellboreCommonName": "大庆1号井筒", + "overallAngleChangeRate": 1.8, + "rateDirectionChangeMean": 0.5 + } + ] + }, + "body": { + "data": [ + { + "seq": 1, + "tvd": 1500.5, + "dsid": "749090fc-c88d-41f4-b3d7-66dcd216a74d", + "XAxis": 123456.78, + "YAxis": 987654.32, + "phase": "开发阶段", + "bsflag": 1, + "tester": "张三", + "wellId": "WELL001", + "azimuth": 45.6, + "phaseId": "DEV", + "remarks": "测斜数据正常", + "testType": "常规测斜", + "avgDogleg": 2.5, + "checkDate": "2023-10-15T10:30:00", + "dataGroup": "测斜数据组", + "startDate": "2023-10-01", + "versionNo": "1.0", + "createDate": "2023-10-15T09:00:00", + "dataRegion": "大庆油田", + "testTypeId": "NORMAL", + "updateDate": "2023-10-15T09:00:00", + "wellboreId": "WB001", + "checkUserId": "USER001", + "createAppId": "DMS系统", + "description": "updated-test-entry-from-scenario", + "createUserId": "USER001", + "updateUserId": "USER001", + "angleDeviation": 30.2, + "closureAzimuth": 45.0, + "directionalWay": "定向钻井", + "wellCommonName": "大庆1号井", + "closureDistance": 1200.5, + "horiDisplacemen": 1000.3, + "surveypointStep": 30, + "avgRateDeviation": 1.2, + "eastWestDisplace": 500.2, + "sourceCreateDate": "2023-10-01T08:00:00", + "surveyPointDepth": 1500, + "southNorthDisplace": 800.1, + "wellboreCommonName": "大庆1号井筒", + "overallAngleChangeRate": 1.8, + "rateDirectionChangeMean": 0.5 + } + ] + }, + "data": null, + "timeout": 30 + }, + "api_call_details": { + "request_method": "PUT", + "request_url": "https://www.dev.ideas.cnpc/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "request_headers": { + "Content-Type": "application/json", + "Accept": "application/json" + }, + "request_params": {}, + "request_body": { + "data": [ + { + "seq": 1, + "tvd": 1500.5, + "dsid": "749090fc-c88d-41f4-b3d7-66dcd216a74d", + "XAxis": 123456.78, + "YAxis": 987654.32, + "phase": "开发阶段", + "bsflag": 1, + "tester": "张三", + "wellId": "WELL001", + "azimuth": 45.6, + "phaseId": "DEV", + "remarks": "测斜数据正常", + "testType": "常规测斜", + "avgDogleg": 2.5, + "checkDate": "2023-10-15T10:30:00", + "dataGroup": "测斜数据组", + "startDate": "2023-10-01", + "versionNo": "1.0", + "createDate": "2023-10-15T09:00:00", + "dataRegion": "大庆油田", + "testTypeId": "NORMAL", + "updateDate": "2023-10-15T09:00:00", + "wellboreId": "WB001", + "checkUserId": "USER001", + "createAppId": "DMS系统", + "description": "updated-test-entry-from-scenario", + "createUserId": "USER001", + "updateUserId": "USER001", + "angleDeviation": 30.2, + "closureAzimuth": 45.0, + "directionalWay": "定向钻井", + "wellCommonName": "大庆1号井", + "closureDistance": 1200.5, + "horiDisplacemen": 1000.3, + "surveypointStep": 30, + "avgRateDeviation": 1.2, + "eastWestDisplace": 500.2, + "sourceCreateDate": "2023-10-01T08:00:00", + "surveyPointDepth": 1500, + "southNorthDisplace": 800.1, + "wellboreCommonName": "大庆1号井筒", + "overallAngleChangeRate": 1.8, + "rateDirectionChangeMean": 0.5 + } + ] + }, + "curl_command": "curl -X PUT -H 'User-Agent: python-requests/2.32.4' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: application/json' -H 'Connection: keep-alive' -H 'Content-Type: application/json' -H 'Content-Length: 1312' -d '{\"data\": [{\"seq\": 1, \"tvd\": 1500.5, \"dsid\": \"749090fc-c88d-41f4-b3d7-66dcd216a74d\", \"XAxis\": 123456.78, \"YAxis\": 987654.32, \"phase\": \"\\u5f00\\u53d1\\u9636\\u6bb5\", \"bsflag\": 1, \"tester\": \"\\u5f20\\u4e09\", \"wellId\": \"WELL001\", \"azimuth\": 45.6, \"phaseId\": \"DEV\", \"remarks\": \"\\u6d4b\\u659c\\u6570\\u636e\\u6b63\\u5e38\", \"testType\": \"\\u5e38\\u89c4\\u6d4b\\u659c\", \"avgDogleg\": 2.5, \"checkDate\": \"2023-10-15T10:30:00\", \"dataGroup\": \"\\u6d4b\\u659c\\u6570\\u636e\\u7ec4\", \"startDate\": \"2023-10-01\", \"versionNo\": \"1.0\", \"createDate\": \"2023-10-15T09:00:00\", \"dataRegion\": \"\\u5927\\u5e86\\u6cb9\\u7530\", \"testTypeId\": \"NORMAL\", \"updateDate\": \"2023-10-15T09:00:00\", \"wellboreId\": \"WB001\", \"checkUserId\": \"USER001\", \"createAppId\": \"DMS\\u7cfb\\u7edf\", \"description\": \"updated-test-entry-from-scenario\", \"createUserId\": \"USER001\", \"updateUserId\": \"USER001\", \"angleDeviation\": 30.2, \"closureAzimuth\": 45.0, \"directionalWay\": \"\\u5b9a\\u5411\\u94bb\\u4e95\", \"wellCommonName\": \"\\u5927\\u5e861\\u53f7\\u4e95\", \"closureDistance\": 1200.5, \"horiDisplacemen\": 1000.3, \"surveypointStep\": 30, \"avgRateDeviation\": 1.2, \"eastWestDisplace\": 500.2, \"sourceCreateDate\": \"2023-10-01T08:00:00\", \"surveyPointDepth\": 1500, \"southNorthDisplace\": 800.1, \"wellboreCommonName\": \"\\u5927\\u5e861\\u53f7\\u4e95\\u7b52\", \"overallAngleChangeRate\": 1.8, \"rateDirectionChangeMean\": 0.5}]}' --insecure https://www.dev.ideas.cnpc/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "response_status_code": 200, + "response_headers": { + "Content-Type": "application/json", + "Transfer-Encoding": "chunked", + "Connection": "keep-alive", + "Date": "Tue, 19 Aug 2025 09:40:43 GMT", + "Accept-Ranges": "bytes", + "Access-Control-Allow-Origin": "*", + "Access-Control-Allow-Methods": "*", + "Access-Control-Max-Age": "5", + "Access-Control-Expose-Headers": "*", + "Access-Control-Allow-Headers": "*", + "Server": "APISIX" + }, + "response_body": { + "code": -1, + "message": "java.util.concurrent.ExecutionException: org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; bad SQL grammar [select * from dr_ach_survey_inc where dsid = ?]", + "data": null + }, + "response_elapsed_time": 0.575826 + }, + "validation_points": [ + { + "passed": false, + "message": "Expected response data to be true, but it was 'None'.", + "details": {} + }, + { + "passed": true, + "message": "响应状态码 200 符合预期。", + "details": {} + } + ], + "context_snapshot_after_step": { + "pk_name": "dsid", + "pk_value": "749090fc-c88d-41f4-b3d7-66dcd216a74d", + "current_payload": { + "seq": 1, + "tvd": 1500.5, + "dsid": "749090fc-c88d-41f4-b3d7-66dcd216a74d", + "XAxis": 123456.78, + "YAxis": 987654.32, + "phase": "开发阶段", + "bsflag": 1, + "tester": "张三", + "wellId": "WELL001", + "azimuth": 45.6, + "phaseId": "DEV", + "remarks": "测斜数据正常", + "testType": "常规测斜", + "avgDogleg": 2.5, + "checkDate": "2023-10-15T10:30:00", + "dataGroup": "测斜数据组", + "startDate": "2023-10-01", + "versionNo": "1.0", + "createDate": "2023-10-15T09:00:00", + "dataRegion": "大庆油田", + "testTypeId": "NORMAL", + "updateDate": "2023-10-15T09:00:00", + "wellboreId": "WB001", + "checkUserId": "USER001", + "createAppId": "DMS系统", + "description": "井眼轨迹测斜数据", + "createUserId": "USER001", + "updateUserId": "USER001", + "angleDeviation": 30.2, + "closureAzimuth": 45.0, + "directionalWay": "定向钻井", + "wellCommonName": "大庆1号井", + "closureDistance": 1200.5, + "horiDisplacemen": 1000.3, + "surveypointStep": 30, + "avgRateDeviation": 1.2, + "eastWestDisplace": 500.2, + "sourceCreateDate": "2023-10-01T08:00:00", + "surveyPointDepth": 1500, + "southNorthDisplace": 800.1, + "wellboreCommonName": "大庆1号井筒", + "overallAngleChangeRate": 1.8, + "rateDirectionChangeMean": 0.5 + }, + "update_payload": { + "seq": 1, + "tvd": 1500.5, + "dsid": "749090fc-c88d-41f4-b3d7-66dcd216a74d", + "XAxis": 123456.78, + "YAxis": 987654.32, + "phase": "开发阶段", + "bsflag": 1, + "tester": "张三", + "wellId": "WELL001", + "azimuth": 45.6, + "phaseId": "DEV", + "remarks": "测斜数据正常", + "testType": "常规测斜", + "avgDogleg": 2.5, + "checkDate": "2023-10-15T10:30:00", + "dataGroup": "测斜数据组", + "startDate": "2023-10-01", + "versionNo": "1.0", + "createDate": "2023-10-15T09:00:00", + "dataRegion": "大庆油田", + "testTypeId": "NORMAL", + "updateDate": "2023-10-15T09:00:00", + "wellboreId": "WB001", + "checkUserId": "USER001", + "createAppId": "DMS系统", + "description": "updated-test-entry-from-scenario", + "createUserId": "USER001", + "updateUserId": "USER001", + "angleDeviation": 30.2, + "closureAzimuth": 45.0, + "directionalWay": "定向钻井", + "wellCommonName": "大庆1号井", + "closureDistance": 1200.5, + "horiDisplacemen": 1000.3, + "surveypointStep": 30, + "avgRateDeviation": 1.2, + "eastWestDisplace": 500.2, + "sourceCreateDate": "2023-10-01T08:00:00", + "surveyPointDepth": 1500, + "southNorthDisplace": 800.1, + "wellboreCommonName": "大庆1号井筒", + "overallAngleChangeRate": 1.8, + "rateDirectionChangeMean": 0.5 + }, + "scenario_endpoints": { + "create": { + "method": "POST", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "title": "Create dr_ach_survey_inc", + "summary": "Create dr_ach_survey_inc", + "description": "Create dr_ach_survey_inc", + "operationId": "create_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "act": { + "type": "integer", + "example": -1 + }, + "data": { + "type": "array", + "items": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + }, + "required": [ + "data" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + }, + "list": { + "method": "POST", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0", + "title": "List dr_ach_survey_inc", + "summary": "List dr_ach_survey_inc", + "description": "List dr_ach_survey_inc", + "operationId": "list_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [ + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "schema": { + "type": "integer", + "default": 1000 + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "isSearchCount": { + "type": "boolean", + "example": true + }, + "query": { + "type": "object", + "properties": { + "fields": { + "type": "array", + "items": { + "type": "string" + } + }, + "filter": { + "type": "object" + } + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful Operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "standalone", + "_dms_model_pk_name": "dsid" + }, + "read": { + "method": "GET", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0/{id}", + "title": "Read dr_ach_survey_inc", + "summary": "Read dr_ach_survey_inc", + "description": "Read dr_ach_survey_inc", + "operationId": "read_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "The ID of the dr_ach_survey_inc, maps to dsid", + "schema": { + "type": "string", + "title": "主键ID" + } + } + ], + "requestBody": null, + "responses": { + "200": { + "description": "Successful Operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + }, + "update": { + "method": "PUT", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "title": "Update dr_ach_survey_inc", + "summary": "Update dr_ach_survey_inc", + "description": "Update dr_ach_survey_inc", + "operationId": "update_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "act": { + "type": "integer", + "example": -1 + }, + "data": { + "type": "array", + "items": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + }, + "required": [ + "data" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + }, + "delete": { + "method": "DELETE", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "title": "Delete dr_ach_survey_inc", + "summary": "Delete dr_ach_survey_inc", + "description": "Delete dr_ach_survey_inc", + "operationId": "delete_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "data": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "data" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + } + }, + "delete_request_body": { + "data": [ + "749090fc-c88d-41f4-b3d7-66dcd216a74d" + ] + }, + "use_list_for_read": false, + "read_path_params": { + "id": "749090fc-c88d-41f4-b3d7-66dcd216a74d" + } + } + }, + { + "step_name": "Step 4: Verify Resource Update", + "description": null, + "status": "失败", + "message": "READ响应的'data'字段应该是对象。实际: ", + "lookup_key": "VERIFY_READ", + "resolved_endpoint": "GET /api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0/{id}", + "duration_seconds": "0.4335", + "timestamp": "2025-08-19T17:40:27.309698", + "request_details": { + "method": "GET", + "url": "https://www.dev.ideas.cnpc/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0/749090fc-c88d-41f4-b3d7-66dcd216a74d", + "headers": { + "Accept": "application/json" + }, + "params": {}, + "json_data": null, + "body": null, + "data": null, + "timeout": 30 + }, + "api_call_details": { + "request_method": "GET", + "request_url": "https://www.dev.ideas.cnpc/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0/749090fc-c88d-41f4-b3d7-66dcd216a74d", + "request_headers": { + "Accept": "application/json" + }, + "request_params": {}, + "request_body": null, + "curl_command": "curl -H 'User-Agent: python-requests/2.32.4' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: application/json' -H 'Connection: keep-alive' --insecure https://www.dev.ideas.cnpc/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0/749090fc-c88d-41f4-b3d7-66dcd216a74d", + "response_status_code": 200, + "response_headers": { + "Content-Type": "application/json", + "Transfer-Encoding": "chunked", + "Connection": "keep-alive", + "Date": "Tue, 19 Aug 2025 09:40:43 GMT", + "Accept-Ranges": "bytes", + "Access-Control-Allow-Origin": "*", + "Access-Control-Allow-Methods": "*", + "Access-Control-Max-Age": "5", + "Access-Control-Expose-Headers": "*", + "Access-Control-Allow-Headers": "*", + "Server": "APISIX" + }, + "response_body": { + "code": -1, + "message": "PreparedStatementCallback; bad SQL grammar [select * from dr_ach_survey_inc where dsid = ?]", + "data": null + }, + "response_elapsed_time": 0.431197 + }, + "validation_points": [ + { + "passed": false, + "message": "READ响应的'data'字段应该是对象。实际: ", + "details": {} + }, + { + "passed": true, + "message": "响应状态码 200 符合预期。", + "details": {} + } + ], + "context_snapshot_after_step": { + "pk_name": "dsid", + "pk_value": "749090fc-c88d-41f4-b3d7-66dcd216a74d", + "current_payload": { + "seq": 1, + "tvd": 1500.5, + "dsid": "749090fc-c88d-41f4-b3d7-66dcd216a74d", + "XAxis": 123456.78, + "YAxis": 987654.32, + "phase": "开发阶段", + "bsflag": 1, + "tester": "张三", + "wellId": "WELL001", + "azimuth": 45.6, + "phaseId": "DEV", + "remarks": "测斜数据正常", + "testType": "常规测斜", + "avgDogleg": 2.5, + "checkDate": "2023-10-15T10:30:00", + "dataGroup": "测斜数据组", + "startDate": "2023-10-01", + "versionNo": "1.0", + "createDate": "2023-10-15T09:00:00", + "dataRegion": "大庆油田", + "testTypeId": "NORMAL", + "updateDate": "2023-10-15T09:00:00", + "wellboreId": "WB001", + "checkUserId": "USER001", + "createAppId": "DMS系统", + "description": "井眼轨迹测斜数据", + "createUserId": "USER001", + "updateUserId": "USER001", + "angleDeviation": 30.2, + "closureAzimuth": 45.0, + "directionalWay": "定向钻井", + "wellCommonName": "大庆1号井", + "closureDistance": 1200.5, + "horiDisplacemen": 1000.3, + "surveypointStep": 30, + "avgRateDeviation": 1.2, + "eastWestDisplace": 500.2, + "sourceCreateDate": "2023-10-01T08:00:00", + "surveyPointDepth": 1500, + "southNorthDisplace": 800.1, + "wellboreCommonName": "大庆1号井筒", + "overallAngleChangeRate": 1.8, + "rateDirectionChangeMean": 0.5 + }, + "update_payload": { + "seq": 1, + "tvd": 1500.5, + "dsid": "749090fc-c88d-41f4-b3d7-66dcd216a74d", + "XAxis": 123456.78, + "YAxis": 987654.32, + "phase": "开发阶段", + "bsflag": 1, + "tester": "张三", + "wellId": "WELL001", + "azimuth": 45.6, + "phaseId": "DEV", + "remarks": "测斜数据正常", + "testType": "常规测斜", + "avgDogleg": 2.5, + "checkDate": "2023-10-15T10:30:00", + "dataGroup": "测斜数据组", + "startDate": "2023-10-01", + "versionNo": "1.0", + "createDate": "2023-10-15T09:00:00", + "dataRegion": "大庆油田", + "testTypeId": "NORMAL", + "updateDate": "2023-10-15T09:00:00", + "wellboreId": "WB001", + "checkUserId": "USER001", + "createAppId": "DMS系统", + "description": "updated-test-entry-from-scenario", + "createUserId": "USER001", + "updateUserId": "USER001", + "angleDeviation": 30.2, + "closureAzimuth": 45.0, + "directionalWay": "定向钻井", + "wellCommonName": "大庆1号井", + "closureDistance": 1200.5, + "horiDisplacemen": 1000.3, + "surveypointStep": 30, + "avgRateDeviation": 1.2, + "eastWestDisplace": 500.2, + "sourceCreateDate": "2023-10-01T08:00:00", + "surveyPointDepth": 1500, + "southNorthDisplace": 800.1, + "wellboreCommonName": "大庆1号井筒", + "overallAngleChangeRate": 1.8, + "rateDirectionChangeMean": 0.5 + }, + "scenario_endpoints": { + "create": { + "method": "POST", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "title": "Create dr_ach_survey_inc", + "summary": "Create dr_ach_survey_inc", + "description": "Create dr_ach_survey_inc", + "operationId": "create_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "act": { + "type": "integer", + "example": -1 + }, + "data": { + "type": "array", + "items": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + }, + "required": [ + "data" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + }, + "list": { + "method": "POST", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0", + "title": "List dr_ach_survey_inc", + "summary": "List dr_ach_survey_inc", + "description": "List dr_ach_survey_inc", + "operationId": "list_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [ + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "schema": { + "type": "integer", + "default": 1000 + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "isSearchCount": { + "type": "boolean", + "example": true + }, + "query": { + "type": "object", + "properties": { + "fields": { + "type": "array", + "items": { + "type": "string" + } + }, + "filter": { + "type": "object" + } + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful Operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "standalone", + "_dms_model_pk_name": "dsid" + }, + "read": { + "method": "GET", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0/{id}", + "title": "Read dr_ach_survey_inc", + "summary": "Read dr_ach_survey_inc", + "description": "Read dr_ach_survey_inc", + "operationId": "read_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "The ID of the dr_ach_survey_inc, maps to dsid", + "schema": { + "type": "string", + "title": "主键ID" + } + } + ], + "requestBody": null, + "responses": { + "200": { + "description": "Successful Operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + }, + "update": { + "method": "PUT", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "title": "Update dr_ach_survey_inc", + "summary": "Update dr_ach_survey_inc", + "description": "Update dr_ach_survey_inc", + "operationId": "update_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "act": { + "type": "integer", + "example": -1 + }, + "data": { + "type": "array", + "items": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + }, + "required": [ + "data" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + }, + "delete": { + "method": "DELETE", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "title": "Delete dr_ach_survey_inc", + "summary": "Delete dr_ach_survey_inc", + "description": "Delete dr_ach_survey_inc", + "operationId": "delete_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "data": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "data" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + } + }, + "delete_request_body": { + "data": [ + "749090fc-c88d-41f4-b3d7-66dcd216a74d" + ] + }, + "use_list_for_read": false, + "read_path_params": { + "id": "749090fc-c88d-41f4-b3d7-66dcd216a74d" + } + } + }, + { + "step_name": "Step 5: Delete Resource", + "description": null, + "status": "失败", + "message": "Expected response data to be true, but it was 'None'.", + "lookup_key": "DELETE", + "resolved_endpoint": "DELETE /api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "duration_seconds": "0.6348", + "timestamp": "2025-08-19T17:40:27.743185", + "request_details": { + "method": "DELETE", + "url": "https://www.dev.ideas.cnpc/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "headers": { + "Content-Type": "application/json", + "Accept": "application/json" + }, + "params": {}, + "json_data": { + "data": [ + "749090fc-c88d-41f4-b3d7-66dcd216a74d" + ] + }, + "body": { + "data": [ + "749090fc-c88d-41f4-b3d7-66dcd216a74d" + ] + }, + "data": null, + "timeout": 30 + }, + "api_call_details": { + "request_method": "DELETE", + "request_url": "https://www.dev.ideas.cnpc/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "request_headers": { + "Content-Type": "application/json", + "Accept": "application/json" + }, + "request_params": {}, + "request_body": { + "data": [ + "749090fc-c88d-41f4-b3d7-66dcd216a74d" + ] + }, + "curl_command": "curl -X DELETE -H 'User-Agent: python-requests/2.32.4' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: application/json' -H 'Connection: keep-alive' -H 'Content-Type: application/json' -H 'Content-Length: 50' -d '{\"data\": [\"749090fc-c88d-41f4-b3d7-66dcd216a74d\"]}' --insecure https://www.dev.ideas.cnpc/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "response_status_code": 200, + "response_headers": { + "Content-Type": "application/json", + "Transfer-Encoding": "chunked", + "Connection": "keep-alive", + "Date": "Tue, 19 Aug 2025 09:40:44 GMT", + "Accept-Ranges": "bytes", + "Access-Control-Allow-Origin": "*", + "Access-Control-Allow-Methods": "*", + "Access-Control-Max-Age": "5", + "Access-Control-Expose-Headers": "*", + "Access-Control-Allow-Headers": "*", + "Server": "APISIX" + }, + "response_body": { + "code": -1, + "message": "java.util.concurrent.ExecutionException: org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; bad SQL grammar [update dr_ach_survey_inc set bsflag=? where dsid=?]", + "data": null + }, + "response_elapsed_time": 0.631448 + }, + "validation_points": [ + { + "passed": false, + "message": "Expected response data to be true, but it was 'None'.", + "details": {} + }, + { + "passed": true, + "message": "响应状态码 200 符合预期。", + "details": {} + } + ], + "context_snapshot_after_step": { + "pk_name": "dsid", + "pk_value": "749090fc-c88d-41f4-b3d7-66dcd216a74d", + "current_payload": { + "seq": 1, + "tvd": 1500.5, + "dsid": "749090fc-c88d-41f4-b3d7-66dcd216a74d", + "XAxis": 123456.78, + "YAxis": 987654.32, + "phase": "开发阶段", + "bsflag": 1, + "tester": "张三", + "wellId": "WELL001", + "azimuth": 45.6, + "phaseId": "DEV", + "remarks": "测斜数据正常", + "testType": "常规测斜", + "avgDogleg": 2.5, + "checkDate": "2023-10-15T10:30:00", + "dataGroup": "测斜数据组", + "startDate": "2023-10-01", + "versionNo": "1.0", + "createDate": "2023-10-15T09:00:00", + "dataRegion": "大庆油田", + "testTypeId": "NORMAL", + "updateDate": "2023-10-15T09:00:00", + "wellboreId": "WB001", + "checkUserId": "USER001", + "createAppId": "DMS系统", + "description": "井眼轨迹测斜数据", + "createUserId": "USER001", + "updateUserId": "USER001", + "angleDeviation": 30.2, + "closureAzimuth": 45.0, + "directionalWay": "定向钻井", + "wellCommonName": "大庆1号井", + "closureDistance": 1200.5, + "horiDisplacemen": 1000.3, + "surveypointStep": 30, + "avgRateDeviation": 1.2, + "eastWestDisplace": 500.2, + "sourceCreateDate": "2023-10-01T08:00:00", + "surveyPointDepth": 1500, + "southNorthDisplace": 800.1, + "wellboreCommonName": "大庆1号井筒", + "overallAngleChangeRate": 1.8, + "rateDirectionChangeMean": 0.5 + }, + "update_payload": { + "seq": 1, + "tvd": 1500.5, + "dsid": "749090fc-c88d-41f4-b3d7-66dcd216a74d", + "XAxis": 123456.78, + "YAxis": 987654.32, + "phase": "开发阶段", + "bsflag": 1, + "tester": "张三", + "wellId": "WELL001", + "azimuth": 45.6, + "phaseId": "DEV", + "remarks": "测斜数据正常", + "testType": "常规测斜", + "avgDogleg": 2.5, + "checkDate": "2023-10-15T10:30:00", + "dataGroup": "测斜数据组", + "startDate": "2023-10-01", + "versionNo": "1.0", + "createDate": "2023-10-15T09:00:00", + "dataRegion": "大庆油田", + "testTypeId": "NORMAL", + "updateDate": "2023-10-15T09:00:00", + "wellboreId": "WB001", + "checkUserId": "USER001", + "createAppId": "DMS系统", + "description": "updated-test-entry-from-scenario", + "createUserId": "USER001", + "updateUserId": "USER001", + "angleDeviation": 30.2, + "closureAzimuth": 45.0, + "directionalWay": "定向钻井", + "wellCommonName": "大庆1号井", + "closureDistance": 1200.5, + "horiDisplacemen": 1000.3, + "surveypointStep": 30, + "avgRateDeviation": 1.2, + "eastWestDisplace": 500.2, + "sourceCreateDate": "2023-10-01T08:00:00", + "surveyPointDepth": 1500, + "southNorthDisplace": 800.1, + "wellboreCommonName": "大庆1号井筒", + "overallAngleChangeRate": 1.8, + "rateDirectionChangeMean": 0.5 + }, + "scenario_endpoints": { + "create": { + "method": "POST", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "title": "Create dr_ach_survey_inc", + "summary": "Create dr_ach_survey_inc", + "description": "Create dr_ach_survey_inc", + "operationId": "create_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "act": { + "type": "integer", + "example": -1 + }, + "data": { + "type": "array", + "items": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + }, + "required": [ + "data" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + }, + "list": { + "method": "POST", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0", + "title": "List dr_ach_survey_inc", + "summary": "List dr_ach_survey_inc", + "description": "List dr_ach_survey_inc", + "operationId": "list_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [ + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "schema": { + "type": "integer", + "default": 1000 + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "isSearchCount": { + "type": "boolean", + "example": true + }, + "query": { + "type": "object", + "properties": { + "fields": { + "type": "array", + "items": { + "type": "string" + } + }, + "filter": { + "type": "object" + } + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful Operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "standalone", + "_dms_model_pk_name": "dsid" + }, + "read": { + "method": "GET", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0/{id}", + "title": "Read dr_ach_survey_inc", + "summary": "Read dr_ach_survey_inc", + "description": "Read dr_ach_survey_inc", + "operationId": "read_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "The ID of the dr_ach_survey_inc, maps to dsid", + "schema": { + "type": "string", + "title": "主键ID" + } + } + ], + "requestBody": null, + "responses": { + "200": { + "description": "Successful Operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + }, + "update": { + "method": "PUT", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "title": "Update dr_ach_survey_inc", + "summary": "Update dr_ach_survey_inc", + "description": "Update dr_ach_survey_inc", + "operationId": "update_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "act": { + "type": "integer", + "example": -1 + }, + "data": { + "type": "array", + "items": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + }, + "required": [ + "data" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + }, + "delete": { + "method": "DELETE", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "title": "Delete dr_ach_survey_inc", + "summary": "Delete dr_ach_survey_inc", + "description": "Delete dr_ach_survey_inc", + "operationId": "delete_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "data": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "data" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + } + }, + "delete_request_body": { + "data": [ + "749090fc-c88d-41f4-b3d7-66dcd216a74d" + ] + }, + "use_list_for_read": false, + "read_path_params": { + "id": "749090fc-c88d-41f4-b3d7-66dcd216a74d" + } + } + }, + { + "step_name": "Step 6: List to Verify Deletion", + "description": null, + "status": "失败", + "message": "Response 'data' or 'data.list' field is not a list. Got: {'code': -1, 'message': 'StatementCallback; bad SQL grammar [SELECT example_string FROM dr_ach_survey_inc WHERE 1 = 1 LIMIT 1000]', 'data': None}", + "lookup_key": "LIST", + "resolved_endpoint": "POST /api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0", + "duration_seconds": "0.4939", + "timestamp": "2025-08-19T17:40:28.377941", + "request_details": { + "method": "POST", + "url": "https://www.dev.ideas.cnpc/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0", + "headers": { + "Content-Type": "application/json", + "Accept": "application/json" + }, + "params": { + "pageNo": 1, + "pageSize": 1000 + }, + "json_data": { + "version": "1.0.0", + "isSearchCount": true, + "query": { + "fields": [ + "example_string" + ], + "filter": {} + } + }, + "body": { + "version": "1.0.0", + "isSearchCount": true, + "query": { + "fields": [ + "example_string" + ], + "filter": {} + } + }, + "data": null, + "timeout": 30 + }, + "api_call_details": { + "request_method": "POST", + "request_url": "https://www.dev.ideas.cnpc/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0", + "request_headers": { + "Content-Type": "application/json", + "Accept": "application/json" + }, + "request_params": { + "pageNo": 1, + "pageSize": 1000 + }, + "request_body": { + "version": "1.0.0", + "isSearchCount": true, + "query": { + "fields": [ + "example_string" + ], + "filter": {} + } + }, + "curl_command": "curl -H 'User-Agent: python-requests/2.32.4' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: application/json' -H 'Connection: keep-alive' -H 'Content-Type: application/json' -H 'Content-Length: 98' -d '{\"version\": \"1.0.0\", \"isSearchCount\": true, \"query\": {\"fields\": [\"example_string\"], \"filter\": {}}}' --insecure 'https://www.dev.ideas.cnpc/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0?pageNo=1&pageSize=1000'", + "response_status_code": 200, + "response_headers": { + "Content-Type": "application/json", + "Transfer-Encoding": "chunked", + "Connection": "keep-alive", + "Content-Disposition": "inline;filename=f.txt", + "Date": "Tue, 19 Aug 2025 09:40:44 GMT", + "Accept-Ranges": "bytes", + "Access-Control-Allow-Origin": "*", + "Access-Control-Allow-Methods": "*", + "Access-Control-Max-Age": "5", + "Access-Control-Expose-Headers": "*", + "Access-Control-Allow-Headers": "*", + "Server": "APISIX" + }, + "response_body": { + "code": -1, + "message": "StatementCallback; bad SQL grammar [SELECT example_string FROM dr_ach_survey_inc WHERE 1 = 1 LIMIT 1000]", + "data": null + }, + "response_elapsed_time": 0.490805 + }, + "validation_points": [ + { + "passed": false, + "message": "Response 'data' or 'data.list' field is not a list. Got: {'code': -1, 'message': 'StatementCallback; bad SQL grammar [SELECT example_string FROM dr_ach_survey_inc WHERE 1 = 1 LIMIT 1000]', 'data': None}", + "details": {} + }, + { + "passed": true, + "message": "响应状态码 200 符合预期。", + "details": {} + } + ], + "context_snapshot_after_step": { + "pk_name": "dsid", + "pk_value": "749090fc-c88d-41f4-b3d7-66dcd216a74d", + "current_payload": { + "seq": 1, + "tvd": 1500.5, + "dsid": "749090fc-c88d-41f4-b3d7-66dcd216a74d", + "XAxis": 123456.78, + "YAxis": 987654.32, + "phase": "开发阶段", + "bsflag": 1, + "tester": "张三", + "wellId": "WELL001", + "azimuth": 45.6, + "phaseId": "DEV", + "remarks": "测斜数据正常", + "testType": "常规测斜", + "avgDogleg": 2.5, + "checkDate": "2023-10-15T10:30:00", + "dataGroup": "测斜数据组", + "startDate": "2023-10-01", + "versionNo": "1.0", + "createDate": "2023-10-15T09:00:00", + "dataRegion": "大庆油田", + "testTypeId": "NORMAL", + "updateDate": "2023-10-15T09:00:00", + "wellboreId": "WB001", + "checkUserId": "USER001", + "createAppId": "DMS系统", + "description": "井眼轨迹测斜数据", + "createUserId": "USER001", + "updateUserId": "USER001", + "angleDeviation": 30.2, + "closureAzimuth": 45.0, + "directionalWay": "定向钻井", + "wellCommonName": "大庆1号井", + "closureDistance": 1200.5, + "horiDisplacemen": 1000.3, + "surveypointStep": 30, + "avgRateDeviation": 1.2, + "eastWestDisplace": 500.2, + "sourceCreateDate": "2023-10-01T08:00:00", + "surveyPointDepth": 1500, + "southNorthDisplace": 800.1, + "wellboreCommonName": "大庆1号井筒", + "overallAngleChangeRate": 1.8, + "rateDirectionChangeMean": 0.5 + }, + "update_payload": { + "seq": 1, + "tvd": 1500.5, + "dsid": "749090fc-c88d-41f4-b3d7-66dcd216a74d", + "XAxis": 123456.78, + "YAxis": 987654.32, + "phase": "开发阶段", + "bsflag": 1, + "tester": "张三", + "wellId": "WELL001", + "azimuth": 45.6, + "phaseId": "DEV", + "remarks": "测斜数据正常", + "testType": "常规测斜", + "avgDogleg": 2.5, + "checkDate": "2023-10-15T10:30:00", + "dataGroup": "测斜数据组", + "startDate": "2023-10-01", + "versionNo": "1.0", + "createDate": "2023-10-15T09:00:00", + "dataRegion": "大庆油田", + "testTypeId": "NORMAL", + "updateDate": "2023-10-15T09:00:00", + "wellboreId": "WB001", + "checkUserId": "USER001", + "createAppId": "DMS系统", + "description": "updated-test-entry-from-scenario", + "createUserId": "USER001", + "updateUserId": "USER001", + "angleDeviation": 30.2, + "closureAzimuth": 45.0, + "directionalWay": "定向钻井", + "wellCommonName": "大庆1号井", + "closureDistance": 1200.5, + "horiDisplacemen": 1000.3, + "surveypointStep": 30, + "avgRateDeviation": 1.2, + "eastWestDisplace": 500.2, + "sourceCreateDate": "2023-10-01T08:00:00", + "surveyPointDepth": 1500, + "southNorthDisplace": 800.1, + "wellboreCommonName": "大庆1号井筒", + "overallAngleChangeRate": 1.8, + "rateDirectionChangeMean": 0.5 + }, + "scenario_endpoints": { + "create": { + "method": "POST", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "title": "Create dr_ach_survey_inc", + "summary": "Create dr_ach_survey_inc", + "description": "Create dr_ach_survey_inc", + "operationId": "create_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "act": { + "type": "integer", + "example": -1 + }, + "data": { + "type": "array", + "items": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + }, + "required": [ + "data" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + }, + "list": { + "method": "POST", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0", + "title": "List dr_ach_survey_inc", + "summary": "List dr_ach_survey_inc", + "description": "List dr_ach_survey_inc", + "operationId": "list_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [ + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "schema": { + "type": "integer", + "default": 1000 + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "isSearchCount": { + "type": "boolean", + "example": true + }, + "query": { + "type": "object", + "properties": { + "fields": { + "type": "array", + "items": { + "type": "string" + } + }, + "filter": { + "type": "object" + } + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful Operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "standalone", + "_dms_model_pk_name": "dsid" + }, + "read": { + "method": "GET", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0/{id}", + "title": "Read dr_ach_survey_inc", + "summary": "Read dr_ach_survey_inc", + "description": "Read dr_ach_survey_inc", + "operationId": "read_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "The ID of the dr_ach_survey_inc, maps to dsid", + "schema": { + "type": "string", + "title": "主键ID" + } + } + ], + "requestBody": null, + "responses": { + "200": { + "description": "Successful Operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + }, + "update": { + "method": "PUT", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "title": "Update dr_ach_survey_inc", + "summary": "Update dr_ach_survey_inc", + "description": "Update dr_ach_survey_inc", + "operationId": "update_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "act": { + "type": "integer", + "example": -1 + }, + "data": { + "type": "array", + "items": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + }, + "required": [ + "data" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + }, + "delete": { + "method": "DELETE", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "title": "Delete dr_ach_survey_inc", + "summary": "Delete dr_ach_survey_inc", + "description": "Delete dr_ach_survey_inc", + "operationId": "delete_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "data": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "data" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + } + }, + "delete_request_body": { + "data": [ + "749090fc-c88d-41f4-b3d7-66dcd216a74d" + ] + }, + "use_list_for_read": false, + "read_path_params": { + "id": "749090fc-c88d-41f4-b3d7-66dcd216a74d" + } + } + } + ], + "final_context_snapshot": { + "pk_name": "dsid", + "pk_value": "749090fc-c88d-41f4-b3d7-66dcd216a74d", + "current_payload": { + "seq": 1, + "tvd": 1500.5, + "dsid": "749090fc-c88d-41f4-b3d7-66dcd216a74d", + "XAxis": 123456.78, + "YAxis": 987654.32, + "phase": "开发阶段", + "bsflag": 1, + "tester": "张三", + "wellId": "WELL001", + "azimuth": 45.6, + "phaseId": "DEV", + "remarks": "测斜数据正常", + "testType": "常规测斜", + "avgDogleg": 2.5, + "checkDate": "2023-10-15T10:30:00", + "dataGroup": "测斜数据组", + "startDate": "2023-10-01", + "versionNo": "1.0", + "createDate": "2023-10-15T09:00:00", + "dataRegion": "大庆油田", + "testTypeId": "NORMAL", + "updateDate": "2023-10-15T09:00:00", + "wellboreId": "WB001", + "checkUserId": "USER001", + "createAppId": "DMS系统", + "description": "井眼轨迹测斜数据", + "createUserId": "USER001", + "updateUserId": "USER001", + "angleDeviation": 30.2, + "closureAzimuth": 45.0, + "directionalWay": "定向钻井", + "wellCommonName": "大庆1号井", + "closureDistance": 1200.5, + "horiDisplacemen": 1000.3, + "surveypointStep": 30, + "avgRateDeviation": 1.2, + "eastWestDisplace": 500.2, + "sourceCreateDate": "2023-10-01T08:00:00", + "surveyPointDepth": 1500, + "southNorthDisplace": 800.1, + "wellboreCommonName": "大庆1号井筒", + "overallAngleChangeRate": 1.8, + "rateDirectionChangeMean": 0.5 + }, + "update_payload": { + "seq": 1, + "tvd": 1500.5, + "dsid": "749090fc-c88d-41f4-b3d7-66dcd216a74d", + "XAxis": 123456.78, + "YAxis": 987654.32, + "phase": "开发阶段", + "bsflag": 1, + "tester": "张三", + "wellId": "WELL001", + "azimuth": 45.6, + "phaseId": "DEV", + "remarks": "测斜数据正常", + "testType": "常规测斜", + "avgDogleg": 2.5, + "checkDate": "2023-10-15T10:30:00", + "dataGroup": "测斜数据组", + "startDate": "2023-10-01", + "versionNo": "1.0", + "createDate": "2023-10-15T09:00:00", + "dataRegion": "大庆油田", + "testTypeId": "NORMAL", + "updateDate": "2023-10-15T09:00:00", + "wellboreId": "WB001", + "checkUserId": "USER001", + "createAppId": "DMS系统", + "description": "updated-test-entry-from-scenario", + "createUserId": "USER001", + "updateUserId": "USER001", + "angleDeviation": 30.2, + "closureAzimuth": 45.0, + "directionalWay": "定向钻井", + "wellCommonName": "大庆1号井", + "closureDistance": 1200.5, + "horiDisplacemen": 1000.3, + "surveypointStep": 30, + "avgRateDeviation": 1.2, + "eastWestDisplace": 500.2, + "sourceCreateDate": "2023-10-01T08:00:00", + "surveyPointDepth": 1500, + "southNorthDisplace": 800.1, + "wellboreCommonName": "大庆1号井筒", + "overallAngleChangeRate": 1.8, + "rateDirectionChangeMean": 0.5 + }, + "scenario_endpoints": { + "create": { + "method": "POST", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "title": "Create dr_ach_survey_inc", + "summary": "Create dr_ach_survey_inc", + "description": "Create dr_ach_survey_inc", + "operationId": "create_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "act": { + "type": "integer", + "example": -1 + }, + "data": { + "type": "array", + "items": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + }, + "required": [ + "data" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + }, + "list": { + "method": "POST", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0", + "title": "List dr_ach_survey_inc", + "summary": "List dr_ach_survey_inc", + "description": "List dr_ach_survey_inc", + "operationId": "list_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [ + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "schema": { + "type": "integer", + "default": 1000 + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "isSearchCount": { + "type": "boolean", + "example": true + }, + "query": { + "type": "object", + "properties": { + "fields": { + "type": "array", + "items": { + "type": "string" + } + }, + "filter": { + "type": "object" + } + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful Operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "standalone", + "_dms_model_pk_name": "dsid" + }, + "read": { + "method": "GET", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc/1.0.0/{id}", + "title": "Read dr_ach_survey_inc", + "summary": "Read dr_ach_survey_inc", + "description": "Read dr_ach_survey_inc", + "operationId": "read_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "The ID of the dr_ach_survey_inc, maps to dsid", + "schema": { + "type": "string", + "title": "主键ID" + } + } + ], + "requestBody": null, + "responses": { + "200": { + "description": "Successful Operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + }, + "update": { + "method": "PUT", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "title": "Update dr_ach_survey_inc", + "summary": "Update dr_ach_survey_inc", + "description": "Update dr_ach_survey_inc", + "operationId": "update_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "act": { + "type": "integer", + "example": -1 + }, + "data": { + "type": "array", + "items": { + "$id": "https://schema.ideas.cnpc/json/business-data/dr_ach_survey_inc.1.0.0.json", + "type": "Object", + "title": "测斜记录", + "schema": "http://json-schema.org/draft-07/schema#", + "required": [ + "dsid", + "dataRegion", + "bsflag" + ], + "groupView": [ + { + "name": "groupByWellCommonName", + "group": [ + "dataRegion", + "wellCommonName" + ] + } + ], + "identityId": [ + "dsid" + ], + "properties": { + "seq": { + "type": "number", + "title": "序列数" + }, + "tvd": { + "type": "number", + "title": "井眼轨迹控制点斜深处的垂直深度" + }, + "dsid": { + "type": "string", + "title": "主键ID" + }, + "XAxis": { + "type": "number", + "title": "东坐标" + }, + "YAxis": { + "type": "number", + "title": "北坐标" + }, + "phase": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "bsflag": { + "type": "number", + "title": "逻辑删除标识,表示该条记录在用或者已经失效,1表示正常数据、-5表示废弃数据" + }, + "tester": { + "type": "string", + "title": "测斜人" + }, + "wellId": { + "type": "string", + "title": "井标识符,非限定唯一。由EPDM系统自动产生维护,无需人工干预,是用于唯一标识EPDM系统的每一口井的内部机器码" + }, + "azimuth": { + "type": "number", + "title": "井眼轨迹控制点的方位角" + }, + "phaseId": { + "type": "string", + "title": "属性规范值字段,引用属性代码PHASE下的属性值" + }, + "remarks": { + "type": "string", + "title": "需要补充说明的内容" + }, + "testType": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "avgDogleg": { + "type": "number", + "title": "平均狗腿度" + }, + "checkDate": { + "type": "date", + "title": "记录数据在本系统的审核时间,需精确到时分秒" + }, + "dataGroup": { + "type": "string", + "title": "数据分组" + }, + "startDate": { + "type": "date", + "title": "记录头日期" + }, + "versionNo": { + "type": "string", + "title": "版本号" + }, + "createDate": { + "type": "date", + "title": "记录数据在本系统的创建时间,需精确到时分秒" + }, + "dataRegion": { + "type": "string", + "title": "油田标识" + }, + "testTypeId": { + "type": "string", + "title": "属性规范值字段,引用属性代码SURVEY_TYPE下的属性值" + }, + "updateDate": { + "type": "date", + "title": "记录数据在本系统最新的更新时间,需精确到时分秒,默认=创建时间" + }, + "wellboreId": { + "type": "string", + "title": "井筒唯一标识符" + }, + "checkUserId": { + "type": "string", + "title": "记录数据在本系统的审核用户" + }, + "createAppId": { + "type": "string", + "title": "填写数据来源的系统名" + }, + "description": { + "type": "string", + "title": "测斜描述" + }, + "createUserId": { + "type": "string", + "title": "记录数据在本系统的创建用户" + }, + "updateUserId": { + "type": "string", + "title": "记录数据在本系统最新的更新用户,默认=创建用户" + }, + "angleDeviation": { + "type": "number", + "title": "井眼轨迹控制点的井斜角" + }, + "closureAzimuth": { + "type": "number", + "title": "闭合方位" + }, + "directionalWay": { + "type": "string", + "title": "定向方式" + }, + "wellCommonName": { + "type": "string", + "title": "井名" + }, + "closureDistance": { + "type": "number", + "title": "闭合距" + }, + "horiDisplacemen": { + "type": "number", + "title": "井眼轨迹控制点斜深处的累积水平位移" + }, + "surveypointStep": { + "type": "number", + "title": "步长" + }, + "avgRateDeviation": { + "type": "number", + "title": "填井斜平均变化率" + }, + "eastWestDisplace": { + "type": "number", + "title": "测斜点的东西向位移" + }, + "sourceCreateDate": { + "type": "date", + "title": "记录源头系统采集数据的时间" + }, + "surveyPointDepth": { + "type": "number", + "title": "井眼轨迹井斜、方位控制点的斜深,每30米一个点" + }, + "southNorthDisplace": { + "type": "number", + "title": "测斜点的南北向位移" + }, + "wellboreCommonName": { + "type": "string", + "title": "井筒名" + }, + "overallAngleChangeRate": { + "type": "number", + "title": "全角变化率" + }, + "rateDirectionChangeMean": { + "type": "number", + "title": "方位平均变化率" + } + } + } + } + }, + "required": [ + "data" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + }, + "delete": { + "method": "DELETE", + "path": "/api/dms/well_kd_wellbore_ideas01/v1/dr_ach_survey_inc", + "title": "Delete dr_ach_survey_inc", + "summary": "Delete dr_ach_survey_inc", + "description": "Delete dr_ach_survey_inc", + "operationId": "delete_dr_ach_survey_inc", + "tags": [ + "wb_dr" + ], + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "version": { + "type": "string", + "example": "1.0.0" + }, + "data": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "data" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + }, + "_source_format": "dms", + "_dms_raw_record": { + "flow_state": "2", + "domain": "wb_dr", + "name": "dr_ach_survey_inc", + "add_tree": "Y", + "id": "dr_ach_survey_inc.1.0.0", + "create_user": "林彦博", + "title": "测斜记录", + "type": "business-data", + "version": "1.0.0", + "update_date": "2025-08-18 10:09:55", + "tags": [ + "结构化数据" + ] + }, + "_test_mode": "scenario_only", + "_dms_model_pk_name": "dsid" + } + }, + "delete_request_body": { + "data": [ + "749090fc-c88d-41f4-b3d7-66dcd216a74d" + ] + }, + "use_list_for_read": false, + "read_path_params": { + "id": "749090fc-c88d-41f4-b3d7-66dcd216a74d" + } + } + } + ], + "api_call_details_summary": [] +} \ No newline at end of file