From 4180a0ce8118032162d1431bc9ed681dc68b5c28 Mon Sep 17 00:00:00 2001 From: gongwenxin Date: Fri, 23 May 2025 12:05:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0error=20=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=EF=BC=8C=E4=BD=86=E6=98=AF=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E5=A4=AA=E5=A4=8D=E6=9D=82=EF=BC=8C=E8=BF=98?= =?UTF-8?q?=E9=9C=80=E8=A6=81=E4=BC=98=E5=8C=96=E6=A1=86=E6=9E=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 239 - ...筒API示例swagger_fixed_noref_processed.json | 42210 ++++++++++++++++ ...例swagger_fixed_simple_noref_processed.json | 1225 + assets/remove_refs.py | 36 + .../compliance_catalog/__init__.py | 1 + .../core_functionality/__init__.py | 1 + .../schema_validation_case.cpython-312.pyc | Bin 0 -> 6155 bytes .../schema_validation_case.py | 81 + .../error_handling/__init__.py | 1 + ...issing_required_field_case.cpython-312.pyc | Bin 0 -> 13258 bytes .../type_mismatch_case.cpython-312.pyc | Bin 0 -> 14831 bytes .../missing_required_field_body_case.py | 296 + .../missing_required_field_query_case.py | 84 + .../error_handling/type_mismatch_body_case.py | 386 + .../type_mismatch_query_param_case.py | 229 + .../normative_spec/__init__.py | 1 + .../http_method_usage_case.cpython-312.pyc | Bin 0 -> 499 bytes .../normative_spec/http_method_usage_case.py | 67 + .../compliance_catalog/security/__init__.py | 1 + .../https_mandatory_case.cpython-312.pyc | Bin 0 -> 6676 bytes .../security/https_mandatory_case.py | 84 + .../__pycache__/basic_checks.cpython-312.pyc | Bin 0 -> 5951 bytes .../compliance_catalog/__init__.py | 1 + .../error_handling/__init__.py | 1 + ...g_required_field_body_case.cpython-312.pyc | Bin 0 -> 21478 bytes ...issing_required_field_case.cpython-312.pyc | Bin 0 -> 13269 bytes ..._required_field_query_case.cpython-312.pyc | Bin 0 -> 7904 bytes .../type_mismatch_body_case.cpython-312.pyc | Bin 0 -> 27234 bytes .../type_mismatch_case.cpython-312.pyc | Bin 0 -> 25078 bytes ..._mismatch_query_param_case.cpython-312.pyc | Bin 0 -> 15228 bytes .../missing_required_field_body_case.py | 296 + .../missing_required_field_query_case.py | 84 + .../test_case_registry.cpython-312.pyc | Bin 14153 -> 15324 bytes .../test_orchestrator.cpython-312.pyc | Bin 79182 -> 89058 bytes ddms_compliance_suite/test_case_registry.py | 75 +- ddms_compliance_suite/test_orchestrator.py | 239 +- test_report.json | 314 +- 37 files changed, 45453 insertions(+), 499 deletions(-) delete mode 100644 README.md create mode 100644 assets/doc/井筒API示例swagger_fixed_noref_processed.json create mode 100644 assets/doc/井筒API示例swagger_fixed_simple_noref_processed.json create mode 100644 assets/remove_refs.py create mode 100644 custom_testcases/compliance_catalog/__init__.py create mode 100644 custom_testcases/compliance_catalog/core_functionality/__init__.py create mode 100644 custom_testcases/compliance_catalog/core_functionality/__pycache__/schema_validation_case.cpython-312.pyc create mode 100644 custom_testcases/compliance_catalog/core_functionality/schema_validation_case.py create mode 100644 custom_testcases/compliance_catalog/error_handling/__init__.py create mode 100644 custom_testcases/compliance_catalog/error_handling/__pycache__/missing_required_field_case.cpython-312.pyc create mode 100644 custom_testcases/compliance_catalog/error_handling/__pycache__/type_mismatch_case.cpython-312.pyc create mode 100644 custom_testcases/compliance_catalog/error_handling/missing_required_field_body_case.py create mode 100644 custom_testcases/compliance_catalog/error_handling/missing_required_field_query_case.py create mode 100644 custom_testcases/compliance_catalog/error_handling/type_mismatch_body_case.py create mode 100644 custom_testcases/compliance_catalog/error_handling/type_mismatch_query_param_case.py create mode 100644 custom_testcases/compliance_catalog/normative_spec/__init__.py create mode 100644 custom_testcases/compliance_catalog/normative_spec/__pycache__/http_method_usage_case.cpython-312.pyc create mode 100644 custom_testcases/compliance_catalog/normative_spec/http_method_usage_case.py create mode 100644 custom_testcases/compliance_catalog/security/__init__.py create mode 100644 custom_testcases/compliance_catalog/security/__pycache__/https_mandatory_case.cpython-312.pyc create mode 100644 custom_testcases/compliance_catalog/security/https_mandatory_case.py create mode 100644 custom_testcases1/__pycache__/basic_checks.cpython-312.pyc create mode 100644 custom_testcases1/compliance_catalog/__init__.py create mode 100644 custom_testcases1/compliance_catalog/error_handling/__init__.py create mode 100644 custom_testcases1/compliance_catalog/error_handling/__pycache__/missing_required_field_body_case.cpython-312.pyc create mode 100644 custom_testcases1/compliance_catalog/error_handling/__pycache__/missing_required_field_case.cpython-312.pyc create mode 100644 custom_testcases1/compliance_catalog/error_handling/__pycache__/missing_required_field_query_case.cpython-312.pyc create mode 100644 custom_testcases1/compliance_catalog/error_handling/__pycache__/type_mismatch_body_case.cpython-312.pyc create mode 100644 custom_testcases1/compliance_catalog/error_handling/__pycache__/type_mismatch_case.cpython-312.pyc create mode 100644 custom_testcases1/compliance_catalog/error_handling/__pycache__/type_mismatch_query_param_case.cpython-312.pyc create mode 100644 custom_testcases1/compliance_catalog/error_handling/missing_required_field_body_case.py create mode 100644 custom_testcases1/compliance_catalog/error_handling/missing_required_field_query_case.py diff --git a/README.md b/README.md deleted file mode 100644 index 0b8ec03..0000000 --- a/README.md +++ /dev/null @@ -1,239 +0,0 @@ -# DDMS 合规性验证软件 - -本项目旨在开发一套DDMS(领域数据管理服务)合规性验证软件。该软件能够自动化地对注册到DMS平台的第三方DDMS进行一系列检查,包括API接口行为、数据模型的规范性、业务流程的正确性、以及数据质量等,确保其符合DMS平台定义的数据共享标准和技术规范。 - -## 项目结构 - -``` -ddms_compliance_suite/ -├── ddms_compliance_suite/ # Python 包的根目录 (应用核心代码) -│ ├── __init__.py -│ ├── main.py # 应用主入口 -│ │ -│ ├── api_caller/ # API 调用模块 -│ │ ├── __init__.py -│ │ └── caller.py # API 调用逻辑 -│ │ -│ ├── assertion_engine/ # 断言引擎模块 -│ │ ├── __init__.py -│ │ └── engine.py # 断言逻辑 -│ │ -│ ├── config/ # 配置管理模块 -│ │ ├── __init__.py -│ │ └── manager.py # 配置加载与管理 -│ │ -│ ├── input_parser/ # 输入解析模块 -│ │ ├── __init__.py -│ │ └── parser.py # 输入文件解析逻辑 -│ │ -│ ├── json_schema_validator/ # JSON Schema 验证模块 -│ │ ├── __init__.py -│ │ └── validator.py # Schema 验证逻辑 -│ │ -│ ├── logging_service/ # 日志服务模块 -│ │ ├── __init__.py -│ │ └── logger.py # 日志配置与记录 -│ │ -│ ├── models/ # Pydantic 数据模型 -│ │ ├── __init__.py -│ │ ├── base_models.py # 基础模型或通用模型 -│ │ ├── config_models.py # 应用配置相关模型 -│ │ ├── rule_models.py # 规则库相关模型 -│ │ └── validation_models.py # 验证输入/输出相关模型 -│ │ -│ ├── report_generator/ # 报告生成模块 -│ │ ├── __init__.py -│ │ └── generator.py # 报告生成逻辑 -│ │ -│ ├── rule_repository/ # 规则库模块 -│ │ ├── __init__.py -│ │ ├── repository.py # 规则库核心逻辑 -│ │ └── adapters/ # 规则存储适配器 -│ │ ├── __init__.py -│ │ ├── base_adapter.py # 适配器基类 -│ │ └── filesystem_adapter.py # 文件系统适配器 -│ │ -│ └── test_executor/ # 测试执行器模块 -│ ├── __init__.py -│ └── executor.py # 测试编排与执行逻辑 -│ -├── configs/ # 配置文件存放目录 -│ └── config.yaml.example # 示例配置文件 -│ -├── rules/ # 规则文件存放目录 (JSON格式) -│ ├── api_linting_rules/ # API Linting 规则 -│ │ └── api-naming-convention/ -│ │ └── 1.0.0.json # 版本化的规则文件 -│ ├── business_logic_rules/ # 业务逻辑规则/断言模板 -│ │ └── well-id-format-rule/ -│ │ └── 1.0.0.json -│ ├── data_quality/ # 数据质量校验规则 -│ │ └── well-depth-range-check/ -│ │ └── 1.0.0.json -│ └── json_schemas/ # JSON Schema 文件 -│ └── well-data-schema/ -│ └── 1.0.0.json -│ -├── tests/ # 测试代码目录 -│ ├── __init__.py -│ ├── test_api_caller.py -│ ├── test_json_schema_validator.py -│ └── test_rule_repository.py -│ -├── README.md # 项目说明文件 -└── requirements.txt # Python 依赖库列表 -``` - -## 安装 - -1. 克隆仓库 -2. 创建并激活虚拟环境 (推荐): - ```bash - python -m venv venv - source venv/bin/activate # macOS/Linux - # venv\Scripts\activate # Windows - ``` -3. 安装依赖: - ```bash - pip install -r requirements.txt - ``` - -## 配置 - -编辑 `configs/config.yaml` (可以从 `configs/config.yaml.example` 复制开始)。这个配置文件包含了各个模块的设置,特别是规则库模块的配置,例如规则文件的存储路径等。 - -## 规则库 - -规则库是本系统的核心组件之一,它使用JSON文件格式存储各类规则,包括: - -- **JSON Schema 规则**: 用于验证API请求/响应的数据结构 -- **业务逻辑断言**: 定义业务规则和验证逻辑 -- **API Linting 规则**: 用于检查API设计是否符合规范 -- **数据质量规则**: 用于验证数据的质量和准确性 -- **Python 代码规则**: 使用 Python 代码实现复杂的验证逻辑 - -### 规则文件结构 - -规则文件按照类别和版本存储在 `rules/` 目录下。每个规则都有一个唯一的ID和版本号,使用以下目录结构: - -``` -rules/ - <规则类别>/ - <规则ID>/ - <版本号>.json -``` - -### 添加新规则 - -要添加新规则,只需在适当的目录下创建新的JSON文件并遵循规则模型的结构。每个规则必须包含`id`, `name`, `category`, `version`等基本字段,以及该类别特定的字段。 - -参考 `rules/` 目录下的示例规则文件以了解格式要求。 - -### Python 代码规则 - -Python 代码规则允许您使用 Python 代码编写复杂的验证逻辑,是一种非常灵活的规则类型。示例: - -```json -{ - "id": "complex-validation-rule", - "name": "复杂验证规则", - "description": "使用Python代码实现复杂的验证逻辑", - "category": "PythonCode", - "version": "1.0.0", - "severity": "error", - "is_enabled": true, - "tags": ["validation"], - "target_type": "DataObject", - "target_identifier": "Example", - "allow_imports": true, - "allowed_modules": ["math", "re", "json", "datetime"], - "code": "def validate():\n # In this location write validation logic\n return {'is_valid': True, 'message': '验证通过'}" -} -``` - -Python 代码规则的主要字段: - -- **code**: 包含 Python 代码的字符串 -- **code_file**: 外部Python代码文件的路径(作为code的替代选项) -- **entry_function**: 入口函数名(默认为 `validate`) -- **expected_parameters**: 规则执行时需要的参数列表 -- **allow_imports**: 是否允许导入外部模块 -- **allowed_modules**: 允许导入的模块列表 -- **timeout**: 代码执行超时时间(秒) - -出于安全考虑,Python 代码在受控环境中执行,对可访问的资源和操作进行限制。代码应定义一个与 `entry_function` 指定名称相同的函数,并在参数列表中包含 `expected_parameters` 中的所有参数。 - -#### 从外部文件加载Python代码 - -对于较长的复杂Python代码,可以将代码单独存储在外部文件中,而不是嵌入到JSON规则文件里。这样可以提高代码的可读性和维护性。方法如下: - -1. 创建具有 `code_file` 属性而非 `code` 属性的规则文件: - -```json -{ - "id": "well-coordinates-validation", - "name": "井坐标复杂验证规则", - "description": "验证井的坐标数据,包括检查是否在特定区域内、坐标系转换等", - "category": "PythonCode", - "version": "1.0.0", - "severity": "error", - "is_enabled": true, - "target_type": "DataObject", - "target_identifier": "Well", - "allow_imports": true, - "allowed_modules": ["math", "re", "json", "datetime"], - "entry_function": "validate", - "expected_parameters": ["well_data"], - "timeout": 5, - "code_file": "python_code/well-coordinates-validation/1.0.0.py" -} -``` - -2. 在对应的路径创建Python代码文件(相对于rules目录): - -```python -# 在 rules/python_code/well-coordinates-validation/1.0.0.py 文件中 -import math - -def validate(): - # 在这里编写复杂验证逻辑 - return {'is_valid': True, 'message': '验证通过'} -``` - -3. 系统会自动加载并执行外部Python文件中的代码: - - 如果规则中指定了`id`和`version`,系统会查找 `rules/python_code/{id}/{version}.py` - - 否则,系统会使用 `code_file` 属性中指定的相对路径 - -使用外部文件的主要优势: -- 更好的代码可读性和组织结构 -- 支持代码编辑器的语法高亮和自动完成 -- 便于版本控制和代码审查 -- 可以更轻松地处理复杂逻辑和较长的代码 - -## 运行 - -```bash -python -m ddms_compliance_suite.main -``` - -您也可以通过导入模块方式在其他Python代码中使用本软件的功能: - -```python -from ddms_compliance_suite.config.manager import ConfigurationManager -from ddms_compliance_suite.rule_repository.repository import RuleRepository - -# 加载配置 -config_manager = ConfigurationManager(config_path="path/to/config.yaml") -config = config_manager.get_config() - -# 初始化规则库 -rule_repo = RuleRepository(config.rule_repository) - -# 查询规则 -from ddms_compliance_suite.models.rule_models import RuleQuery, TargetType -query = RuleQuery(target_type=TargetType.API_RESPONSE, target_identifier="getWellData") -rules = rule_repo.query_rules(query) - -# 输出查询到的规则 -for rule in rules: - print(f"Rule: {rule.name} (ID: {rule.id}, Version: {rule.version})") \ No newline at end of file diff --git a/assets/doc/井筒API示例swagger_fixed_noref_processed.json b/assets/doc/井筒API示例swagger_fixed_noref_processed.json new file mode 100644 index 0000000..e208259 --- /dev/null +++ b/assets/doc/井筒API示例swagger_fixed_noref_processed.json @@ -0,0 +1,42210 @@ +{ + "swagger": "2.0", + "info": { + "title": "井筒DMS", + "version": "last" + }, + "basePath": "/", + "tags": [ + { + "name": "公共分类", + "description": "公共分类" + }, + { + "name": "地质单元", + "description": null + }, + { + "name": "钻井地质设计", + "description": null + }, + { + "name": "井筒生产层段", + "description": null + }, + { + "name": "压裂基础数据", + "description": null + }, + { + "name": "压裂施工参数", + "description": null + }, + { + "name": "射孔井段数据", + "description": null + }, + { + "name": "射孔数据", + "description": null + }, + { + "name": "管柱元件", + "description": null + }, + { + "name": "试油成果数据", + "description": null + }, + { + "name": "试油日报", + "description": null + }, + { + "name": "井泵注程序数据", + "description": null + }, + { + "name": "起下钻接单根数据", + "description": null + }, + { + "name": "油气显示统计表", + "description": null + }, + { + "name": "录井综合记录", + "description": null + }, + { + "name": "试油基础数据", + "description": null + }, + { + "name": "施工总结油管记录", + "description": null + }, + { + "name": "酸化压裂分层作业", + "description": null + }, + { + "name": "支撑剂数据", + "description": null + }, + { + "name": "地层测试", + "description": null + }, + { + "name": "水分析", + "description": null + }, + { + "name": "测温测压数据", + "description": null + }, + { + "name": "地层测试成果", + "description": null + }, + { + "name": "试油成果统计数据", + "description": null + }, + { + "name": "测温测压", + "description": null + }, + { + "name": "排液求产动态数据", + "description": null + }, + { + "name": "排液求产成果数据", + "description": null + }, + { + "name": "施工总结", + "description": null + }, + { + "name": "井下作业日报", + "description": null + }, + { + "name": "施工总结管理信息", + "description": null + }, + { + "name": "井壁取心统计", + "description": null + }, + { + "name": "岩心图像扫描记录", + "description": null + }, + { + "name": "气测迟到数据表", + "description": null + }, + { + "name": "残余碳分析记录", + "description": null + }, + { + "name": "井壁取心", + "description": null + }, + { + "name": "气测录井基础信息", + "description": null + }, + { + "name": "录井综合解释", + "description": null + }, + { + "name": "录井日报", + "description": null + }, + { + "name": "酸化基础数据", + "description": null + }, + { + "name": "岩屑描述记录", + "description": null + }, + { + "name": "录井解释成果表", + "description": null + }, + { + "name": "钻井取心筒次数据", + "description": null + }, + { + "name": "钻井取心描述记录", + "description": null + }, + { + "name": "气测解释成果", + "description": null + }, + { + "name": "取心描述", + "description": null + }, + { + "name": "钻井取心", + "description": null + }, + { + "name": "单井地质分层", + "description": null + }, + { + "name": "地质分层数据", + "description": null + }, + { + "name": "井基本信息", + "description": null + }, + { + "name": "井作业阶段", + "description": null + }, + { + "name": "组织机构", + "description": null + }, + { + "name": "小层分层数据", + "description": null + }, + { + "name": "高压物性取样", + "description": null + }, + { + "name": "储集岩热解解释成果数据", + "description": null + }, + { + "name": "井筒基本信息", + "description": null + }, + { + "name": "高压物性分析", + "description": null + } + ], + "schemes": [ + "http" + ], + "paths": { + "/api/dms/{dms_instance_code}/v1/message/push/{schema}/{version}": { + "post": { + "tags": [ + "公共分类" + ], + "summary": "数据推送接口", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "schema", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}": { + "post": { + "tags": [ + "地质单元" + ], + "summary": "地质单元列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/cd_geo_unit": { + "put": { + "tags": [ + "地质单元" + ], + "summary": "地质单元数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "地质单元" + ], + "summary": "地质单元数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "地质单元" + ], + "summary": "地质单元数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}/{id}": { + "get": { + "tags": [ + "地质单元" + ], + "summary": "地质单元查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dr_de_geology/{version}": { + "post": { + "tags": [ + "钻井地质设计" + ], + "summary": "钻井地质设计列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dr_de_geology": { + "put": { + "tags": [ + "钻井地质设计" + ], + "summary": "钻井地质设计数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "钻井地质设计" + ], + "summary": "钻井地质设计数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "钻井地质设计" + ], + "summary": "钻井地质设计数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dr_de_geology/{version}/{id}": { + "get": { + "tags": [ + "钻井地质设计" + ], + "summary": "钻井地质设计查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/cd_completion/{version}": { + "post": { + "tags": [ + "井筒生产层段" + ], + "summary": "井筒生产层段列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/cd_completion": { + "put": { + "tags": [ + "井筒生产层段" + ], + "summary": "井筒生产层段数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "井筒生产层段" + ], + "summary": "井筒生产层段数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "井筒生产层段" + ], + "summary": "井筒生产层段数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/cd_completion/{version}/{id}": { + "get": { + "tags": [ + "井筒生产层段" + ], + "summary": "井筒生产层段查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/fr_dh_bas_frac_incr_stim": { + "put": { + "tags": [ + "压裂基础数据" + ], + "summary": "压裂基础数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "压裂基础数据" + ], + "summary": "压裂基础数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "压裂基础数据" + ], + "summary": "压裂基础数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/fr_dh_bas_frac_incr_stim/{version}": { + "post": { + "tags": [ + "压裂基础数据" + ], + "summary": "压裂基础数据列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/fr_dh_bas_frac_incr_stim/{version}/{id}": { + "get": { + "tags": [ + "压裂基础数据" + ], + "summary": "压裂基础数据查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/fr_dh_ach_frac_build_data/{version}": { + "post": { + "tags": [ + "压裂施工参数" + ], + "summary": "压裂施工参数列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/fr_dh_ach_frac_build_data": { + "put": { + "tags": [ + "压裂施工参数" + ], + "summary": "压裂施工参数数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "压裂施工参数" + ], + "summary": "压裂施工参数数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "压裂施工参数" + ], + "summary": "压裂施工参数数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/fr_dh_ach_frac_build_data/{version}/{id}": { + "get": { + "tags": [ + "压裂施工参数" + ], + "summary": "压裂施工参数查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_ach_perf_interval/{version}": { + "post": { + "tags": [ + "射孔井段数据" + ], + "summary": "射孔井段数据列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "isUnderlineCase": { + "default": true, + "description": "查询时,字段、排序、查询条件传入的字段是否将驼峰改为下划线,如:HelloWorld=》hello_world", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_ach_perf_interval": { + "put": { + "tags": [ + "射孔井段数据" + ], + "summary": "射孔井段数据数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "射孔井段数据" + ], + "summary": "射孔井段数据数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "射孔井段数据" + ], + "summary": "射孔井段数据数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_ach_perf_interval/{version}/{id}": { + "get": { + "tags": [ + "射孔井段数据" + ], + "summary": "射孔井段数据查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_ach_perforate": { + "post": { + "tags": [ + "射孔数据" + ], + "summary": "射孔井段数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "put": { + "tags": [ + "射孔数据" + ], + "summary": "射孔数据数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "射孔数据" + ], + "summary": "射孔数据数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_ach_perforate/{version}": { + "post": { + "tags": [ + "射孔数据" + ], + "summary": "射孔数据列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": " 交换模型版本 ", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_ach_perforate/{version}/{id}": { + "get": { + "tags": [ + "射孔数据" + ], + "summary": "射孔数据查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_ops_string_list/{version}": { + "post": { + "tags": [ + "管柱元件" + ], + "summary": "管柱元件列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": " 交换模型版本 ", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_ops_string_list/{version}/{id}": { + "get": { + "tags": [ + "管柱元件" + ], + "summary": "管柱元件查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_ops_string_list": { + "delete": { + "tags": [ + "管柱元件" + ], + "summary": "管柱元件数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "put": { + "tags": [ + "管柱元件" + ], + "summary": "管柱元件数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "管柱元件" + ], + "summary": "管柱元件数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ach_test/{version}": { + "post": { + "tags": [ + "试油成果数据" + ], + "summary": "试油成果数据列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": " 交换模型版本 ", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ach_test/{version}/{id}": { + "get": { + "tags": [ + "试油成果数据" + ], + "summary": "试油成果数据查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ach_test": { + "post": { + "tags": [ + "试油成果数据" + ], + "summary": "试油成果数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "试油成果数据" + ], + "summary": "试油成果数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "put": { + "tags": [ + "试油成果数据" + ], + "summary": "试油成果数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_ops_test_daily/{version}": { + "post": { + "tags": [ + "试油日报" + ], + "summary": "试油日报列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": " 交换模型版本 ", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_ops_test_daily": { + "put": { + "tags": [ + "试油日报" + ], + "summary": "试油日报数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "试油日报" + ], + "summary": "试油日报数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "试油日报" + ], + "summary": "试油日报数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_ops_test_daily/{version}/{id}": { + "get": { + "tags": [ + "试油日报" + ], + "summary": "试油日报查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_ops_stage_pump_inject/{version}": { + "post": { + "tags": [ + "井泵注程序数据" + ], + "summary": "井泵注程序数据列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_ops_stage_pump_inject/{version}/{id}": { + "get": { + "tags": [ + "井泵注程序数据" + ], + "summary": "井泵注程序数据查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_ops_stage_pump_inject": { + "delete": { + "tags": [ + "井泵注程序数据" + ], + "summary": "井泵注程序数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "put": { + "tags": [ + "井泵注程序数据" + ], + "summary": "井泵注程序数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "井泵注程序数据" + ], + "summary": "井泵注程序数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_trip_connect_data": { + "put": { + "tags": [ + "起下钻接单根数据" + ], + "summary": "起下钻接单根数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "起下钻接单根数据" + ], + "summary": "起下钻接单根数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "起下钻接单根数据" + ], + "summary": "起下钻接单根数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_trip_connect_data/{version}": { + "post": { + "tags": [ + "起下钻接单根数据" + ], + "summary": "起下钻接单根数据列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_trip_connect_data/{version}/{id}": { + "get": { + "tags": [ + "起下钻接单根数据" + ], + "summary": "起下钻接单根查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_rpt_show_stat/{version}": { + "post": { + "tags": [ + "油气显示统计表" + ], + "summary": "油气显示统计表列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_rpt_show_stat": { + "put": { + "tags": [ + "油气显示统计表" + ], + "summary": "油气显示统计表数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "油气显示统计表" + ], + "summary": "油气显示统计表数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "油气显示统计表" + ], + "summary": "油气显示统计表数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_rpt_show_stat/{version}/{id}": { + "get": { + "tags": [ + "油气显示统计表" + ], + "summary": "油气显示统计表查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_logging_comp_record": { + "post": { + "tags": [ + "录井综合记录" + ], + "summary": "录井综合记录数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "put": { + "tags": [ + "录井综合记录" + ], + "summary": "录井综合记录数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "录井综合记录" + ], + "summary": "录井综合记录数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_logging_comp_record/{version}/{id}": { + "get": { + "tags": [ + "录井综合记录" + ], + "summary": "录井综合记录查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_logging_comp_record/{version}": { + "post": { + "tags": [ + "录井综合记录" + ], + "summary": "录井综合记录列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_bas_test/{version}": { + "post": { + "tags": [ + "试油基础数据" + ], + "summary": "试油基础数据列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_bas_test/{version}/{id}": { + "get": { + "tags": [ + "试油基础数据" + ], + "summary": "试油基础数据查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_bas_test": { + "post": { + "tags": [ + "试油基础数据" + ], + "summary": "试油基础数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "试油基础数据" + ], + "summary": "试油基础数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "put": { + "tags": [ + "试油基础数据" + ], + "summary": "试油基础数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/query/dh_con_sum_oil_tube/{version}": { + "post": { + "tags": [ + "施工总结油管记录" + ], + "summary": "施工总结油管记录列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_con_sum_oil_tube": { + "put": { + "tags": [ + "施工总结油管记录" + ], + "summary": "施工总结油管记录数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "施工总结油管记录" + ], + "summary": "施工总结油管记录数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "施工总结油管记录" + ], + "summary": "施工总结油管记录数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_con_sum_oil_tube/{version}/{id}": { + "get": { + "tags": [ + "施工总结油管记录" + ], + "summary": "施工总结油管记录查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/query/dh_bas_layering_job/{version}": { + "post": { + "tags": [ + "酸化压裂分层作业" + ], + "summary": "酸化压裂分层作业列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_bas_layering_job": { + "put": { + "tags": [ + "酸化压裂分层作业" + ], + "summary": "酸化压裂分层作业数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "酸化压裂分层作业" + ], + "summary": "酸化压裂分层作业数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "酸化压裂分层作业" + ], + "summary": "酸化压裂分层作业数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_bas_layering_job/{version}/{id}": { + "get": { + "tags": [ + "酸化压裂分层作业" + ], + "summary": "酸化压裂分层作业查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_ach_proppant_data/{version}": { + "post": { + "tags": [ + "支撑剂数据" + ], + "summary": "支撑剂数据列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_ach_proppant_data": { + "put": { + "tags": [ + "支撑剂数据" + ], + "summary": "支撑剂数据数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "支撑剂数据" + ], + "summary": "支撑剂数据数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "支撑剂数据" + ], + "summary": "支撑剂数据数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_ach_proppant_data/{version}/{id}": { + "get": { + "tags": [ + "支撑剂数据" + ], + "summary": "支撑剂数据查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ach_dst/{version}": { + "post": { + "tags": [ + "地层测试" + ], + "summary": "地层测试列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ach_dst": { + "put": { + "tags": [ + "地层测试" + ], + "summary": "地层测试数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "地层测试" + ], + "summary": "地层测试数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "地层测试" + ], + "summary": "地层测试数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ach_dst/{version}/{id}": { + "get": { + "tags": [ + "地层测试" + ], + "summary": "地层测试查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ach_test_water/{version}": { + "post": { + "tags": [ + "水分析" + ], + "summary": "水分析列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ach_test_water": { + "put": { + "tags": [ + "水分析" + ], + "summary": "水分析数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "水分析" + ], + "summary": "水分析数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "水分析" + ], + "summary": "水分析数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ach_test_water/{version}/{id}": { + "get": { + "tags": [ + "水分析" + ], + "summary": "水分析查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ach_pres_temp_data/{version}": { + "post": { + "tags": [ + "测温测压数据" + ], + "summary": "测温测压数据列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ach_pres_temp_data": { + "put": { + "tags": [ + "测温测压数据" + ], + "summary": "测温测压数据数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "测温测压数据" + ], + "summary": "测温测压数据数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "测温测压数据" + ], + "summary": "测温测压数据数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ach_pres_temp_data/{version}/{id}": { + "get": { + "tags": [ + "测温测压数据" + ], + "summary": "测温测压数据查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ach_farmation_test/{version}": { + "post": { + "tags": [ + "地层测试成果" + ], + "summary": "地层测试成果列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ach_farmation_test": { + "post": { + "tags": [ + "地层测试成果" + ], + "summary": "地层测试成果数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "地层测试成果" + ], + "summary": "地层测试成果数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "put": { + "tags": [ + "地层测试成果" + ], + "summary": "地层测试成果数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ach_farmation_test/{version}/{id}": { + "get": { + "tags": [ + "地层测试成果" + ], + "summary": "地层测试成果查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ach_test_base_data/{version}": { + "post": { + "tags": [ + "试油成果统计数据" + ], + "summary": "试油成果统计数据列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ach_test_base_data": { + "put": { + "tags": [ + "试油成果统计数据" + ], + "summary": "试油成果统计数据数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "试油成果统计数据" + ], + "summary": "试油成果统计数据数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "试油成果统计数据" + ], + "summary": "试油成果统计数据数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ach_test_base_data/{version}/{id}": { + "get": { + "tags": [ + "试油成果统计数据" + ], + "summary": "试油成果统计数据查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ach_pres_temp/{version}": { + "post": { + "tags": [ + "测温测压" + ], + "summary": "测温测压列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ach_pres_temp": { + "put": { + "tags": [ + "测温测压" + ], + "summary": "测温测压数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "测温测压" + ], + "summary": "测温测压数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "测温测压" + ], + "summary": "测温测压数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ach_pres_temp/{version}/{id}": { + "get": { + "tags": [ + "测温测压" + ], + "summary": "测温测压查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ops_cleanup_prod_dyn_dat/{version}": { + "post": { + "tags": [ + "排液求产动态数据" + ], + "summary": "排液求产动态数据列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ops_cleanup_prod_dyn_dat/{version}/{id}": { + "get": { + "tags": [ + "排液求产动态数据" + ], + "summary": "排液求产动态数据查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ops_cleanup_prod_dyn_dat": { + "post": { + "tags": [ + "排液求产动态数据" + ], + "summary": "排液求产动态数据数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "排液求产动态数据" + ], + "summary": "排液求产动态数据数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "put": { + "tags": [ + "排液求产动态数据" + ], + "summary": "排液求产动态数据数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ops_cleanup_prod_res_dat/{version}": { + "post": { + "tags": [ + "排液求产成果数据" + ], + "summary": "排液求产成果数据列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ops_cleanup_prod_res_dat": { + "post": { + "tags": [ + "排液求产成果数据" + ], + "summary": "排液求产成果数据数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "put": { + "tags": [ + "排液求产成果数据" + ], + "summary": "排液求产成果数据数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "排液求产成果数据" + ], + "summary": "排液求产成果数据数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ops_cleanup_prod_res_dat/{version}/{id}": { + "get": { + "tags": [ + "排液求产成果数据" + ], + "summary": "排液求产成果数据查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_construction_summary/{version}": { + "post": { + "tags": [ + "施工总结" + ], + "summary": "施工总结列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_construction_summary": { + "put": { + "tags": [ + "施工总结" + ], + "summary": "施工总结数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "施工总结" + ], + "summary": "施工总结数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "施工总结" + ], + "summary": "施工总结数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_construction_summary/{version}/{id}": { + "get": { + "tags": [ + "施工总结" + ], + "summary": "施工总结查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_ops_job_daily/{version}": { + "post": { + "tags": [ + "井下作业日报" + ], + "summary": "井下作业日报列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_ops_job_daily": { + "put": { + "tags": [ + "井下作业日报" + ], + "summary": "井下作业日报数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "井下作业日报" + ], + "summary": "井下作业日报数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "井下作业日报" + ], + "summary": "井下作业日报数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_ops_job_daily/{version}/{id}": { + "get": { + "tags": [ + "井下作业日报" + ], + "summary": "井下作业日报查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_con_sum_management_info/{version}": { + "post": { + "tags": [ + "施工总结管理信息" + ], + "summary": "施工总结管理信息列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_con_sum_management_info": { + "put": { + "tags": [ + "施工总结管理信息" + ], + "summary": "施工总结管理信息数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "施工总结管理信息" + ], + "summary": "施工总结管理信息数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "施工总结管理信息" + ], + "summary": "施工总结管理信息数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_con_sum_management_info/{version}/{id}": { + "get": { + "tags": [ + "施工总结管理信息" + ], + "summary": "施工总结管理信息查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_rpt_sidewall_core_stat/{version}": { + "post": { + "tags": [ + "井壁取心统计" + ], + "summary": "井壁取心统计列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_rpt_sidewall_core_stat": { + "put": { + "tags": [ + "井壁取心统计" + ], + "summary": "井壁取心统计数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "井壁取心统计" + ], + "summary": "井壁取心统计数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "井壁取心统计" + ], + "summary": "井壁取心统计数据添加 ", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_rpt_sidewall_core_stat/{version}/{id}": { + "get": { + "tags": [ + "井壁取心统计" + ], + "summary": "井壁取心统计查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_core_scan/{version}": { + "post": { + "tags": [ + "岩心图像扫描记录" + ], + "summary": "岩心图像扫描记录列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_core_scan": { + "put": { + "tags": [ + "岩心图像扫描记录" + ], + "summary": "岩心图像扫描记录数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "岩心图像扫描记录" + ], + "summary": "岩心图像扫描记录数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "岩心图像扫描记录" + ], + "summary": "岩心图像扫描记录数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_core_scan/{version}/{id}": { + "get": { + "tags": [ + "岩心图像扫描记录" + ], + "summary": "岩心图像扫描记录查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_gas_data/{version}": { + "post": { + "tags": [ + "气测迟到数据表" + ], + "summary": "气测迟到数据表列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_gas_data": { + "put": { + "tags": [ + "气测迟到数据表" + ], + "summary": "气测迟到数据表数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "气测迟到数据表" + ], + "summary": "气测迟到数据表数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "气测迟到数据表" + ], + "summary": "气测迟到数据表数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_gas_data/{version}/{id}": { + "get": { + "tags": [ + "气测迟到数据表" + ], + "summary": "气测迟到数据表查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_residual_carbon": { + "post": { + "tags": [ + "残余碳分析记录" + ], + "summary": "残余碳分析记录数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "put": { + "tags": [ + "残余碳分析记录" + ], + "summary": "残余碳分析记录数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "残余碳分析记录" + ], + "summary": "残余碳分析记录数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_residual_carbon/{version}/{id}": { + "get": { + "tags": [ + "残余碳分析记录" + ], + "summary": "残余碳分析记录查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_residual_carbon/{version}": { + "post": { + "tags": [ + "残余碳分析记录" + ], + "summary": "残余碳分析记录列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_sidewall_core/{version}": { + "post": { + "tags": [ + "井壁取心" + ], + "summary": "井壁取心列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_sidewall_core": { + "delete": { + "tags": [ + "井壁取心" + ], + "summary": "井壁取心数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "put": { + "tags": [ + "井壁取心" + ], + "summary": "井壁取心数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "井壁取心" + ], + "summary": "井壁取心数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_sidewall_core/{version}/{id}": { + "get": { + "tags": [ + "井壁取心" + ], + "summary": "井壁取心查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_bas_gas": { + "delete": { + "tags": [ + "气测录井基础信息" + ], + "summary": "气测录井基础信息数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "put": { + "tags": [ + "气测录井基础信息" + ], + "summary": "气测录井基础信息数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "气测录井基础信息" + ], + "summary": "气测录井基础信息数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_bas_gas/{version}": { + "post": { + "tags": [ + "气测录井基础信息" + ], + "summary": "气测录井基础信息列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_bas_gas/{version}/{id}": { + "get": { + "tags": [ + "气测录井基础信息" + ], + "summary": "气测录井基础信息查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_bas_mud_logging_interp/{version}/{id}": { + "get": { + "tags": [ + "录井综合解释" + ], + "summary": "录井综合解释查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_bas_mud_logging_interp": { + "post": { + "tags": [ + "录井综合解释" + ], + "summary": "录井综合解释数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "put": { + "tags": [ + "录井综合解释" + ], + "summary": "录井综合解释数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "录井综合解释" + ], + "summary": "录井综合解释数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_bas_mud_logging_interp/{version}": { + "post": { + "tags": [ + "录井综合解释" + ], + "summary": "录井综合解释列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_rpt_logging_daily/{version}": { + "post": { + "tags": [ + "录井日报" + ], + "summary": "录井日报列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_rpt_logging_daily": { + "put": { + "tags": [ + "录井日报" + ], + "summary": "录井日报数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "录井日报" + ], + "summary": "录井日报数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "录井日报" + ], + "summary": "录井日报数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_rpt_logging_daily/{version}/{id}": { + "get": { + "tags": [ + "录井日报" + ], + "summary": "录井日报查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_bas_acid_incr_stim/{version}": { + "post": { + "tags": [ + "酸化基础数据" + ], + "summary": "酸化基础数据列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_bas_acid_incr_stim": { + "put": { + "tags": [ + "酸化基础数据" + ], + "summary": "酸化基础数据数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "酸化基础数据" + ], + "summary": "酸化基础数据数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "酸化基础数据" + ], + "summary": "酸化基础数据数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/dh_bas_acid_incr_stim/{version}/{id}": { + "get": { + "tags": [ + "酸化基础数据" + ], + "summary": "酸化基础数据查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_cuttings/{version}": { + "post": { + "tags": [ + "岩屑描述记录" + ], + "summary": "岩屑描述记录列表查询 ", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_cuttings": { + "put": { + "tags": [ + "岩屑描述记录" + ], + "summary": "岩屑描述记录数据修改 ", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "岩屑描述记录" + ], + "summary": "岩屑描述记录数据删除 ", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "岩屑描述记录" + ], + "summary": "岩屑描述记录数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_cuttings/{version}/{id}": { + "get": { + "tags": [ + "岩屑描述记录" + ], + "summary": "岩屑描述记录查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_mud_logging_interp/{version}": { + "post": { + "tags": [ + "录井解释成果表" + ], + "summary": "录井解释成果表列表查询 ", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_mud_logging_interp": { + "put": { + "tags": [ + "录井解释成果表" + ], + "summary": "录井解释成果表数据修改 ", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "录井解释成果表" + ], + "summary": "录井解释成果表数据删除 ", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "录井解释成果表" + ], + "summary": "录井解释成果表数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_mud_logging_interp/{version}/{id}": { + "get": { + "tags": [ + "录井解释成果表" + ], + "summary": "录井解释成果表查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_core/{version}/{id}": { + "get": { + "tags": [ + "钻井取心筒次数据" + ], + "summary": "钻井取心筒次数据查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_core": { + "delete": { + "tags": [ + "钻井取心筒次数据" + ], + "summary": "钻井取心筒次数据删除 ", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "put": { + "tags": [ + "钻井取心筒次数据" + ], + "summary": "钻井取心筒次数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "钻井取心筒次数据" + ], + "summary": "钻井取心筒次数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_core/{version}": { + "post": { + "tags": [ + "钻井取心筒次数据" + ], + "summary": "钻井取心筒次数据列表查询 ", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_core_desc/{version}": { + "post": { + "tags": [ + "钻井取心描述记录" + ], + "summary": "钻井取心描述记录列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_core_desc": { + "put": { + "tags": [ + "钻井取心描述记录" + ], + "summary": "钻井取心描述记录数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "array", + "items": { + "type": "object", + "properties": { + "dataRegion": { + "type": "string", + "title": "示例字段" + }, + "dataGroup": { + "type": "string", + "title": "示例字段" + } + }, + "required": [ + "dataRegion", + "dataGroup" + ], + "title": "数据库表待修改单条数据" + }, + "title": "数据库表待修改数据集" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "钻井取心描述记录" + ], + "summary": "钻井取心描述记录数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "description": "要执行逻辑删除数据的主键id集合", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "array", + "items": { + "type": "string", + "title": "主键id", + "description": "要执行逻辑删除数据的主键id" + }, + "title": "主键id集合", + "description": "要执行逻辑删除数据的主键id集合" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "钻井取心描述记录" + ], + "summary": "钻井取心描述记录数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "description": "默认为1", + "title": "数据库表必填字段" + }, + "dataGroup": { + "type": "string", + "description": "非空约束", + "title": "数据库表必填字段" + }, + "dataRegion": { + "type": "string", + "description": "非空约束", + "title": "数据库表必填字段" + } + }, + "required": [ + "bsflag", + "dataGroup", + "dataRegion" + ], + "title": "数据库表待添加单条数据" + }, + "title": "数据库表待添加数据集" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_core_desc/{version}/{id}": { + "get": { + "tags": [ + "钻井取心描述记录" + ], + "summary": "钻井取心描述记录查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_gas_interp/{version}": { + "post": { + "tags": [ + "气测解释成果" + ], + "summary": "气测解释成果列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "isUnderlineCase": { + "default": true, + "description": "查询时,字段、排序、查询条件传入的字段是否将驼峰改为下划线,如:HelloWorld=》hello_world", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_gas_interp": { + "put": { + "tags": [ + "气测解释成果" + ], + "summary": "气测解释成果数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "气测解释成果" + ], + "summary": "气测解释成果数据删除 ", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "气测解释成果" + ], + "summary": "气测解释成果数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_gas_interp/{version}/{id}": { + "get": { + "tags": [ + "气测解释成果" + ], + "summary": "气测解释成果查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_sidewall_core_desc/{version}": { + "post": { + "tags": [ + "取心描述" + ], + "summary": "取心描述列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_sidewall_core_desc": { + "put": { + "tags": [ + "取心描述" + ], + "summary": "取心描述数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "取心描述" + ], + "summary": "取心描述数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "取心描述" + ], + "summary": "取心描述数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_sidewall_core_desc/{version}/{id}": { + "get": { + "tags": [ + "取心描述" + ], + "summary": "取心描述查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_bas_sealing_core/{version}": { + "post": { + "tags": [ + "钻井取心" + ], + "summary": "钻井取心列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_bas_sealing_core": { + "put": { + "tags": [ + "钻井取心" + ], + "summary": "钻井取心数据修改 ", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "钻井取心" + ], + "summary": "钻井取心数据删除 ", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "钻井取心" + ], + "summary": "钻井取心数据添加 ", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_bas_sealing_core/{version}/{id}": { + "get": { + "tags": [ + "钻井取心" + ], + "summary": "钻井取心查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_bas_well_zonation_scheme/{version}": { + "post": { + "tags": [ + "单井地质分层" + ], + "summary": "单井地质分层列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_bas_well_zonation_scheme": { + "put": { + "tags": [ + "单井地质分层" + ], + "summary": "单井地质分层数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "单井地质分层" + ], + "summary": "单井地质分层数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "单井地质分层" + ], + "summary": "单井地质分层数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_bas_well_zonation_scheme/{version}/{id}": { + "get": { + "tags": [ + "单井地质分层" + ], + "summary": "单井地质分层查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_bas_wellbore_stratum": { + "put": { + "tags": [ + "地质分层数据" + ], + "summary": "地质分层数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "地质分层数据" + ], + "summary": "地质分层数据删除 ", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "地质分层数据" + ], + "summary": "地质分层数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_bas_wellbore_stratum/{version}": { + "post": { + "tags": [ + "地质分层数据" + ], + "summary": "地质分层数据列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_bas_wellbore_stratum/{version}/{id}": { + "get": { + "tags": [ + "地质分层数据" + ], + "summary": "地质分层数据查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/cd_well/{version}": { + "post": { + "tags": [ + "井基本信息" + ], + "summary": "井基本信息列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/cd_well": { + "put": { + "tags": [ + "井基本信息" + ], + "summary": "井基本信息数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "井基本信息" + ], + "summary": "井基本信息数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "井基本信息" + ], + "summary": "井基本信息数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/cd_well/{version}/{id}": { + "get": { + "tags": [ + "井基本信息" + ], + "summary": "井基本信息查询详情-dsid", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/masterdata/cd_well/{version}/{id}": { + "get": { + "tags": [ + "井基本信息" + ], + "summary": "基本信息查询详情-井ID", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": {} + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/naturalkey/cd_well/{version}": { + "post": { + "tags": [ + "井基本信息" + ], + "summary": "通过业务主键获取数据详情", + "description": "", + "consumes": [ + "text/plain" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "raw", + "in": "body", + "description": "raw paramter", + "schema": { + "type": "string", + "format": "binary", + "default": "{\n \"wellId\": \"WELLHB100261563\"\n}" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": {} + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/cd_event/{version}": { + "post": { + "tags": [ + "井作业阶段" + ], + "summary": "井作业阶段信息列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/cd_event/{version}/{id}": { + "get": { + "tags": [ + "井作业阶段" + ], + "summary": "井作业阶段查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/cd_event": { + "delete": { + "tags": [ + "井作业阶段" + ], + "summary": "井作业阶段数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "put": { + "tags": [ + "井作业阶段" + ], + "summary": "井作业阶段数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "井作业阶段" + ], + "summary": "井作业阶段数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/cd_organization": { + "post": { + "tags": [ + "组织机构" + ], + "summary": "组织机构数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "put": { + "tags": [ + "组织机构" + ], + "summary": "组织机构数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "组织机构" + ], + "summary": "组织机构数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/cd_organization/{version}/{id}": { + "get": { + "tags": [ + "组织机构" + ], + "summary": "组织机构查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/cd_organization/{version}": { + "post": { + "tags": [ + "组织机构" + ], + "summary": "组织机构信息列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/cd_wellbore_zone/{version}": { + "post": { + "tags": [ + "小层分层数据" + ], + "summary": "小层分层数据列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/cd_wellbore_zone/{version}/{id}": { + "get": { + "tags": [ + "小层分层数据" + ], + "summary": "小层分层数据查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/{dms_instance_code}/v1/cd_wellbore_zone": { + "post": { + "tags": [ + "小层分层数据" + ], + "summary": "小层分层数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "dsid", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "put": { + "tags": [ + "小层分层数据" + ], + "summary": "小层分层数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "dsid", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "小层分层数据" + ], + "summary": "小层分层数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ops_hp_mat_smpl/{version}": { + "post": { + "tags": [ + "高压物性取样" + ], + "summary": "高压物性取样列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/{dms_instance_code}/v1/tp_ops_hp_mat_smpl": { + "put": { + "tags": [ + "高压物性取样" + ], + "summary": "高压物性取样数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "dsid", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "高压物性取样" + ], + "summary": "高压物性取样数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "高压物性取样" + ], + "summary": "高压物性取样数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "dsid", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ops_hp_mat_smpl/{version}/{id}": { + "get": { + "tags": [ + "高压物性取样" + ], + "summary": "高压物性取样查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_res_pyro_interp/{version}": { + "post": { + "tags": [ + "储集岩热解解释成果数据" + ], + "summary": "储集岩热解解释成果数据列表查询 ", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_res_pyro_interp": { + "put": { + "tags": [ + "储集岩热解解释成果数据" + ], + "summary": "储集岩热解解释成果数据数据修改 ", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "储集岩热解解释成果数据" + ], + "summary": "储集岩热解解释成果数据数据删除 ", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "储集岩热解解释成果数据" + ], + "summary": "储集岩热解解释成果数据数据添加 ", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/ml_ach_res_pyro_interp/{version}/{id}": { + "get": { + "tags": [ + "储集岩热解解释成果数据" + ], + "summary": "储集岩热解解释成果数据查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/cd_wellbore/{version}": { + "post": { + "tags": [ + "井筒基本信息" + ], + "summary": "井筒基本信息列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/cd_wellbore": { + "put": { + "tags": [ + "井筒基本信息" + ], + "summary": "井筒基本信息数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "井筒基本信息" + ], + "summary": "井筒基本信息数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "井筒基本信息" + ], + "summary": "井筒基本信息数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/cd_wellbore/{version}/{id}": { + "get": { + "tags": [ + "井筒基本信息" + ], + "summary": "井筒基本信息查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ach_hp_mat/{version}": { + "post": { + "tags": [ + "高压物性分析" + ], + "summary": "高压物性分析列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/{dms_instance_code}/v1/tp_ach_hp_mat": { + "put": { + "tags": [ + "高压物性分析" + ], + "summary": "高压物性分析数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "dsid", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "高压物性分析" + ], + "summary": "高压物性分析数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "field_1": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "交换模型数据集" + } + }, + "required": [ + "field_1" + ] + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "高压物性分析" + ], + "summary": "高压物性分析数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "dsid", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/tp_ach_hp_mat/{version}/{id}": { + "get": { + "tags": [ + "高压物性分析" + ], + "summary": "高压物性分析查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } +} \ No newline at end of file diff --git a/assets/doc/井筒API示例swagger_fixed_simple_noref_processed.json b/assets/doc/井筒API示例swagger_fixed_simple_noref_processed.json new file mode 100644 index 0000000..ded7f6a --- /dev/null +++ b/assets/doc/井筒API示例swagger_fixed_simple_noref_processed.json @@ -0,0 +1,1225 @@ +{ + "swagger": "2.0", + "info": { + "title": "井筒DMS", + "version": "last" + }, + "basePath": "/", + "tags": [ + { + "name": "公共分类", + "description": "公共分类" + }, + { + "name": "地质单元", + "description": null + }, + { + "name": "钻井地质设计", + "description": null + }, + { + "name": "井筒生产层段", + "description": null + }, + { + "name": "压裂基础数据", + "description": null + }, + { + "name": "压裂施工参数", + "description": null + }, + { + "name": "射孔井段数据", + "description": null + }, + { + "name": "射孔数据", + "description": null + }, + { + "name": "管柱元件", + "description": null + }, + { + "name": "试油成果数据", + "description": null + }, + { + "name": "试油日报", + "description": null + }, + { + "name": "井泵注程序数据", + "description": null + }, + { + "name": "起下钻接单根数据", + "description": null + }, + { + "name": "油气显示统计表", + "description": null + }, + { + "name": "录井综合记录", + "description": null + }, + { + "name": "试油基础数据", + "description": null + }, + { + "name": "施工总结油管记录", + "description": null + }, + { + "name": "酸化压裂分层作业", + "description": null + }, + { + "name": "支撑剂数据", + "description": null + }, + { + "name": "地层测试", + "description": null + }, + { + "name": "水分析", + "description": null + }, + { + "name": "测温测压数据", + "description": null + }, + { + "name": "地层测试成果", + "description": null + }, + { + "name": "试油成果统计数据", + "description": null + }, + { + "name": "测温测压", + "description": null + }, + { + "name": "排液求产动态数据", + "description": null + }, + { + "name": "排液求产成果数据", + "description": null + }, + { + "name": "施工总结", + "description": null + }, + { + "name": "井下作业日报", + "description": null + }, + { + "name": "施工总结管理信息", + "description": null + }, + { + "name": "井壁取心统计", + "description": null + }, + { + "name": "岩心图像扫描记录", + "description": null + }, + { + "name": "气测迟到数据表", + "description": null + }, + { + "name": "残余碳分析记录", + "description": null + }, + { + "name": "井壁取心", + "description": null + }, + { + "name": "气测录井基础信息", + "description": null + }, + { + "name": "录井综合解释", + "description": null + }, + { + "name": "录井日报", + "description": null + }, + { + "name": "酸化基础数据", + "description": null + }, + { + "name": "岩屑描述记录", + "description": null + }, + { + "name": "录井解释成果表", + "description": null + }, + { + "name": "钻井取心筒次数据", + "description": null + }, + { + "name": "钻井取心描述记录", + "description": null + }, + { + "name": "气测解释成果", + "description": null + }, + { + "name": "取心描述", + "description": null + }, + { + "name": "钻井取心", + "description": null + }, + { + "name": "单井地质分层", + "description": null + }, + { + "name": "地质分层数据", + "description": null + }, + { + "name": "井基本信息", + "description": null + }, + { + "name": "井作业阶段", + "description": null + }, + { + "name": "组织机构", + "description": null + }, + { + "name": "小层分层数据", + "description": null + }, + { + "name": "高压物性取样", + "description": null + }, + { + "name": "储集岩热解解释成果数据", + "description": null + }, + { + "name": "井筒基本信息", + "description": null + }, + { + "name": "高压物性分析", + "description": null + } + ], + "schemes": [ + "http" + ], + "paths": { + "/api/dms/{dms_instance_code}/v1/message/push/{schema}/{version}": { + "post": { + "tags": [ + "公共分类" + ], + "summary": "数据推送接口", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "schema", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}": { + "post": { + "tags": [ + "地质单元" + ], + "summary": "地质单元列表查询", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "pageNo", + "in": "query", + "required": false, + "description": "页码(从1开始)", + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "required": false, + "description": "分页大小(最大值200)", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/cd_geo_unit": { + "put": { + "tags": [ + "地质单元" + ], + "summary": "地质单元数据修改", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "地质单元" + ], + "summary": "地质单元数据删除", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "description": "主键id的key", + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "版本号" + }, + "data": { + "type": "array", + "items": { + "type": "string" + }, + "title": "主键id数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "post": { + "tags": [ + "地质单元" + ], + "summary": "地质单元数据添加", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "version": { + "type": "string", + "title": "交换模型版本号" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "bsflag": { + "type": "number", + "title": "必填字段删除标记" + }, + "wellCommonName": { + "type": "string" + }, + "wellId": { + "type": "string" + }, + "dataRegion": { + "type": "string" + } + }, + "required": [ + "bsflag", + "wellCommonName", + "wellId", + "dataRegion" + ] + }, + "title": "交换模型数据集" + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "/api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}/{id}": { + "get": { + "tags": [ + "地质单元" + ], + "summary": "地质单元查询详情", + "description": "", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "name": "tenant-id", + "in": "header", + "description": "tenant-id (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "Authorization", + "in": "header", + "description": "Authorization (Only:undefined)", + "required": true, + "type": "string" + }, + { + "name": "dms_instance_code", + "in": "path", + "description": "注册实例code\n井筒中心 well_kd_wellbore_ideas01", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "交换模型版本", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "root", + "in": "body", + "schema": { + "properties": { + "isSearchCount": { + "default": true, + "description": "是否统计总条数", + "type": "boolean" + }, + "query": { + "description": "查询条件", + "properties": { + "dataRegions": { + "description": "数据域,如:JD、DG、TL", + "items": { + "description": "数据域,如:JD、DG、TL", + "type": "string" + }, + "type": "array" + }, + "fields": { + "description": "查询的字段", + "items": { + "description": "查询的字段", + "type": "string" + }, + "type": "array" + }, + "filter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "groupFields": { + "description": "分组字段group by", + "items": { + "description": "分组字段group by", + "type": "string" + }, + "type": "array" + }, + "groupFilter": { + "description": "筛选器", + "properties": { + "key": { + "description": "条件项", + "type": "string" + }, + "logic": { + "description": "逻辑操作符,可选值为:AND、OR", + "type": "string" + }, + "realValue": { + "description": "条件值", + "items": { + "description": "条件值", + "type": "object", + "properties": {} + }, + "type": "array" + }, + "singleValue": { + "type": "object", + "writeOnly": true, + "properties": {} + }, + "subFilter": { + "description": "子条件", + "items": { + "type": "string" + }, + "type": "array" + }, + "symbol": { + "description": "运算符,可选值为:>、>=、<、<=、>、<、=、<>、!=、IN、NOTIN、LIKE、IS;当运算符为 IS 时,条件值只能为NULL或NOT NULL", + "type": "string" + } + }, + "type": "object" + }, + "sort": { + "additionalProperties": { + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "string" + }, + "description": "排序字段,key=字段名,value=排序方式(ASC、DESC)", + "type": "object", + "properties": {} + } + }, + "type": "object" + } + }, + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dsid": { + "type": "string" + }, + "dataRegion": { + "type": "string" + }, + "gasReleaseMon": { + "type": "null" + }, + "gasReleaseYear": { + "type": "null" + }, + "releaseGasCum": { + "type": "null" + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } +} \ No newline at end of file diff --git a/assets/remove_refs.py b/assets/remove_refs.py new file mode 100644 index 0000000..b7e24b7 --- /dev/null +++ b/assets/remove_refs.py @@ -0,0 +1,36 @@ +import json + +def remove_refs_from_dict(data): + if isinstance(data, dict): + # Create a copy of keys to iterate over, as we might modify the dict + keys = list(data.keys()) + for key in keys: + if key == "$ref" or key == "$$ref": + del data[key] + else: + remove_refs_from_dict(data[key]) + elif isinstance(data, list): + for item in data: + remove_refs_from_dict(item) + return data + +input_file = "doc/井筒API示例swagger_fixed_simple.json" +output_file = "doc/井筒API示例swagger_fixed_simple_noref_processed.json" # 输出到新文件 + +try: + with open(input_file, 'r', encoding='utf-8') as f: + json_data = json.load(f) + + processed_data = remove_refs_from_dict(json_data) + + with open(output_file, 'w', encoding='utf-8') as f: + json.dump(processed_data, f, ensure_ascii=False, indent=2) + + print(f"成功处理文件,移除了 '$ref' 和 '$$ref' 字段。结果已保存到: {output_file}") + +except FileNotFoundError: + print(f"错误: 输入文件未找到: {input_file}") +except json.JSONDecodeError: + print(f"错误: 输入文件 '{input_file}' 不是有效的 JSON 格式。") +except Exception as e: + print(f"处理过程中发生错误: {e}") \ No newline at end of file diff --git a/custom_testcases/compliance_catalog/__init__.py b/custom_testcases/compliance_catalog/__init__.py new file mode 100644 index 0000000..594a722 --- /dev/null +++ b/custom_testcases/compliance_catalog/__init__.py @@ -0,0 +1 @@ +# This file marks the compliance_catalog directory as a Python package. \ No newline at end of file diff --git a/custom_testcases/compliance_catalog/core_functionality/__init__.py b/custom_testcases/compliance_catalog/core_functionality/__init__.py new file mode 100644 index 0000000..458ba4d --- /dev/null +++ b/custom_testcases/compliance_catalog/core_functionality/__init__.py @@ -0,0 +1 @@ +# This file marks the core_functionality directory as a Python package. \ No newline at end of file diff --git a/custom_testcases/compliance_catalog/core_functionality/__pycache__/schema_validation_case.cpython-312.pyc b/custom_testcases/compliance_catalog/core_functionality/__pycache__/schema_validation_case.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..77a7c77d9d9526ccdf71631cf304614f631eccaf GIT binary patch literal 6155 zcmb6-YjhjcnRoP-C0Um3I8N-ullm#+M{HuUB@l>ZleZ0ighrGMvS#GS(TkZ;{D@2) zno?&;8q-2!N=!_bhanJa+ipp^fo9Ly?MavZm`Son>XdVq9xU1JAIt_$Io&_|-5JT2 z6Ok@+q&xS1_kQ2~UiX{tyB}FBIS8IxhZ_$UuSMunJV-yos`UVd20JK*wpX%|N7Vz{u6mu#@Oi+MVX*9QYUGsH{zGKdQW100irb+{Eyl-7_M z-1;$eeh30H$Vt%1siFy|npQbAwAu;m59DSdDSfA*AH@4P;WW}(XAYf9>lhPbW-K1n zI#@vKSB(rzE@Q!Pk8T`!2-A+HykUEF4EegmXFsdTZ{FNAQjuOywg%~8a!+?>2dSWvE4bku zz{=t~rxs?9gN716Ii2{;i*q0RBsn>on0Ryk-8T~x;{acH>%_vT@6TO&FLCi_bC*xf z|LjBtwNJ;MwW~++-9eVA_k;s(#d=_w5gR9ST7PueKqHo5m=A^ddQXt`yZA*Kc9$$n zfDQ${0iNPQj9aqy`+|KgALR;p6~LMSE*PK`T2zWwkacSSH~nBY#*TICFVMV1oJD+k z2A$MI&}ney2oX_5)M@u4Py`KRQb?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-c98O!6U&vht&QwE_ut28}1 zGIP(&2I0OzVZ+c(^YEXoMR9Wh*3RUX^V?qD283$barIvMi0TUUeSKdDF|LSg~C!whMLO%#RDb-w|pL-Yj;;i_6aEzMMPFzjf@j zV?xV!g(nXQ-=&0mpSn@)x>?*8FRPl${of@$Q285&tCxSjzhZ9z`lz5_-@WROs&=UM zHK_kkL%`q<4O(dJM2EcyU+4r}eg-adawy6lq{BYkH&fKpVV6&tVR4})Y4AWY(G2Hi zz4A>gi?6;UgQIJA&u+(#eUgDo-@IygS3ksHW{7czaUwtkSsFqwzE)r#zzx1&WAPo3 zd<(V~1uTG%2 zv1F_@ZfY89i|6-_?TuSYV%7@LS~0duGVKIl(YmqD&vR7T1FC6y=H94!<{w@QEFnC; z%3pH`kM&&J^>5E803mQx7#tA;$G(*3mkbYT*Fs=eLiqjoVdd?A8tlsv4(#RuxW@S_ zo@KEKWY+8!Ne9U#d=wN7tO$>#mFzU_$5}}Frid7hRNx1*PLVF_>o=7UycR z))f`W8k2R0KYj9EZzE-2IpP~0Pz<`AeG=xe);OsA(UO`Vi2p`)H&ESQRfyP+9UR&} VA=4L{eFU*~`k^o35D|(5{|7nD`cMD> literal 0 HcmV?d00001 diff --git a/custom_testcases/compliance_catalog/core_functionality/schema_validation_case.py b/custom_testcases/compliance_catalog/core_functionality/schema_validation_case.py new file mode 100644 index 0000000..b07e6bb --- /dev/null +++ b/custom_testcases/compliance_catalog/core_functionality/schema_validation_case.py @@ -0,0 +1,81 @@ +from typing import Dict, Any, Optional, List +from ddms_compliance_suite.test_framework_core import BaseAPITestCase, TestSeverity, ValidationResult, APIRequestContext, APIResponseContext +import json + +class ResponseSchemaValidationCase(BaseAPITestCase): + id = "TC-CORE-FUNC-001" + name = "Response Body JSON Schema Validation" + description = "验证API响应体是否符合API规范中定义的JSON Schema。" + severity = TestSeverity.CRITICAL + tags = ["core-functionality", "schema-validation", "output-format"] + execution_order = 100 # Default, can be adjusted + + # This test is generally applicable, especially for GET requests or successful POST/PUT. + # It might need refinement based on specific endpoint characteristics (e.g., no response body for DELETE) + + def __init__(self, endpoint_spec: Dict[str, Any], global_api_spec: Dict[str, Any], json_schema_validator: Optional[Any] = None): + super().__init__(endpoint_spec, global_api_spec, json_schema_validator) + self.logger.info(f"测试用例 '{self.id}' 已为端点 '{self.endpoint_spec.get('method')} {self.endpoint_spec.get('path')}' 初始化。") + + def validate_response(self, response_context: APIResponseContext, request_context: APIRequestContext) -> List[ValidationResult]: + results = [] + method = request_context.method.upper() + status_code = response_context.status_code + + # Determine the expected response schema based on method and status code + # This logic might need to be more sophisticated depending on how schemas are structured in your API spec (YAPI/Swagger) + expected_schema = None + response_spec_key = None + + if 'responses' in self.endpoint_spec: # OpenAPI/Swagger style + if str(status_code) in self.endpoint_spec['responses']: + response_def = self.endpoint_spec['responses'][str(status_code)] + if 'content' in response_def and 'application/json' in response_def['content']: + expected_schema = response_def['content']['application/json'].get('schema') + response_spec_key = f"responses.{status_code}.content.application/json.schema" + elif 'default' in self.endpoint_spec['responses']: # Fallback to default response + response_def = self.endpoint_spec['responses']['default'] + if 'content' in response_def and 'application/json' in response_def['content']: + expected_schema = response_def['content']['application/json'].get('schema') + response_spec_key = f"responses.default.content.application/json.schema" + elif 'res_body_type' in self.endpoint_spec and self.endpoint_spec['res_body_type'] == 'json': # YAPI style (simplified) + if 'res_body_is_json_schema' in self.endpoint_spec and self.endpoint_spec['res_body_is_json_schema']: + if self.endpoint_spec.get('res_body'): + try: + # YAPI often stores schema as a JSON string + expected_schema = json.loads(self.endpoint_spec['res_body']) + response_spec_key = "res_body (从JSON字符串解析)" + except json.JSONDecodeError as e: + self.logger.error(f"从YAPI res_body解析JSON schema失败: {e}") + results.append(self.failed(f"无法从YAPI规范解析响应schema: {e}")) + return results + + # Only proceed with schema validation if we have a schema and a JSON response body + if expected_schema and response_context.json_content is not None: + self.logger.info(f"将根据路径 '{response_spec_key or '未知位置'}' 的schema验证响应体。") + schema_validation_results = self.validate_data_against_schema( + data_to_validate=response_context.json_content, + schema_definition=expected_schema, + context_message_prefix=f"针对 {method} {request_context.url} (状态码 {status_code}) 的响应体" + ) + results.extend(schema_validation_results) + elif response_context.json_content is None and method not in ["DELETE", "HEAD", "OPTIONS"] and status_code in [200, 201, 202]: + # If we expected a JSON body (e.g. for successful GET/POST) but got none + if expected_schema: # and if a schema was defined + results.append(self.failed( + message=f"根据schema期望一个JSON响应体,但未收到可解析的JSON内容。", + details={"status_code": status_code, "response_text_sample": (response_context.text_content or "")[:200]} + )) + self.logger.warning(f"期望 {method} {request_context.url} 返回JSON响应体,但未收到或非JSON格式。") + elif not expected_schema and response_context.json_content is not None and status_code // 100 == 2: + # If there is a JSON body but no schema was found for successful responses + self.logger.info(f"响应包含JSON体,但在API规范中未找到针对状态码 {status_code} 的JSON schema。跳过schema验证。") + # Optionally, add an informational validation result: + # results.append(ValidationResult(passed=True, message="Response has JSON body, but no schema defined for validation.", details={"status_code": status_code})) + elif not expected_schema and response_context.json_content is None: + self.logger.info(f"状态码 {status_code} 的响应无JSON体也无定义的schema。跳过schema验证。") + + if not results: # If no specific validation was added (e.g. schema not found but not an error) + results.append(self.passed("Schema验证步骤完成(未发现问题,或schema不适用/未为此响应定义)。")) + + return results \ No newline at end of file diff --git a/custom_testcases/compliance_catalog/error_handling/__init__.py b/custom_testcases/compliance_catalog/error_handling/__init__.py new file mode 100644 index 0000000..e12868e --- /dev/null +++ b/custom_testcases/compliance_catalog/error_handling/__init__.py @@ -0,0 +1 @@ +# This file marks the error_handling directory as a Python package. \ No newline at end of file diff --git a/custom_testcases/compliance_catalog/error_handling/__pycache__/missing_required_field_case.cpython-312.pyc b/custom_testcases/compliance_catalog/error_handling/__pycache__/missing_required_field_case.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..49102ad20882144accc2bf982677d4a6b26d72ed GIT binary patch literal 13258 zcmeHOeN+@zmanS*prL^V`4-S_Ff=U!@gpW0jZsh$gharv2Gh1(1vEAdsp?iFjbR+k zU}BU^bi_o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yv|+EfVXv@$pRms@c=`qR^8h>jDma)#QEdb+qmI!7!s>&HQ zE%|Br=&?I%gT-6MkA=1!5VwJc?O1Tz@u(2Nr8Q&T@Y3R|tWfe~KtDDhG;|1^-cV<+ z*x3s~5)i^E2T3~RHtJ-rRf~+eo9SNcelP5FAt`);4i~KWQmeKs`jS#-WWsJGBTGI- zRU(>7gwhRxia?>Ty;V5c5juKOJbF@aag#@Rp;Zq1k@H*6&>rNqnOis^Ob0WYIfPT_MB=PGTBDEFsbY&%5)QDdJ-yA*on#?P?3{oeib=+W~aBR zA+xwn{Uvzc>eUcnM6J%IQEBG6Nfutbe1r*=ZV*d12+L~&MS+IU#{J^P{lZhtP`O1` zUY)#w*-9Tqc@E2Bb<4_g(S4ZN2mUcg@&@SeiZ$adF}HbEOBGljQtE#l7L2V3tofj7mV(Fe z#);+erI#GKj9rP>@}b;B%$ z>7hITtc!al?h9AeAvpH`+kuw@o(Q z2WKCu@uy8-4PYkWub`luV>#T{l35}T9T`b7ro?ZAZM{p$?G_+s-9~x(ZRUpI6-Sdt rdp4_9sZ{@is+^=M|4dV=J$Sei?*B&Vzto&it8%XH{S$>L;q-q2loxs( literal 0 HcmV?d00001 diff --git a/custom_testcases/compliance_catalog/error_handling/missing_required_field_body_case.py b/custom_testcases/compliance_catalog/error_handling/missing_required_field_body_case.py new file mode 100644 index 0000000..0e859cc --- /dev/null +++ b/custom_testcases/compliance_catalog/error_handling/missing_required_field_body_case.py @@ -0,0 +1,296 @@ +from typing import Dict, Any, Optional, List +from ddms_compliance_suite.test_framework_core import BaseAPITestCase, TestSeverity, ValidationResult, APIRequestContext, APIResponseContext +import copy +import logging + +class MissingRequiredFieldBodyCase(BaseAPITestCase): + id = "TC-ERROR-4003-BODY" + name = "Error Code 4003 - Missing Required Request Body Field Validation" + description = "测试当请求体中缺少API规范定义的必填字段时,API是否按预期返回类似4003的错误(或通用400错误)。" + severity = TestSeverity.HIGH + tags = ["error-handling", "appendix-b", "4003", "required-fields", "request-body"] + execution_order = 210 # Before query, same as original combined + + def __init__(self, endpoint_spec: Dict[str, Any], global_api_spec: Dict[str, Any], json_schema_validator: Optional[Any] = None): + super().__init__(endpoint_spec, global_api_spec, json_schema_validator) + self.logger.setLevel(logging.DEBUG) # Ensure detailed logging for this class + self.removed_field_path: Optional[List[str]] = None # Path to the removed field, e.g., ['level1', 'level2_field'] + self.original_body_schema: Optional[Dict[str, Any]] = None + self._try_find_removable_body_field() + + def _resolve_ref_if_present(self, schema_to_resolve: Dict[str, Any]) -> Dict[str, Any]: + ref_value = None + if isinstance(schema_to_resolve, dict): + if "$ref" in schema_to_resolve: + ref_value = schema_to_resolve["$ref"] + elif "$$ref" in schema_to_resolve: + ref_value = schema_to_resolve["$$ref"] + + if ref_value: + self.logger.debug(f"发现引用 '{ref_value}',尝试解析...") + try: + actual_global_spec_dict = None + if hasattr(self.global_api_spec, 'spec') and isinstance(self.global_api_spec.spec, dict): + actual_global_spec_dict = self.global_api_spec.spec + elif isinstance(self.global_api_spec, dict): + actual_global_spec_dict = self.global_api_spec + + if not actual_global_spec_dict: + self.logger.warning(f"无法从 self.global_api_spec (类型: {type(self.global_api_spec)}) 获取用于解析引用的字典。") + return schema_to_resolve + + resolved_schema = None + if ref_value.startswith("#/components/schemas/"): + schema_name = ref_value.split("/")[-1] + components = actual_global_spec_dict.get("components") + if components and isinstance(components.get("schemas"), dict): + resolved_schema = components["schemas"].get(schema_name) + if resolved_schema and isinstance(resolved_schema, dict): + self.logger.info(f"成功从 #/components/schemas/ 解析引用 '{ref_value}'。") + return resolved_schema + else: + self.logger.warning(f"解析引用 '{ref_value}' (路径: #/components/schemas/) 失败:未找到或找到的不是字典: {schema_name}") + else: + self.logger.warning(f"尝试从 #/components/schemas/ 解析引用 '{ref_value}' 失败:无法找到 'components.schemas' 结构。") + + # 如果从 #/components/schemas/ 未成功解析,尝试 #/definitions/ + if not resolved_schema and ref_value.startswith("#/definitions/"): + schema_name = ref_value.split("/")[-1] + definitions = actual_global_spec_dict.get("definitions") + if definitions and isinstance(definitions, dict): + resolved_schema = definitions.get(schema_name) + if resolved_schema and isinstance(resolved_schema, dict): + self.logger.info(f"成功从 #/definitions/ 解析引用 '{ref_value}'。") + return resolved_schema + else: + self.logger.warning(f"解析引用 '{ref_value}' (路径: #/definitions/) 失败:未找到或找到的不是字典: {schema_name}") + else: + self.logger.warning(f"尝试从 #/definitions/ 解析引用 '{ref_value}' 失败:无法找到 'definitions' 结构。") + + if not resolved_schema: + self.logger.warning(f"最终未能通过任一已知路径 (#/components/schemas/ 或 #/definitions/) 解析引用 '{ref_value}'。") + + except Exception as e: + self.logger.error(f"解析引用 '{ref_value}' 时发生错误: {e}", exc_info=True) + return schema_to_resolve # 返回原始 schema 如果不是 ref 或者所有解析尝试都失败 + + def _find_required_field_in_schema_recursive(self, current_schema: Dict[str, Any], current_path: List[str]) -> Optional[List[str]]: + """递归查找第一个可移除的必填字段的路径。 + 现在也会查找数组内对象中必填的字段。""" + resolved_schema = self._resolve_ref_if_present(current_schema) + + if not isinstance(resolved_schema, dict) or resolved_schema.get("type") != "object": + # If not an object schema, cannot have 'required' or 'properties' in the way we expect. + return None + + required_fields_at_current_level = resolved_schema.get("required", []) + properties = resolved_schema.get("properties", {}) + self.logger.debug(f"递归查找路径: {current_path}, 当前层级必填字段: {required_fields_at_current_level}, 属性: {list(properties.keys())}") + + # 策略1: 查找当前层级直接声明的必填字段 (简单类型或复杂类型均可) + if required_fields_at_current_level and properties: + for field_name in required_fields_at_current_level: + if field_name in properties: + # 任何在 'required' 数组中列出的字段,无论其类型,都可以作为目标 + # (例如,移除一个必填的整个对象或数组也是一种有效的测试场景) + self.logger.info(f"策略1: 在路径 {'.'.join(current_path) if current_path else 'root'} 找到可直接移除的必填字段: '{field_name}'") + return current_path + [field_name] + + # 策略2: 如果当前层级没有直接的必填字段可移除,则查找数组属性,看其内部item是否有必填字段 + # 这种情况下,数组本身可能不是必填的,但如果提供了数组,其item需要满足条件 + if properties: # 确保有属性可迭代 + for prop_name, prop_schema_orig in properties.items(): + prop_schema = self._resolve_ref_if_present(prop_schema_orig) # 解析属性自身的schema (可能也是ref) + if isinstance(prop_schema, dict) and prop_schema.get("type") == "array": + items_schema_orig = prop_schema.get("items") + if isinstance(items_schema_orig, dict): + items_schema = self._resolve_ref_if_present(items_schema_orig) # 解析 items 的 schema + if isinstance(items_schema, dict) and items_schema.get("type") == "object": + item_required_fields = items_schema.get("required", []) + item_properties = items_schema.get("properties", {}) + if item_required_fields and item_properties: + first_required_field_in_item = None + for req_item_field in item_required_fields: + if req_item_field in item_properties: # 确保该必填字段在属性中定义 + first_required_field_in_item = req_item_field + break + + if first_required_field_in_item: + self.logger.info(f"策略2: 在数组属性 '{prop_name}' (路径 {'.'.join(current_path) if current_path else 'root'}) 的元素内找到必填字段: '{first_required_field_in_item}'. 将尝试移除路径: {current_path + [prop_name, 0, first_required_field_in_item]}") + # 将路径指向数组的第一个元素 (index 0) 内的那个必填字段 + return current_path + [prop_name, 0, first_required_field_in_item] + + # 策略3: (可选,如果需要更深层次的普通对象递归) + # 如果以上策略都未找到,并且希望深入到非必填的子对象中查找,可以启用以下逻辑。 + # 但这通常不用于"顶层必填字段缺失"的测试目的,除非测试用例目标是验证任意深度的必填。 + # for prop_name, prop_schema_orig_for_recurse in properties.items(): + # prop_schema_for_recurse = self._resolve_ref_if_present(prop_schema_orig_for_recurse) + # if isinstance(prop_schema_for_recurse, dict) and prop_schema_for_recurse.get("type") == "object": + # # 确保不陷入无限循环,例如,如果一个对象属性是可选的但其内部有必填字段 + # # 这里需要小心,因为我们可能已经检查过当前级别的required字段 + # # 主要用于当某个对象不是顶层必填,但如果提供了它,它内部又有必填项的场景 + # # 但这与当前测试用例的 primary goal 可能不完全一致 + # self.logger.debug(f"策略3: 尝试递归进入对象属性 '{prop_name}' (路径 {'.'.join(current_path)}) (此对象本身在当前层级非必填或已检查)") + # found_path_deeper = self._find_required_field_in_schema_recursive(prop_schema_for_recurse, current_path + [prop_name]) + # if found_path_deeper: + # # 确保返回的路径确实比当前路径深,并且该深层路径的父级(即prop_name)不是当前层级已知的必填字段 + # # (以避免重复发现已被策略1覆盖的场景) + # # if prop_name not in required_fields_at_current_level: + # self.logger.info(f"策略3: 递归在对象属性 '{prop_name}' (路径 {'.'.join(current_path)}) 中找到必填字段路径: {found_path_deeper}") + # return found_path_deeper + + self.logger.debug(f"在路径 {'.'.join(current_path) if current_path else 'root'} 未通过任何策略找到可移除的必填字段。") + return None + def _try_find_removable_body_field(self): + body_schema_to_check: Optional[Dict[str, Any]] = None + request_body_spec = self.endpoint_spec.get("requestBody") + if request_body_spec and isinstance(request_body_spec, dict): + content = request_body_spec.get("content", {}) + json_schema_entry = content.get("application/json") + if json_schema_entry and isinstance(json_schema_entry, dict) and isinstance(json_schema_entry.get("schema"), dict): + body_schema_to_check = json_schema_entry["schema"] + + if not body_schema_to_check: + parameters = self.endpoint_spec.get("parameters", []) + if isinstance(parameters, list): + for param in parameters: + if isinstance(param, dict) and param.get("in") == "body": + if isinstance(param.get("schema"), dict): + body_schema_to_check = param["schema"] + break + + if body_schema_to_check: + self.original_body_schema = copy.deepcopy(body_schema_to_check) + self.removed_field_path = self._find_required_field_in_schema_recursive(self.original_body_schema, []) + if self.removed_field_path: + self.logger.info(f"必填字段缺失测试的目标字段 (请求体): '{'.'.join(map(str, self.removed_field_path))}'") + self.field_to_remove_details = { + "path": self.removed_field_path, + # ... existing code ... + } + else: + self.logger.info('在请求体 schema 中未找到可用于测试 "必填字段缺失" 的字段。') + else: + self.logger.info('此端点规范中未定义请求体 schema。') + + def generate_query_params(self, current_query_params: Dict[str, Any]) -> Dict[str, Any]: + self.logger.debug(f"{self.id} is focused on request body, generate_query_params will not modify query parameters.") + return current_query_params + + def generate_request_body(self, current_body: Optional[Any]) -> Optional[Any]: + if not self.removed_field_path: + self.logger.debug("No field path identified for removal in request body.") + return current_body + + if current_body is None: + self.logger.debug("current_body is None. Orchestrator should ideally provide a base body. Attempting to build minimal structure for removal.") + new_body = {} + else: + new_body = copy.deepcopy(current_body) + + temp_obj_ref = new_body + + try: + for i, key_or_index in enumerate(self.removed_field_path): + is_last_element = (i == len(self.removed_field_path) - 1) + + if is_last_element: + if isinstance(key_or_index, str): # Key for a dictionary (field name) + if isinstance(temp_obj_ref, dict) and key_or_index in temp_obj_ref: + original_value = temp_obj_ref.pop(key_or_index) + self.logger.info(f"为进行必填字段缺失测试,已从请求体中移除字段路径 '{'.'.join(map(str,self.removed_field_path))}' (原值: '{original_value}')。") + return new_body + elif isinstance(temp_obj_ref, dict): # Key not in dict, but it's a dict + self.logger.warning(f"计划移除的请求体字段路径的最后一部分 '{key_or_index}' (string key) 在对象中未找到,但该对象是字典。可能该字段本就是可选的或不存在于提供的current_body。路径: {'.'.join(map(str,self.removed_field_path))}") + return new_body + else: # temp_obj_ref is not a dict + self.logger.warning(f"计划移除的请求体字段路径的最后一部分 '{key_or_index}' (string key) 期望父级是字典,但找到 {type(temp_obj_ref)}。路径: {'.'.join(map(str,self.removed_field_path))}") + return current_body + else: # Last element of path is an index - this should not happen as we remove a *field name* + self.logger.error(f"路径的最后一部分 '{key_or_index}' 预期为字符串字段名,但类型为 {type(key_or_index)}. Path: {'.'.join(map(str,self.removed_field_path))}") + return current_body + else: # Not the last element, so we are traversing or building the structure + next_key_or_index = self.removed_field_path[i+1] + + if isinstance(key_or_index, str): # Current path part is a dictionary key + if not isinstance(temp_obj_ref, dict): + self.logger.warning(f"路径期望字典,但在 '{key_or_index}' (父级)处找到 {type(temp_obj_ref)}. Path: {'.'.join(map(str,self.removed_field_path))}. 如果current_body为None,则尝试创建字典。") + if temp_obj_ref is new_body and not new_body : + temp_obj_ref = {} + else: + return current_body + + if isinstance(next_key_or_index, int): + if key_or_index not in temp_obj_ref or not isinstance(temp_obj_ref.get(key_or_index), list): + self.logger.debug(f"路径 '{key_or_index}' 需要是列表 (为索引 {next_key_or_index} 做准备),但未找到或类型不符。将创建空列表。") + temp_obj_ref[key_or_index] = [] + temp_obj_ref = temp_obj_ref[key_or_index] + else: + if key_or_index not in temp_obj_ref or not isinstance(temp_obj_ref.get(key_or_index), dict): + self.logger.debug(f"路径 '{key_or_index}' 需要是字典 (为键 '{next_key_or_index}' 做准备),但未找到或类型不符。将创建空字典。") + temp_obj_ref[key_or_index] = {} + temp_obj_ref = temp_obj_ref[key_or_index] + + elif isinstance(key_or_index, int): + if not isinstance(temp_obj_ref, list): + self.logger.error(f"路径期望列表以应用索引 '{key_or_index}',但找到 {type(temp_obj_ref)}. Path: {'.'.join(map(str,self.removed_field_path))}") + return current_body + + while len(temp_obj_ref) <= key_or_index: + self.logger.debug(f"数组在索引 {key_or_index} 处需要元素,将添加空字典作为占位符(因为后续预期是字段名)。") + temp_obj_ref.append({}) + + if isinstance(next_key_or_index, str): + if not isinstance(temp_obj_ref[key_or_index], dict): + self.logger.debug(f"数组项 at index {key_or_index} 需要是字典 (为键 '{next_key_or_index}' 做准备)。如果它是其他类型,将被替换为空字典。") + temp_obj_ref[key_or_index] = {} + + temp_obj_ref = temp_obj_ref[key_or_index] + + else: + self.logger.error(f"路径部分 '{key_or_index}' 类型未知 ({type(key_or_index)}). Path: {'.'.join(map(str,self.removed_field_path))}") + return current_body + except Exception as e: # Ensuring the try has an except + self.logger.error(f"在准备移除字段路径 '{'.'.join(map(str,self.removed_field_path))}' 时发生错误: {e}", exc_info=True) + return current_body + + self.logger.error(f"generate_request_body 未能在循环内按预期返回。路径: {'.'.join(map(str,self.removed_field_path))}") + return current_body + + def validate_response(self, response_context: APIResponseContext, request_context: APIRequestContext) -> List[ValidationResult]: + results = [] + if not self.removed_field_path: + results.append(self.passed("跳过测试:在API规范中未找到合适的必填请求体字段用于移除测试。")) + self.logger.info("由于未识别到可移除的必填请求体字段,跳过此测试用例。") + return results + + status_code = response_context.status_code + json_content = response_context.json_content + expected_status_codes = [400, 422] + specific_error_code_from_appendix_b = "4003" + removed_field_str = '.'.join(map(str, self.removed_field_path)) + + msg_prefix = f"当移除必填请求体字段 '{removed_field_str}' 时," + + if status_code in expected_status_codes: + status_msg = f"{msg_prefix}API响应了预期的错误状态码 {status_code}。" + if json_content and isinstance(json_content, dict) and str(json_content.get("code")) == specific_error_code_from_appendix_b: + results.append(self.passed(f"{status_msg} 且响应体中包含特定的错误码 '{specific_error_code_from_appendix_b}'。")) + self.logger.info(f"正确接收到状态码 {status_code} 和错误码 '{specific_error_code_from_appendix_b}'。") + elif json_content and isinstance(json_content, dict) and "code" in json_content: + results.append(ValidationResult(passed=True, + message=f"{status_msg} 响应体中的错误码为 '{json_content.get('code')}' (期望或类似 '{specific_error_code_from_appendix_b}')。", + details=json_content + )) + self.logger.warning(f"接收到状态码 {status_code},但错误码是 '{json_content.get('code')}' 而不是期望的 '{specific_error_code_from_appendix_b}'。此结果仍标记为通过,因状态码正确。") + else: + results.append(self.passed(f"{status_msg} 但响应体中未找到特定的错误码字段或响应体结构不符合预期。")) + self.logger.info(f"正确接收到状态码 {status_code},但在响应体中未找到错误码字段或预期结构。") + else: + results.append(self.failed( + message=f"{msg_prefix}期望API返回状态码 {expected_status_codes} 中的一个,但实际收到 {status_code}。", + details={"status_code": status_code, "response_body": json_content, "removed_field": f"body.{removed_field_str}"} + )) + self.logger.warning(f"必填请求体字段缺失测试失败:期望状态码 {expected_status_codes},实际为 {status_code}。移除的字段:'body.{removed_field_str}'") + + return results \ No newline at end of file diff --git a/custom_testcases/compliance_catalog/error_handling/missing_required_field_query_case.py b/custom_testcases/compliance_catalog/error_handling/missing_required_field_query_case.py new file mode 100644 index 0000000..e9b9a3a --- /dev/null +++ b/custom_testcases/compliance_catalog/error_handling/missing_required_field_query_case.py @@ -0,0 +1,84 @@ +from typing import Dict, Any, Optional, List +from ddms_compliance_suite.test_framework_core import BaseAPITestCase, TestSeverity, ValidationResult, APIRequestContext, APIResponseContext +import copy + +class MissingRequiredFieldQueryCase(BaseAPITestCase): + id = "TC-ERROR-4003-QUERY" + name = "Error Code 4003 - Missing Required Query Parameter Validation" + description = "测试当请求中缺少API规范定义的必填查询参数时,API是否按预期返回类似4003的错误(或通用400错误)。" + severity = TestSeverity.HIGH + tags = ["error-handling", "appendix-b", "4003", "required-fields", "query-parameters"] + execution_order = 211 # After body, before original combined one might have been + + def __init__(self, endpoint_spec: Dict[str, Any], global_api_spec: Dict[str, Any], json_schema_validator: Optional[Any] = None): + super().__init__(endpoint_spec, global_api_spec, json_schema_validator) + self.removed_field_name: Optional[str] = None + self._try_find_removable_query_param() + + def _try_find_removable_query_param(self): + query_params_spec_list = self.endpoint_spec.get("parameters", []) + if query_params_spec_list: + self.logger.debug(f"检查查询参数的必填字段,总共 {len(query_params_spec_list)} 个参数定义。") + for param_spec in query_params_spec_list: + if isinstance(param_spec, dict) and param_spec.get("in") == "query" and param_spec.get("required") is True: + field_name = param_spec.get("name") + if field_name: + self.removed_field_name = field_name + self.logger.info(f"必填字段缺失测试的目标字段 (查询参数): '{self.removed_field_name}'") + return + self.logger.info('在此端点规范中未找到可用于测试 "必填查询参数缺失" 的字段。') + + def generate_request_body(self, current_body: Optional[Any]) -> Optional[Any]: + # This test case focuses on query parameters, so it does not modify the request body. + self.logger.debug(f"{self.id} is focused on query parameters, generate_request_body will not modify the request body.") + return current_body + + def generate_query_params(self, current_query_params: Dict[str, Any]) -> Dict[str, Any]: + if self.removed_field_name and isinstance(current_query_params, dict): + if self.removed_field_name in current_query_params: + new_params = copy.deepcopy(current_query_params) + original_value = new_params.pop(self.removed_field_name) # 移除参数 + self.logger.info(f"为进行必填查询参数缺失测试,已从查询参数中移除 '{self.removed_field_name}' (原值: '{original_value}')。") + return new_params + else: + self.logger.warning(f"计划移除的查询参数 '{self.removed_field_name}' 在当前查询参数中未找到。") + return current_query_params + + def validate_response(self, response_context: APIResponseContext, request_context: APIRequestContext) -> List[ValidationResult]: + results = [] + + if not self.removed_field_name: + results.append(self.passed("跳过测试:在API规范中未找到合适的必填查询参数用于移除测试。")) + self.logger.info("由于未识别到可移除的必填查询参数,跳过此测试用例。") + return results + + status_code = response_context.status_code + json_content = response_context.json_content + + expected_status_codes = [400, 422] + specific_error_code_from_appendix_b = "4003" + + msg_prefix = f"当移除必填查询参数 '{self.removed_field_name}' 时," + + if status_code in expected_status_codes: + status_msg = f"{msg_prefix}API响应了预期的错误状态码 {status_code}。" + if json_content and isinstance(json_content, dict) and str(json_content.get("code")) == specific_error_code_from_appendix_b: + results.append(self.passed(f"{status_msg} 且响应体中包含特定的错误码 '{specific_error_code_from_appendix_b}'。")) + self.logger.info(f"正确接收到状态码 {status_code} 和错误码 '{specific_error_code_from_appendix_b}'。") + elif json_content and isinstance(json_content, dict) and "code" in json_content: + results.append(ValidationResult(passed=True, + message=f"{status_msg} 响应体中的错误码为 '{json_content.get('code')}' (期望或类似 '{specific_error_code_from_appendix_b}')。", + details=json_content + )) + self.logger.warning(f"接收到状态码 {status_code},但错误码是 '{json_content.get('code')}' 而不是期望的 '{specific_error_code_from_appendix_b}'。此结果仍标记为通过,因状态码正确。") + else: + results.append(self.passed(f"{status_msg} 但响应体中未找到特定的错误码字段或响应体结构不符合预期。")) + self.logger.info(f"正确接收到状态码 {status_code},但在响应体中未找到错误码字段或预期结构。") + else: + results.append(self.failed( + message=f"{msg_prefix}期望API返回状态码 {expected_status_codes} 中的一个,但实际收到 {status_code}。", + details={"status_code": status_code, "response_body": json_content, "removed_field": f"query.{self.removed_field_name}"} + )) + self.logger.warning(f"必填查询参数缺失测试失败:期望状态码 {expected_status_codes},实际为 {status_code}。移除的参数:'{self.removed_field_name}'") + + return results \ No newline at end of file diff --git a/custom_testcases/compliance_catalog/error_handling/type_mismatch_body_case.py b/custom_testcases/compliance_catalog/error_handling/type_mismatch_body_case.py new file mode 100644 index 0000000..2a13631 --- /dev/null +++ b/custom_testcases/compliance_catalog/error_handling/type_mismatch_body_case.py @@ -0,0 +1,386 @@ +from typing import Dict, Any, Optional, List +from ddms_compliance_suite.test_framework_core import BaseAPITestCase, TestSeverity, ValidationResult, APIRequestContext, APIResponseContext +import copy +import logging + +class TypeMismatchBodyCase(BaseAPITestCase): + id = "TC-ERROR-4001-BODY" + name = "Error Code 4001 - Request Body Type Mismatch Validation" + description = "测试当发送的请求体中字段的数据类型与API规范定义不符时,API是否按预期返回类似4001的错误(或通用400错误)。" + severity = TestSeverity.MEDIUM + tags = ["error-handling", "appendix-b", "4001", "request-body"] + execution_order = 202 # Slightly after query param one + + def __init__(self, endpoint_spec: Dict[str, Any], global_api_spec: Dict[str, Any], json_schema_validator: Optional[Any] = None): + super().__init__(endpoint_spec, global_api_spec, json_schema_validator) + self.logger.setLevel(logging.DEBUG) + self.target_field_path: Optional[List[str]] = None + self.original_field_type: Optional[str] = None + # Location is always 'body' for this class + self.target_field_location: str = "body" + self.target_field_schema: Optional[Dict[str, Any]] = None + + self.logger.critical(f"{self.id} __INIT__ >>> STARTED") + self.logger.debug(f"开始为端点 {self.endpoint_spec.get('method')} {self.endpoint_spec.get('path')} 初始化请求体类型不匹配测试的目标字段查找。") + + body_schema_to_check: Optional[Dict[str, Any]] = None + + # 优先尝试从顶层 'requestBody' (OpenAPI 3.0 style) 获取 schema + request_body_spec = self.endpoint_spec.get("requestBody") + if request_body_spec and isinstance(request_body_spec, dict): + content = request_body_spec.get("content", {}) + json_schema_entry = content.get("application/json") # 或者其他相关mime-type + if json_schema_entry and isinstance(json_schema_entry, dict) and isinstance(json_schema_entry.get("schema"), dict): + body_schema_to_check = json_schema_entry["schema"] + self.logger.debug(f"从顶层 'requestBody' 中获取到 schema: {list(body_schema_to_check.keys())}") + + # 如果顶层 'requestBody' 未提供有效 schema,则尝试从 'parameters' 列表 (Swagger 2.0 style for 'in: body') 查找 + if not body_schema_to_check: + self.logger.debug(f"未从顶层 'requestBody' 找到 schema,尝试从 'parameters' 列表查找 'in: body' 参数。") + parameters = self.endpoint_spec.get("parameters", []) + if isinstance(parameters, list): + for param in parameters: + if isinstance(param, dict) and param.get("in") == "body": + if isinstance(param.get("schema"), dict): + body_schema_to_check = param["schema"] + self.logger.debug(f"从 'parameters' 列表中找到 'in: body' 参数的 schema: {list(body_schema_to_check.keys())}") + break # 找到第一个 'in: body' 参数即可 + else: + self.logger.warning(f"找到 'in: body' 参数 '{param.get('name', 'N/A')}',但其 'schema' 字段无效或缺失。") + else: + self.logger.warning("'parameters' 字段不是列表或不存在。") + + + if body_schema_to_check: + self.logger.debug(f"最终用于检查的请求体 schema: {list(body_schema_to_check.keys())}") + if self._find_target_field_in_schema(body_schema_to_check, base_path_for_log=""): # base_path_for_log 为空字符串代表 schema 的根 + self.logger.info(f"类型不匹配测试的目标字段(请求体): {'.'.join(str(p) for p in self.target_field_path) if self.target_field_path else 'N/A'},原始类型: {self.original_field_type}") + else: + self.logger.debug(f"在提供的请求体 schema ({list(body_schema_to_check.keys())}) 中未找到适合类型不匹配测试的字段。") + else: + self.logger.debug("在此端点规范中未找到有效的请求体 schema 定义 (无论是通过 'requestBody' 还是 'parameters' in:body)。") + + if not self.target_field_path: + self.logger.info(f"最终,在端点 {self.endpoint_spec.get('method')} {self.endpoint_spec.get('path')} 的请求体中,均未找到可用于测试类型不匹配的字段。") + + def _resolve_ref_if_present(self, schema_to_resolve: Dict[str, Any]) -> Dict[str, Any]: + ref_value = None + if isinstance(schema_to_resolve, dict): + if "$ref" in schema_to_resolve: + ref_value = schema_to_resolve["$ref"] + elif "$$ref" in schema_to_resolve: + ref_value = schema_to_resolve["$$ref"] + + if ref_value: + self.logger.debug(f"发现引用 '{ref_value}',尝试解析...") + try: + actual_global_spec_dict = None + if hasattr(self.global_api_spec, 'spec') and isinstance(self.global_api_spec.spec, dict): + actual_global_spec_dict = self.global_api_spec.spec + elif isinstance(self.global_api_spec, dict): + actual_global_spec_dict = self.global_api_spec + + if not actual_global_spec_dict: + self.logger.warning(f"无法从 self.global_api_spec (类型: {type(self.global_api_spec)}) 获取用于解析引用的字典。") + return schema_to_resolve + + resolved_schema = None + if ref_value.startswith("#/components/schemas/"): + schema_name = ref_value.split("/")[-1] + components = actual_global_spec_dict.get("components") + if components and isinstance(components.get("schemas"), dict): + resolved_schema = components["schemas"].get(schema_name) + if resolved_schema and isinstance(resolved_schema, dict): + self.logger.info(f"成功从 #/components/schemas/ 解析引用 '{ref_value}'。") + return resolved_schema + else: + self.logger.warning(f"解析引用 '{ref_value}' (路径: #/components/schemas/) 失败:未找到或找到的不是字典: {schema_name}") + else: + self.logger.warning(f"尝试从 #/components/schemas/ 解析引用 '{ref_value}' 失败:无法找到 'components.schemas' 结构。") + + if not resolved_schema and ref_value.startswith("#/definitions/"): + schema_name = ref_value.split("/")[-1] + definitions = actual_global_spec_dict.get("definitions") + if definitions and isinstance(definitions, dict): + resolved_schema = definitions.get(schema_name) + if resolved_schema and isinstance(resolved_schema, dict): + self.logger.info(f"成功从 #/definitions/ 解析引用 '{ref_value}'。") + return resolved_schema + else: + self.logger.warning(f"解析引用 '{ref_value}' (路径: #/definitions/) 失败:未找到或找到的不是字典: {schema_name}") + else: + self.logger.warning(f"尝试从 #/definitions/ 解析引用 '{ref_value}' 失败:无法找到 'definitions' 结构。") + + if not resolved_schema: + self.logger.warning(f"最终未能通过任一已知路径 (#/components/schemas/ 或 #/definitions/) 解析引用 '{ref_value}'。") + + except Exception as e: + self.logger.error(f"解析引用 '{ref_value}' 时发生错误: {e}", exc_info=True) + return schema_to_resolve + + def _find_target_field_in_schema(self, schema_to_search: Dict[str, Any], base_path_for_log: str) -> bool: + """ + Recursively searches for a simple type field (string, integer, number, boolean) within a schema. + Sets self.target_field_path, self.original_field_type, and self.target_field_schema if found. + base_path_for_log is used to build the full path for logging. + Returns True if a field is found, False otherwise. + """ + self.logger.debug(f"Enter _find_target_field_in_schema for base_path: '{base_path_for_log}', schema_to_search keys: {list(schema_to_search.keys()) if isinstance(schema_to_search, dict) else 'Not a dict'}") + resolved_schema = self._resolve_ref_if_present(schema_to_search) + + if not isinstance(resolved_schema, dict): + self.logger.debug(f"_find_target_field_in_schema: Schema at '{base_path_for_log}' is not a dict after resolution. Schema: {resolved_schema}") + return False + + schema_type = resolved_schema.get("type") + self.logger.debug(f"Path: '{base_path_for_log}', Resolved Schema Type: '{schema_type}', Keys: {list(resolved_schema.keys())}") + + if schema_type == "object": + properties = resolved_schema.get("properties", {}) + self.logger.debug(f"Path: '{base_path_for_log}', Type is 'object'. Checking properties: {list(properties.keys())}") + for name, prop_schema_orig in properties.items(): + current_path_str = f"{base_path_for_log}.{name}" if base_path_for_log else name + self.logger.debug(f"Path: '{current_path_str}', Property Schema (Original): {prop_schema_orig}") + prop_schema_resolved = self._resolve_ref_if_present(prop_schema_orig) + self.logger.debug(f"Path: '{current_path_str}', Property Schema (Resolved): {prop_schema_resolved}") + + if not isinstance(prop_schema_resolved, dict): + self.logger.debug(f"Path: '{current_path_str}', Resolved schema is not a dict. Skipping.") + continue + + prop_type = prop_schema_resolved.get("type") + self.logger.debug(f"Path: '{current_path_str}', Resolved Property Type: '{prop_type}'") + + if prop_type in ["string", "integer", "number", "boolean"]: + # Construct path relative to the initial body schema + path_parts = base_path_for_log.split('.') if base_path_for_log else [] + if path_parts == ['']: path_parts = [] # Handle initial empty base_path + self.target_field_path = path_parts + [name] + self.original_field_type = prop_type + self.target_field_schema = prop_schema_resolved + self.logger.info(f"目标字段(请求体): '{current_path_str}' (原始类型: '{prop_type}') FOUND!") + return True + elif prop_type == "object": + self.logger.debug(f"Path: '{current_path_str}', Type is 'object'. Recursing...") + if self._find_target_field_in_schema(prop_schema_resolved, current_path_str): + return True + self.logger.debug(f"Path: '{current_path_str}', Recursion for object did not find target.") + elif prop_type == "array": + self.logger.debug(f"Path: '{current_path_str}', Type is 'array'. Inspecting items...") + items_schema = prop_schema_resolved.get("items") + if isinstance(items_schema, dict): + self.logger.debug(f"Path: '{current_path_str}', Array items schema is a dict. Resolving and checking item type.") + items_schema_resolved = self._resolve_ref_if_present(items_schema) + item_type = items_schema_resolved.get("type") + self.logger.debug(f"Path: '{current_path_str}[*]', Resolved Item Type: '{item_type}'") + if item_type in ["string", "integer", "number", "boolean"]: + path_parts = base_path_for_log.split('.') if base_path_for_log else [] + if path_parts == ['']: path_parts = [] + self.target_field_path = path_parts + [name, 0] # Path like field.array_field.0 + self.original_field_type = item_type + self.target_field_schema = items_schema_resolved # schema for the item, not the array + self.logger.info(f"目标字段(请求体 - 数组内简单类型): '{current_path_str}[0]' (原始类型: '{item_type}') FOUND!") + return True + elif item_type == "object": + self.logger.debug(f"Path: '{current_path_str}[*]', Item type is 'object'. Recursing into array item schema...") + # Path for recursion: current_path_str + ".0" (representing first item) + if self._find_target_field_in_schema(items_schema_resolved, f"{current_path_str}.0"): + # self.target_field_path would be set by recursive call. + # The path logic in _find_target_field_in_schema needs to correctly prepend array index if it comes from array item recursion. + # Let's ensure the path construction at "FOUND!" handles this. + # If current_path_str was "field.array.0" and recursion found "nested_prop", + # the path should become "field.array.0.nested_prop". + # The recursive call sets target_field_path starting from its base_path_for_log. + # So if base_path_for_log was "field.array.0", and it found "item_prop", + # self.target_field_path will be ["field", "array", 0, "item_prop"]. This seems correct. + self.logger.info(f"目标字段(请求体 - 数组内对象属性) found via recursion from '{current_path_str}.0'") + return True + self.logger.debug(f"Path: '{current_path_str}[*]', Recursion for array item object did not find target.") + else: + self.logger.debug(f"Path: '{current_path_str}[*]', Item type '{item_type}' is not simple or object.") + else: + self.logger.debug(f"Path: '{current_path_str}', Array items schema is not a dict or missing. Items: {items_schema}") + else: + self.logger.debug(f"Path: '{current_path_str}', Property type '{prop_type}' is not a simple type, object, or array. Skipping further processing for this property.") + elif schema_type == "array": + self.logger.debug(f"Path: '{base_path_for_log}', Top-level schema type is 'array'. Inspecting items...") + items_schema = resolved_schema.get("items") + if isinstance(items_schema, dict): + items_schema_resolved = self._resolve_ref_if_present(items_schema) + item_type = items_schema_resolved.get("type") + self.logger.debug(f"Path: '{base_path_for_log}[*]', Resolved Item Type: '{item_type}'") + if item_type in ["string", "integer", "number", "boolean"]: + # This means the body itself is an array of simple types. + # We target the first item. Path will be [0] if base_path_for_log is empty. + path_parts = base_path_for_log.split('.') if base_path_for_log else [] + if path_parts == ['']: path_parts = [] + # If base_path_for_log is empty (root schema is array), path is just [0] + # If base_path_for_log is "field.array_prop", this case shouldn't be hit here, but in object prop loop. + # This branch is for when the *entire request body schema* is an array. + self.target_field_path = path_parts + [0] # if root is array, path_parts is [], so path is [0] + self.original_field_type = item_type + self.target_field_schema = items_schema_resolved + self.logger.info(f"目标字段(请求体 - 根为简单类型数组): '{base_path_for_log}[0]' (原始类型: '{item_type}') FOUND!") + return True + elif item_type == "object": + self.logger.debug(f"Path: '{base_path_for_log}[*]', Item type is 'object'. Recursing into root array item schema...") + # Path for recursion: base_path_for_log + ".0" or just "0" if base_path is empty + new_base_path = f"{base_path_for_log}.0" if base_path_for_log else "0" + if self._find_target_field_in_schema(items_schema_resolved, new_base_path): + self.logger.info(f"目标字段(请求体 - 根为对象数组,属性在对象内) found via recursion from '{new_base_path}'") + return True + self.logger.debug(f"Path: '{base_path_for_log}[*]', Recursion for root array item object did not find target.") + else: + self.logger.debug(f"Path: '{base_path_for_log}[*]', Item type '{item_type}' is not simple or object.") + else: + self.logger.debug(f"Path: '{base_path_for_log}', Root array items schema is not a dict or missing. Items: {items_schema}") + else: + self.logger.debug(f"Path: '{base_path_for_log}', Schema type is '{schema_type}', not 'object' or 'array'. Cannot find properties here.") + + + self.logger.debug(f"Exit _find_target_field_in_schema for base_path: '{base_path_for_log if base_path_for_log else 'root'}'. Target NOT found in this path.") + return False + + def generate_query_params(self, current_query_params: Dict[str, Any]) -> Dict[str, Any]: + self.logger.debug(f"{self.id} is focused on request body, generate_query_params will not modify query parameters.") + return current_query_params + + def generate_request_body(self, current_body: Optional[Any]) -> Optional[Any]: + if not self.target_field_path: # target_field_location is always "body" + return current_body + + self.logger.debug(f"准备修改请求体以测试类型不匹配。目标路径: {self.target_field_path}, 原始类型: {self.original_field_type}") + + modified_body = copy.deepcopy(current_body) if current_body is not None else {} + + # Ensure body is a dict if path is not empty, or if it's empty and body is None, init to {} + if self.target_field_path and not isinstance(modified_body, dict): + if not modified_body and not self.target_field_path[0]: # Path is effectively root, and body is None/empty + modified_body = {} # Initialize if targeting root of an empty body + else: + self.logger.warning(f"请求体不是字典类型 (is {type(modified_body)}),但目标字段路径为 {self.target_field_path}。无法安全应用修改。") + return current_body + elif not self.target_field_path and not modified_body: # No path (targeting root) and body is None + self.logger.warning(f"目标字段路径为空 (表示根对象) 但当前请求体也为空,无法确定如何修改。") + return current_body + + + temp_obj_ref = modified_body + try: + for i, key_or_index in enumerate(self.target_field_path): + is_last_part = (i == len(self.target_field_path) - 1) + + if isinstance(key_or_index, int): # Array index + if not isinstance(temp_obj_ref, list) or key_or_index >= len(temp_obj_ref): + self.logger.warning(f"路径 {self.target_field_path[:i+1]} 指向数组索引,但当前对象不是列表或索引 ({key_or_index}) 越界 (len: {len(temp_obj_ref) if isinstance(temp_obj_ref, list) else 'N/A'})。") + # Attempt to create list/elements if they don't exist up to this point (for safety, only if current is None or empty list) + if isinstance(temp_obj_ref, list) and key_or_index == 0 and not temp_obj_ref: # Empty list, trying to set first element + temp_obj_ref.append({}) # Add a dict placeholder for the first element + elif temp_obj_ref is None and key_or_index == 0: # If parent was None, can't proceed here unless path logic is very robust for creation + return current_body # Cannot proceed + else: + return current_body # Cannot proceed + + if is_last_part: + original_value = temp_obj_ref[key_or_index] + new_value = self._get_mismatched_value(self.original_field_type, original_value, self.target_field_schema) + self.logger.info(f"在路径 {self.target_field_path} (数组索引 {key_or_index}) 处,将值从 '{original_value}' 修改为 '{new_value}' (原始类型: {self.original_field_type})") + temp_obj_ref[key_or_index] = new_value + else: + temp_obj_ref = temp_obj_ref[key_or_index] + + elif isinstance(temp_obj_ref, dict): # Dictionary key + if key_or_index not in temp_obj_ref and not is_last_part: + self.logger.debug(f"路径 {self.target_field_path[:i+1]} 中的键 '{key_or_index}' 在当前对象中不存在,将创建它。") + temp_obj_ref[key_or_index] = {} # Create path if not exists + + if is_last_part: + original_value = temp_obj_ref.get(key_or_index) + new_value = self._get_mismatched_value(self.original_field_type, original_value, self.target_field_schema) + self.logger.info(f"在路径 {self.target_field_path} (键 '{key_or_index}') 处,将值从 '{original_value}' 修改为 '{new_value}' (原始类型: {self.original_field_type})") + temp_obj_ref[key_or_index] = new_value + else: + temp_obj_ref = temp_obj_ref[key_or_index] + if temp_obj_ref is None and not is_last_part: + self.logger.warning(f"路径 {self.target_field_path[:i+1]} 的值在深入时变为None。创建空字典继续。") + # This part is tricky, if temp_obj_ref was a key in parent, parent[key_or_index] is None. + # We need to set parent[key_or_index] = {} and then temp_obj_ref = parent[key_or_index] + # This requires knowing the parent. Let's simplify: if it becomes None, we might not be able to proceed unless it's the dict itself. + # The current logic `temp_obj_ref = temp_obj_ref[key_or_index]` means if `temp_obj_ref` was `obj[key]`, now `temp_obj_ref` IS `obj[key]`s value. + # If this value is None, and we are not at the end, we should create a dict there if the next part of path is a string key. + # This modification is done in the check `if key_or_index not in temp_obj_ref and not is_last_part:` + # If it's None AFTER that, it means the schema might be complex (e.g. anyOf, oneOf) or data is unexpectedly null. + # For robustness, if it's None and not the last part, we can assume we need a dict for the next key. + # The path creation `temp_obj_ref[key_or_index] = {}` for the *next* key happens at the start of the loop for that next key. + pass # Already handled by creation logic at the start of the loop iteration for the next key + else: + self.logger.warning(f"尝试访问路径 {self.target_field_path[:i+1]} 时,当前对象 ({type(temp_obj_ref)}) 不是字典或列表。") + return current_body + + except Exception as e: + self.logger.error(f"在根据路径 {self.target_field_path} 修改请求体时发生错误: {e}", exc_info=True) + return current_body + + return modified_body + + def _get_mismatched_value(self, original_type: Optional[str], original_value: Any, field_schema: Optional[Dict[str, Any]]) -> Any: + if original_type == "string": + if field_schema and "enum" in field_schema and isinstance(field_schema["enum"], list): + if 123 not in field_schema["enum"]: return 123 + if False not in field_schema["enum"]: return False + return 12345 + elif original_type == "integer": + if field_schema and "enum" in field_schema and isinstance(field_schema["enum"], list): + if "not-an-integer" not in field_schema["enum"]: return "not-an-integer" + if 3.14 not in field_schema["enum"]: return 3.14 + return "not-an-integer" + elif original_type == "number": + if field_schema and "enum" in field_schema and isinstance(field_schema["enum"], list): + if "not-a-number" not in field_schema["enum"]: return "not-a-number" + return "not-a-number" + elif original_type == "boolean": + if field_schema and "enum" in field_schema and isinstance(field_schema["enum"], list): + if "not-a-boolean" not in field_schema["enum"]: return "not-a-boolean" + if 1 not in field_schema["enum"]: return 1 + return "not-a-boolean" + elif original_type == "array": + return {"value": "not-an-array"} + elif original_type == "object": + return ["not", "an", "object"] + + self.logger.warning(f"类型不匹配测试(请求体):原始类型 '{original_type}' 未知或无法生成不匹配值,将返回固定字符串 'mismatch_test'。") + return "mismatch_test" # Fallback + + def validate_response(self, response_context: APIResponseContext, request_context: APIRequestContext) -> List[ValidationResult]: + results = [] + status_code = response_context.status_code + json_content = response_context.json_content + + if not self.target_field_path: + results.append(self.passed("跳过测试:在请求体中未找到合适的字段来测试类型不匹配。")) + self.logger.info(f"{self.id}: 由于未识别到目标请求体字段,跳过类型不匹配测试。") + return results + + expected_status_codes = [400, 422] + specific_error_code_from_appendix_b = "4001" # Example + + if status_code in expected_status_codes: + msg = f"API对请求体字段 '{'.'.join(str(p) for p in self.target_field_path)}' 的类型不匹配响应了 {status_code},符合预期。" + error_code_in_response = json_content.get("code") if isinstance(json_content, dict) else None + if error_code_in_response == specific_error_code_from_appendix_b: + results.append(self.passed(f"{msg} 并成功接收到特定错误码 '{specific_error_code_from_appendix_b}'。")) + elif error_code_in_response: + results.append(ValidationResult(passed=True, + message=f"{msg} 但响应体中的错误码是 '{error_code_in_response}' (期望类似 '{specific_error_code_from_appendix_b}')。", + details=json_content if isinstance(json_content, dict) else {"raw_response": str(json_content)} + )) + else: + results.append(self.passed(f"{msg} 响应体中未找到错误码或结构不符合预期。")) + else: + results.append(self.failed( + message=f"对请求体字段 '{'.'.join(str(p) for p in self.target_field_path)}' 的类型不匹配测试期望状态码为 {expected_status_codes} 之一,但收到 {status_code}。", + details={"status_code": status_code, "response_body": json_content} + )) + self.logger.warning(f"{self.id}: 类型不匹配测试失败。字段: body.{'.'.join(str(p) for p in self.target_field_path)}, 期望状态码: {expected_status_codes}, 实际: {status_code}。") + + return results \ No newline at end of file diff --git a/custom_testcases/compliance_catalog/error_handling/type_mismatch_query_param_case.py b/custom_testcases/compliance_catalog/error_handling/type_mismatch_query_param_case.py new file mode 100644 index 0000000..c3d1d15 --- /dev/null +++ b/custom_testcases/compliance_catalog/error_handling/type_mismatch_query_param_case.py @@ -0,0 +1,229 @@ +from typing import Dict, Any, Optional, List +from ddms_compliance_suite.test_framework_core import BaseAPITestCase, TestSeverity, ValidationResult, APIRequestContext, APIResponseContext +import copy +import logging + +class TypeMismatchQueryParamCase(BaseAPITestCase): + id = "TC-ERROR-4001-QUERY" + name = "Error Code 4001 - Query Parameter Type Mismatch Validation" + description = "测试当发送的查询参数数据类型与API规范定义不符时,API是否按预期返回类似4001的错误(或通用400错误)。" + severity = TestSeverity.MEDIUM + tags = ["error-handling", "appendix-b", "4001", "query-parameters"] + execution_order = 201 # Slightly after the combined one might have been + + def __init__(self, endpoint_spec: Dict[str, Any], global_api_spec: Dict[str, Any], json_schema_validator: Optional[Any] = None): + super().__init__(endpoint_spec, global_api_spec, json_schema_validator) + self.logger.setLevel(logging.DEBUG) + self.target_field_path: Optional[List[str]] = None + self.original_field_type: Optional[str] = None + # Location is always 'query' for this class + self.target_field_location: str = "query" + self.target_field_schema: Optional[Dict[str, Any]] = None + + self.logger.critical(f"{self.id} __INIT__ >>> STARTED") + self.logger.debug(f"开始为端点 {self.endpoint_spec.get('method')} {self.endpoint_spec.get('path')} 初始化查询参数类型不匹配测试的目标字段查找。") + + parameters = self.endpoint_spec.get("parameters", []) + self.logger.critical(f"{self.id} __INIT__ >>> Parameters to be processed: {parameters}") + self.logger.debug(f"传入的参数列表 (在 {self.id}中): {parameters}") + + for param_spec in parameters: + if param_spec.get("in") == "query": + param_name = param_spec.get("name") + if not param_name: + self.logger.warning("发现一个没有名称的查询参数定义,已跳过。") + continue + + self.logger.debug(f"检查查询参数: '{param_name}'") + + param_type = param_spec.get("type") + param_schema = param_spec.get("schema") + + # Scenario 1: Simple type directly in param_spec (e.g., type: string) + if param_type in ["string", "number", "integer", "boolean"]: + self.target_field_path = [param_name] + self.original_field_type = param_type + self.target_field_schema = param_spec + self.logger.info(f"目标字段(查询参数 - 简单类型): {param_name},原始类型: {self.original_field_type}") + break + # Scenario 2: Schema defined for the query parameter (OpenAPI 3.0 style, or complex objects in query) + elif isinstance(param_schema, dict): + self.logger.debug(f"查询参数 '{param_name}' 包含嵌套 schema,尝试在其内部查找简单类型字段。") + # We need to find a simple type *within* this schema. + # _find_target_field_in_schema is designed for requestBody, let's adapt or simplify. + # For query parameters, complex objects are less common or might be flattened. + # Let's try to find a simple type property directly within this schema if it's an object. + resolved_param_schema = self._resolve_ref_if_present(param_schema) + if resolved_param_schema.get("type") == "object": + properties = resolved_param_schema.get("properties", {}) + for prop_name, prop_details_orig in properties.items(): + prop_details = self._resolve_ref_if_present(prop_details_orig) + if prop_details.get("type") in ["string", "number", "integer", "boolean"]: + self.target_field_path = [param_name, prop_name] # Path will be param_name.prop_name + self.original_field_type = prop_details.get("type") + self.target_field_schema = prop_details + self.logger.info(f"目标字段(查询参数 - 对象属性): {param_name}.{prop_name},原始类型: {self.original_field_type}") + break # Found a suitable property + if self.target_field_path: break # Break outer loop if found + elif resolved_param_schema.get("type") in ["string", "number", "integer", "boolean"]: # Schema itself is simple after ref resolution + self.target_field_path = [param_name] + self.original_field_type = resolved_param_schema.get("type") + self.target_field_schema = resolved_param_schema + self.logger.info(f"目标字段(查询参数 - schema为简单类型): {param_name},原始类型: {self.original_field_type}") + break + + else: + self.logger.debug(f"查询参数 '{param_name}' (type: {param_type}, schema: {param_schema}) 不是直接的简单类型,也无直接可用的对象型 schema 属性。") + + if not self.target_field_path: + self.logger.info(f"最终,在端点 {self.endpoint_spec.get('method')} {self.endpoint_spec.get('path')} 的查询参数中,均未找到可用于测试类型不匹配的字段。") + + def _resolve_ref_if_present(self, schema_to_resolve: Dict[str, Any]) -> Dict[str, Any]: + ref_value = None + if isinstance(schema_to_resolve, dict): + if "$ref" in schema_to_resolve: + ref_value = schema_to_resolve["$ref"] + elif "$$ref" in schema_to_resolve: + ref_value = schema_to_resolve["$$ref"] + + if ref_value: + self.logger.debug(f"发现引用 '{ref_value}',尝试解析...") + try: + actual_global_spec_dict = None + if hasattr(self.global_api_spec, 'spec') and isinstance(self.global_api_spec.spec, dict): + actual_global_spec_dict = self.global_api_spec.spec + elif isinstance(self.global_api_spec, dict): + actual_global_spec_dict = self.global_api_spec + + if not actual_global_spec_dict: + self.logger.warning(f"无法从 self.global_api_spec (类型: {type(self.global_api_spec)}) 获取用于解析引用的字典。") + return schema_to_resolve + + resolved_schema = None + if ref_value.startswith("#/components/schemas/"): + schema_name = ref_value.split("/")[-1] + components = actual_global_spec_dict.get("components") + if components and isinstance(components.get("schemas"), dict): + resolved_schema = components["schemas"].get(schema_name) + if resolved_schema and isinstance(resolved_schema, dict): + self.logger.info(f"成功从 #/components/schemas/ 解析引用 '{ref_value}'。") + return resolved_schema + else: + self.logger.warning(f"解析引用 '{ref_value}' (路径: #/components/schemas/) 失败:未找到或找到的不是字典: {schema_name}") + else: + self.logger.warning(f"尝试从 #/components/schemas/ 解析引用 '{ref_value}' 失败:无法找到 'components.schemas' 结构。") + + if not resolved_schema and ref_value.startswith("#/definitions/"): + schema_name = ref_value.split("/")[-1] + definitions = actual_global_spec_dict.get("definitions") + if definitions and isinstance(definitions, dict): + resolved_schema = definitions.get(schema_name) + if resolved_schema and isinstance(resolved_schema, dict): + self.logger.info(f"成功从 #/definitions/ 解析引用 '{ref_value}'。") + return resolved_schema + else: + self.logger.warning(f"解析引用 '{ref_value}' (路径: #/definitions/) 失败:未找到或找到的不是字典: {schema_name}") + else: + self.logger.warning(f"尝试从 #/definitions/ 解析引用 '{ref_value}' 失败:无法找到 'definitions' 结构。") + + if not resolved_schema: + self.logger.warning(f"最终未能通过任一已知路径 (#/components/schemas/ 或 #/definitions/) 解析引用 '{ref_value}'。") + + except Exception as e: + self.logger.error(f"解析引用 '{ref_value}' 时发生错误: {e}", exc_info=True) + return schema_to_resolve + + # No generate_request_body, or it simply returns current_body + def generate_request_body(self, current_body: Optional[Any]) -> Optional[Any]: + self.logger.debug(f"{self.id} is focused on query parameters, generate_request_body will not modify the body.") + return current_body + + def generate_query_params(self, current_query_params: Dict[str, Any]) -> Dict[str, Any]: + if not self.target_field_path: # target_field_location is always "query" + return current_query_params + + self.logger.debug(f"准备修改查询参数以测试类型不匹配。目标路径: {self.target_field_path}, 原始类型: {self.original_field_type}") + + modified_params = copy.deepcopy(current_query_params) if current_query_params is not None else {} + + temp_obj_ref = modified_params + try: + for i, key in enumerate(self.target_field_path): + is_last_part = (i == len(self.target_field_path) - 1) + if is_last_part: + original_value = temp_obj_ref.get(key) + new_value = self._get_mismatched_value(self.original_field_type, original_value, self.target_field_schema) + self.logger.info(f"在查询参数路径 {self.target_field_path} (键 '{key}') 处,将值从 '{original_value}' 修改为 '{new_value}' (原始类型: {self.original_field_type})") + temp_obj_ref[key] = new_value + else: # Navigating a nested structure within a query param (e.g. filter[field]=value) + if key not in temp_obj_ref or not isinstance(temp_obj_ref[key], dict): + # If path expects a dict but it's not there, create it. + # This is crucial for structured query params like "filter[name]=value" + # where target_field_path might be ["filter", "name"]. + temp_obj_ref[key] = {} + temp_obj_ref = temp_obj_ref[key] + + except Exception as e: + self.logger.error(f"在根据路径 {self.target_field_path} 修改查询参数时发生错误: {e}", exc_info=True) + return current_query_params + + return modified_params + + def _get_mismatched_value(self, original_type: Optional[str], original_value: Any, field_schema: Optional[Dict[str, Any]]) -> Any: + if original_type == "string": + if field_schema and "enum" in field_schema and isinstance(field_schema["enum"], list): + if 123 not in field_schema["enum"]: return 123 + if False not in field_schema["enum"]: return False + return 12345 + elif original_type == "integer": + if field_schema and "enum" in field_schema and isinstance(field_schema["enum"], list): + if "not-an-integer" not in field_schema["enum"]: return "not-an-integer" + if 3.14 not in field_schema["enum"]: return 3.14 + return "not-an-integer" + elif original_type == "number": + if field_schema and "enum" in field_schema and isinstance(field_schema["enum"], list): + if "not-a-number" not in field_schema["enum"]: return "not-a-number" + return "not-a-number" + elif original_type == "boolean": + if field_schema and "enum" in field_schema and isinstance(field_schema["enum"], list): + if "not-a-boolean" not in field_schema["enum"]: return "not-a-boolean" + if 1 not in field_schema["enum"]: return 1 + return "not-a-boolean" + + self.logger.warning(f"类型不匹配测试(查询参数):原始类型 '{original_type}' 未知或无法生成不匹配值,将返回固定字符串 'mismatch_test'。") + return "mismatch_test" # Fallback for other types or if logic is incomplete + + def validate_response(self, response_context: APIResponseContext, request_context: APIRequestContext) -> List[ValidationResult]: + results = [] + status_code = response_context.status_code + json_content = response_context.json_content + + if not self.target_field_path: + results.append(self.passed("跳过测试:在查询参数中未找到合适的字段来测试类型不匹配。")) + self.logger.info(f"{self.id}: 由于未识别到目标查询参数字段,跳过类型不匹配测试。") + return results + + expected_status_codes = [400, 422] + specific_error_code_from_appendix_b = "4001" # Example + + if status_code in expected_status_codes: + msg = f"API对查询参数 '{'.'.join(self.target_field_path)}' 的类型不匹配响应了 {status_code},符合预期。" + # Further check for specific error code in body if applicable + error_code_in_response = json_content.get("code") if isinstance(json_content, dict) else None + if error_code_in_response == specific_error_code_from_appendix_b: + results.append(self.passed(f"{msg} 并成功接收到特定错误码 '{specific_error_code_from_appendix_b}'。")) + elif error_code_in_response: + results.append(ValidationResult(passed=True, + message=f"{msg} 但响应体中的错误码是 '{error_code_in_response}' (期望类似 '{specific_error_code_from_appendix_b}')。", + details=json_content if isinstance(json_content, dict) else {"raw_response": str(json_content)} + )) + else: + results.append(self.passed(f"{msg} 响应体中未找到错误码或结构不符合预期。")) + else: + results.append(self.failed( + message=f"对查询参数 '{'.'.join(self.target_field_path)}' 的类型不匹配测试期望状态码为 {expected_status_codes} 之一,但收到 {status_code}。", + details={"status_code": status_code, "response_body": json_content} + )) + self.logger.warning(f"{self.id}: 类型不匹配测试失败。字段: query.{'.'.join(self.target_field_path)}, 期望状态码: {expected_status_codes}, 实际: {status_code}。") + + return results \ No newline at end of file diff --git a/custom_testcases/compliance_catalog/normative_spec/__init__.py b/custom_testcases/compliance_catalog/normative_spec/__init__.py new file mode 100644 index 0000000..e9c7614 --- /dev/null +++ b/custom_testcases/compliance_catalog/normative_spec/__init__.py @@ -0,0 +1 @@ +# This file marks the normative_spec directory as a Python package. \ No newline at end of file diff --git a/custom_testcases/compliance_catalog/normative_spec/__pycache__/http_method_usage_case.cpython-312.pyc b/custom_testcases/compliance_catalog/normative_spec/__pycache__/http_method_usage_case.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..46651f39bc9c11c35c2780373aa36c1bc20e7bb8 GIT binary patch literal 499 zcmYjNyKWUR5Vd#rK9eXU6cqV_m7zEg2+fdI-WD{FI!u4Mz;4(Ebs3!_C0_8S#e9Q9}&4?Eo-@9mP>96 zS=dsRwvrXk{=$sxSdQ&PPV7`p?M%+>T+TULm38$am#M2%J@0f(a;Gq{A%#Z|iZR++9y0#yE8q2tP|_Ho$}q|>CP;PLT5Pnl-gK(h(BRNTIEYlWxd_U_M;G3c z9w1C|(lo;?Lq1#BAo$F#3E3YMZx8~Cwbu_1Mb1O7G>G-uEXDs0LJt_7ZE_1ui{c%v z(JCtA7NU2-(z2H{j|VN5G5W?rT)MUyP%VH05e_^Z^09U8VBksEp&2+md_eHC List[ValidationResult]: +# results = [] +# method = request_context.method.upper() +# status_code = response_context.status_code + +# # 基于常见RESTful约定的基本检查 +# # 这些是通用指南,可能需要根据具体的API设计进行调整。 + +# if method == "GET": +# if status_code // 100 == 2: # 成功的GET +# results.append(self.passed(f"GET请求 {request_context.url} 返回了成功的状态码 {status_code}。")) +# elif status_code == 404: +# results.append(self.passed(f"GET请求 {request_context.url} 返回404,如果资源不存在则这是有效的响应。")) +# # GET请求的其他状态码可能是错误或此处未覆盖的特定条件。 + +# elif method == "POST": +# if status_code == 201: # 已创建 +# results.append(self.passed(f"POST请求 {request_context.url} 返回201 Created,符合资源创建的预期。")) +# elif status_code == 200 or status_code == 202: # OK或已接受(例如,用于异步任务) +# results.append(self.passed(f"POST请求 {request_context.url} 返回{status_code},这可以是有效的响应。")) +# # 可添加对400(错误请求,例如payload无效)等的检查。 + +# elif method == "PUT": +# if status_code == 200: # OK(已更新) +# results.append(self.passed(f"PUT请求 {request_context.url} 返回200 OK,符合资源更新的预期。")) +# elif status_code == 201: # 已创建(如果PUT在资源不存在时创建资源) +# results.append(self.passed(f"PUT请求 {request_context.url} 返回201 Created,这可以是有效的响应。")) +# elif status_code == 204: # 无内容(已更新,不返回响应体) +# results.append(self.passed(f"PUT请求 {request_context.url} 返回204 No Content,这可以是有效的响应。")) +# # 可添加对404(未找到,如果要更新的资源不存在,除非PUT会创建)的检查。 + +# elif method == "DELETE": +# if status_code == 200 or status_code == 202 or status_code == 204: # OK、已接受或无内容 +# results.append(self.passed(f"DELETE请求 {request_context.url} 返回{status_code},表示成功删除。")) +# # 可添加对404(未找到,如果要删除的资源不存在)的检查。 + +# # 405(方法不允许)检查的占位符 - 这比较复杂 +# # 要测试405,通常需要: +# # 1. 知道哪些方法是此路径明确不允许的。 +# # 2. 或者,尝试使用其他常见方法(OPTIONS, PATCH等)发送请求, +# # 如果这些方法未在此路径的规范中定义,则期望405。 +# # 这通常需要更具针对性的测试用例或不同的方法。 +# # self.logger.info("此通用测试用例未实现405(方法不允许)检查。") + +# if not results: # 如果没有为该方法触发特定的验证 +# results.append(self.passed(f"针对 {method} {request_context.url} 的HTTP方法使用检查完成(基于通用约定未发现特定问题)。")) + +# return results \ No newline at end of file diff --git a/custom_testcases/compliance_catalog/security/__init__.py b/custom_testcases/compliance_catalog/security/__init__.py new file mode 100644 index 0000000..2ffded0 --- /dev/null +++ b/custom_testcases/compliance_catalog/security/__init__.py @@ -0,0 +1 @@ +# This file marks the security directory as a Python package. \ No newline at end of file diff --git a/custom_testcases/compliance_catalog/security/__pycache__/https_mandatory_case.cpython-312.pyc b/custom_testcases/compliance_catalog/security/__pycache__/https_mandatory_case.cpython-312.p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@?uoJ zVc^1CO33qOfalTL_%+Z-3Jkx|8u+z1R67CzC~)xGai9vpfX@xiWz`jUymm?519}S# zHxpO@^z%HXWs;s8jKrh9pjjga@*7}<--yc^5CBxf1X&y{ z9zHp`FHToeIEe4%Ab7BW-2daj{URtMV(WwFVTekUEQ@Fo<*VZ5EwS>Jh;F*pbfx=Z zcf7VGR@-v(yYUS>V;go(*1iz0wZ>|#qP7a6Z+%@{XNu`ele(4B@&~%+guZmdI&2-? zc;(rP&nBvNiMwBk?{>s?J0^EK#a%4q%N*^(w7JsF%qysx#)lMBQ}{K-6c_+oL2*u2 zQ2WZ1zB^G`6|v6iDSd@l)$~Bul&EWp*KLZ`ZHm`zjn!?vwRN&?XJp@h8tUHP^x?K^ z+v27zG1Hb?^^>OEaZ_8&)D|~&#Y|n3rXPyk>;n^Wm` zv?*rVB(B&jZgz+V4~Y&Qm=oyj$m0&?MeMdSR_v_IOW4)!N5+k7fN^69FkV~=j2D+( z(4E!Ai;S@%qiC|++b3E&#HTu^in`{vP(>Ay!ufxqikCl`^sA!XExy_h=solfq+(%! z406zpT{{EP0@D3VV(sSp`(icS^D4rE0$ET13)(CTrdW|lTxGep=iYN-+iRjDAij18 z_VO~`l@{h}iYjhp=GV%6t)U7lM=h~}`m4`8C}>!4eRZS%9ItPQ)whUs8^jHO%p<<$ z1!O+D3;C)1!T)uK_1kW}a_hzWRbp+&l)iI*g-r9QZ=-3BHpf>#7hCoV1sH9WXYZ4VTiK@p>c|d&CB_41C#eUjCPT9&Np57o@UyWP)W7hr$)OE%d`t2SCDJMQl`C!hs(gKC#>@vk1sK~ z4OwbLh$v1;4{tV9dz$1D5AiH0tY1+w7e<89Zj-P5dHxj`qF4otFy<9BP5+)+J4vnm dGed#mLxmCA|DsC2R_>$eiqZOSDC`NQ{{^LLgNy(G literal 0 HcmV?d00001 diff --git a/custom_testcases/compliance_catalog/security/https_mandatory_case.py b/custom_testcases/compliance_catalog/security/https_mandatory_case.py new file mode 100644 index 0000000..de1c4c1 --- /dev/null +++ b/custom_testcases/compliance_catalog/security/https_mandatory_case.py @@ -0,0 +1,84 @@ +from typing import Dict, Any, Optional, List +from ddms_compliance_suite.test_framework_core import BaseAPITestCase, TestSeverity, ValidationResult, APIRequestContext, APIResponseContext +import urllib.parse + +class HTTPSMandatoryCase(BaseAPITestCase): + id = "TC-SECURITY-001" + name = "HTTPS Protocol Mandatory Verification" + description = "验证API端点是否通过HTTPS提供服务,以及HTTP请求是否被拒绝或重定向到HTTPS。" + severity = TestSeverity.CRITICAL + tags = ["security", "https", "transport-security"] + execution_order = 120 + + # 此测试会修改URL为HTTP,应适用于大多数端点。 + + def __init__(self, endpoint_spec: Dict[str, Any], global_api_spec: Dict[str, Any], json_schema_validator: Optional[Any] = None): + super().__init__(endpoint_spec, global_api_spec, json_schema_validator) + self.logger.info(f"测试用例 '{self.id}' 已为端点 '{self.endpoint_spec.get('method')} {self.endpoint_spec.get('path')}' 初始化。") + + def modify_request_url(self, current_url: str) -> str: + parsed_url = urllib.parse.urlparse(current_url) + if parsed_url.scheme.lower() == "httpss": + # 将 https 替换为 http + modified_url = parsed_url._replace(scheme="http").geturl() + self.logger.info(f"为进行HTTPS检查修改URL:原始 '{current_url}', 修改为 '{modified_url}'") + return modified_url + else: + self.logger.warning(f"原始URL '{current_url}' 不是HTTPS。跳过此测试用例的URL修改。") + # 如果原始URL不是HTTPS,此测试可能无效, + # 或者暗示基础URL本身可能未正确配置以进行HTTPS测试。 + return current_url # 如果不是HTTPS则返回原始URL + + def validate_response(self, response_context: APIResponseContext, request_context: APIRequestContext) -> List[ValidationResult]: + results = [] + status_code = response_context.status_code + # request_context.url 是调用 modify_request_url 之后,APICaller实际发送的URL + request_url_scheme = urllib.parse.urlparse(request_context.url).scheme + + # 检查URL是否确实被此测试的钩子修改为了HTTP + if request_url_scheme.lower() != "http": + results.append(self.passed( + message=f"测试已跳过,因为发送的URL已经是 {request_url_scheme.upper()}(可能是由于原始基础URL非HTTPS或测试设置问题)。" + )) + self.logger.info("HTTPS强制性检查已跳过,因为有效URL不是HTTP。") + return results + + # 如果请求是通过HTTP发出的,我们期望几种结果: + # 1. 拒绝(例如400、403,或连接被拒绝 - 尽管APICaller可能在此之前处理连接拒绝) + # 2. 重定向到HTTPS(例如301、302、307、308,并带有指向HTTPS的Location头) + + if status_code in [301, 302, 307, 308]: # 重定向状态码 + location_header = response_context.headers.get("Location") + if location_header and urllib.parse.urlparse(location_header).scheme.lower() == "httpss": + results.append(self.passed( + message=f"对 {request_context.url} 的HTTP请求被正确重定向到HTTPS ({location_header}),状态码 {status_code}。" + )) + self.logger.info(f"HTTP被正确重定向到HTTPS: {location_header}") + else: + results.append(self.failed( + message=f"对 {request_context.url} 的HTTP请求被重定向(状态码 {status_code}),但Location头 '{location_header}' 未指向HTTPS URL。", + details={"status_code": status_code, "location_header": location_header} + )) + self.logger.warning(f"HTTP被重定向,状态码 {status_code},但Location '{location_header}' 不是HTTPS。") + elif status_code // 100 == 4: # 客户端错误(例如400错误请求,403禁止访问) + results.append(self.passed( + message=f"对 {request_context.url} 的HTTP请求被客户端错误(状态码 {status_code})拒绝,表明不允许HTTP访问。" + )) + self.logger.info(f"HTTP请求被客户端错误 {status_code} 拒绝。") + elif status_code // 100 == 2: # 通过HTTP成功返回2xx响应 + results.append(self.failed( + message=f"API通过HTTP ({request_context.url}) 响应了成功的状态码 {status_code},这违反了HTTPS强制策略。", + details={"status_code": status_code} + )) + self.logger.error(f"安全漏洞:API允许通过HTTP成功响应 ({status_code})。") + else: + # 其他状态码(例如5xx)可能表示与HTTPS强制执行无关的服务器错误, + # 或者连接在更底层被拒绝(APICaller可能会抛出异常)。 + results.append(ValidationResult( + passed=False, # 或True,取决于严格程度 - 5xx不是通过,但不一定是HTTPS失败 + message=f"对 {request_context.url} 的HTTP请求返回了意外的状态码 {status_code}。需要手动调查。", + details={"status_code": status_code, "response_text_sample": (response_context.text_content or "")[:200]} + )) + self.logger.warning(f"HTTP请求返回意外状态码 {status_code}。潜在问题或服务器错误。") + + return results \ No newline at end of file diff --git a/custom_testcases1/__pycache__/basic_checks.cpython-312.pyc b/custom_testcases1/__pycache__/basic_checks.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..74bf19b36b53146ab6018050f22a1a0bd27c1691 GIT binary patch literal 5951 zcmdUzYj6|S6@Yi8)x(x#*~ZugY`hQ$BZzIBG&F(mFtz~)Y=bS6MEuyu+KVk)FYZc! z9XoY0Bry$Xm^Nu#0!i8?sd=Q3PMQa8Q~HmY_QzF7N1APB%1p4qziI}UWb&)$>`Jn1 zE9vW3cQp6zJ?Fmm-gD3SuKw(B;2`SV%vn)XVKYczKPJIhhY|LEgg$ z4IV?#=rINbj}SC@Og!og0kg*pxiMe~T0Pcao+mGu@5$#m1Gj^dg`=EoBK$d{-lxZ= zNzEX&WJ&FV2A6djtGG<6bDLKojeA<%M2R-Rt7^x$E^>%ae{@hS+~*DWWpC6U4s{YG z7Ko}vP`Q&FjA8w7C`yh*)nZMgM8YA3q-5XEvZ>eL$&<~VeA(i$5j%0n z)<-}Mr2?&#mnu26QhusbsFiG5sYJGuB2r8i9WX4xmX0~40#ZU2q5Ob(j61-~&Z7>` zV!4o%%0;A1E+*w^%38|ki*?n z+vRR_cX!pUTh|a<3jI#Ld1>m@`5Qm{aBB3K8*e=$LS1p{m!nf}z7wkj_4L`}H!nOR z!upDnKY3~L(kq#oQ{xvVPrQ5m<4anTj$L1lKC9XkZA{4rgR1#TFg!q{DD2ZTTAy1j zj44D41cK6mFqL}3@}OFlEs1!eeNx0ry+K7S&sM-*)4{Z6QMRU!cx6Hr)j>jXBWx<>u7CQX_>Dna9a{uampJ*+Z>E1dHhJNb8|NGet1&!2 zHR9yh>B(QcIC=c1U@K>=s!54O2vx0;#H4uxjwjsu1!92`z!v zsl6(QLqDYd0-b{pN^qU>^-3r)7{ZPcWuA%;Lm<}ir zuaDFZ4F&q@ec@mv;P-~0?29SUa8R>TANU`ozQ?QheG=G;Z$PPw3{nxg99p*UIMt;m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S&D0A;uyIa7 y!kIDhJpYw}1ICAcL?HbeSMYakRh(OON2uq^#;fjdklpFw?}fsayBuU%r~d?&YbtaA literal 0 HcmV?d00001 diff --git a/custom_testcases1/compliance_catalog/__init__.py b/custom_testcases1/compliance_catalog/__init__.py new file mode 100644 index 0000000..594a722 --- /dev/null +++ b/custom_testcases1/compliance_catalog/__init__.py @@ -0,0 +1 @@ +# This file marks the compliance_catalog directory as a Python package. \ No newline at end of file diff --git a/custom_testcases1/compliance_catalog/error_handling/__init__.py b/custom_testcases1/compliance_catalog/error_handling/__init__.py new file mode 100644 index 0000000..e12868e --- /dev/null +++ b/custom_testcases1/compliance_catalog/error_handling/__init__.py @@ -0,0 +1 @@ +# This file marks the error_handling directory as a Python package. \ No newline at end of file diff --git a/custom_testcases1/compliance_catalog/error_handling/__pycache__/missing_required_field_body_case.cpython-312.pyc b/custom_testcases1/compliance_catalog/error_handling/__pycache__/missing_required_field_body_case.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..07693f41d175f7a853284541510b62306b69e526 GIT binary patch literal 21478 zcmch9ZCF!Ry6DbM0s+F8fQSUyd}u(vRH&^~MG+MdQ9)4yng(`&VEE`xqC$hibZm<= z{h%}LsMS{Nu~Ry=6=!-{T5U_8JNI7a&fIhMHt{CS@p-Ou4gvf%w6@R8Gv~*>@4I$( zvcahBoSDg!XTSSnt#`faUGG}^{aX8Xv9Zw<{J#CVq$6Q3Mg0d}NI!Mp}ZB=(g7$UkN4Ut_MgQhFW5Y-iJh$hdJ))+$!lu=r> z1}#l(rC8MoidCB<-c^eD4Y7U7{D?bvk+1Tpsw}N`pK@b&pHH*1*KX2J;a!XR-JB5*kfb3v0qk^=6yHYWF2V;d=9v4lLi( zZ8smY`xcN}w%(p@n>lc=u2rN&JZb_LcMBC1^&E8EOc@j`WuRGwLCMkv6{|D=`JHj{ zO5(Xe(+=HxQ(=f=)rM$x5gTESF>B4SZFCwGU?b;TY0PovSiIjBF+{Z~*r*e+hIlr5 zP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pK3qFi!0+_%J9?nfA#$AvoGV1~ zN@}W*NXhC;{?y<&Lba6Z4m%r~|AoA!E}_VNyPyouw@7!Y+!C+?f6PUKZXbz#y)xiERcEo!lk zn#vTlm`Wp3vmZ1ZP_29cX&1dHnn{eOrq;(a6Hrx4rY)=%8N*qBio`gHNJ^g`Pl4Pg z1{U$fYxw84@@uy7+x9`t15!j_KM6L4PNX(sl2b(mN|uf~AQAzATRW6}D>R17IHUc=D<}26_IDWPbl(|!IDWjuw+uIbWNndn^?dX z!eFxV4efmUeyDv=66Jv0j@TK^aPI-yX{PogOH6>Wi8_GE0qP(o-P9o@>87?QfCLj{ zM%80duV}!;(5U#HAd{Ps|0#}+fIJV&Og-M$DHqWkR}xjvTbC%DsQM{c4r!wPJ^M~gTbE6f*2R)FER3h&{Cp3$U#Z38`JYp!HYHDrqo1#~y}H>?02M pxhVxnlK)IB8YdS0nIgzq48+6pp9t;uN-ITX4ZQjTfvL#pzX1X;M*IK( literal 0 HcmV?d00001 diff --git a/custom_testcases1/compliance_catalog/error_handling/__pycache__/missing_required_field_query_case.cpython-312.pyc b/custom_testcases1/compliance_catalog/error_handling/__pycache__/missing_required_field_query_case.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..39ab25785b2b3195c1af3466c29076b9cc18728d GIT binary patch literal 7904 zcmb7JYj6`+mhNsnEbC#}82kV~+U8*^JWRmZEHjVwQ`FET6${@MYVxeMY-c?$dZpb`wQ35RA5)V05hhqDJ9s zH+N`k`g{0c(@NTUk4um=i~SvvVRcaO1pH2~q+RLZ1)EN?E^+eg;x$bhSYD`uSILZT z>)Bl_=Mg%j+)YlehjHSdbu1t93Q`^ruVY^gA$`CvuzLh)g51Oh1Ad-Owl%wyl_;el z`Efr6FK>dtEMX@Z!cH-yUBggzEu*o+^4oLL2PyA%gB!$qpR{K)I=hj{XY{OzHM5ph zsu&2EtOvdfYz}L|_Evol(MmGe-4?r*F?JL7T*jpKF=q9xRm)hqwe~zF=K(I}^e>>X z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Q zoL4_aV7<9bseP})p7BbM><8=m344`YLji3TNiTE+Az`4XbzGyUGs(sML)=v~cuA+W~&Q;X^5~d%tt4Xr(?CKv0tYuFB4_G#URR910 literal 0 HcmV?d00001 diff --git a/custom_testcases1/compliance_catalog/error_handling/__pycache__/type_mismatch_body_case.cpython-312.pyc b/custom_testcases1/compliance_catalog/error_handling/__pycache__/type_mismatch_body_case.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0870022cabdfbfc53b3847063d530616c83858b6 GIT binary patch literal 27234 zcmdUYX;d6XnqX#DaTk}kFOh&yQQ{P!1FQ=HI*^1U4oM)Sa)~TZp`t)pRgyr3t@ijp zJ+h5o+b!HagnQg=Jho*t8tt!76c>Ftlkt?r#3?~mQ@ zi>xdPRLG`#_Pw2YQbuNE#1~(D@kQhp-x2&nbaW&GzowbelO3lR=3nqZ{e}2$9v+9A z%Z$JXtd;3y+u2^Oo$J-KYkIZqS{Cy;Ye;WsduVT1dsuIHdw6d|dqi(!dnA3Qu|~B= zK^cuz*RJE3os6J;mJveCp&w`z`0ddH8bjy?vTl95lmRA$!vF89dbMrZZe;C zV);Is!+g#mub^4>{yv-C?8|HHR4`Gl5x$3q+gXNr0XlAG+F5~V=LEK0BXI3nLDLTC z_rwHNQtsQsyP%A>!HS z_E;fuL7Aw)r!K9adsf>XCqxJ43NdD#5M_?<3Ke4E?Fu1o!P~_U;-O4}utIGcYN}Xh zg#>t)C?rCTj^dkSjuw*PDWDHDKMHyjE~G%|Bq7zDEToxJ08XkoP3eu04sX(jnR9G= zMl)l`loMM9`px?+_Fj{t^W^qEVF1T&a79aPaeY(M{-)x}va+?s+xOSC4Q{9x#Xga* z?GwyA=JLh7Z}@nu$0HzKg~ZPfxAQX4arSTi{Qk$U&HU{TW?p{f!G-VL`_Z%aKmKg? z+B0|m_6K(-KbraI^6b^Wfy~+0CT3r}dhgm7GjIR--N~1L9qzyP?EOoBHgokycduW( zJNe?h4}Us)`P1LrxCF0eM?an!`RVMXi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(JetEbdOE-dEFUnp|;<+~sKWbRe;=`X3HOew!&IA0Yi zlE7w4&xmOKqxa|F9~NUjKyE6x0X=&Qjs*^ZC87R`m1rNX9#A7IB^ki`?)CAo@Gz`o zidIhc6oO9;u@mQqn-6It^q0kFq?D4C%?uEy^ptwVy;m)77*qnxk*yik3&=Sx5J1k~ zdG-F)XX zRDgFRZ6};1Vi|dxAxdg}nE5m&NrHO9KaP00WbP@9%4E;NmVp<@Zk$1QsRTC?oSjaG zO*t2YX0mm1aEd7Uml4}ZN!81DNm+3TobFgRNl19pBYzD+cc;>u1}eYCA^DZm?}5hr z8K4ZAZTUF0C6tzZCFRAGQSXg&SI><*#t#X#0GnY0dT6^Mm>OW zydB|FdIL3INTg*Cr~IXWSXK_(DOU<#EDX@AC)J^%6{DM>;f#oLheo3^X&q-G7L$f(sywp#P>KqT(0!GXwR zn++UBJ{LY4ZE#f1?oz(U1D3LSw4Cv@7Hn1@U<6jNM1NZ$Q;fy96DAxoENwY zaFa}tlY|b|<+9nVB)1)6d04cF#}w{k!lZb^jQl$I^2O6cNMAU#J!IH5)HqKOW(PIY z3|{_V>IyM+#ZZ%k@u95Tp?!Z*ZzDC0sxfA~ZbCJ_{x#SwlOv|Q(+$Fb_UWcSoR7o^ z?$g4V0nvT#Z%T^!om82ocrs(sF;zF&eXDSufY<3p$Rr#-DjYca$JPfJGrymtH2D+d zlXdS_%@goA)imAqhrJK*ab8!TDVi*uP+WP1fSC-A3*v*!f=>D-AdT|B&6ZV26URa$wqJ>!B@G9$cD70NLui=z^PQF4HudZO)Oa%rWco==qXJb z?}MYL)p$q~CR*rPc%Bo!b1a9 Dict[str, Any]: + ref_value = None + if isinstance(schema_to_resolve, dict): + if "$ref" in schema_to_resolve: + ref_value = schema_to_resolve["$ref"] + elif "$$ref" in schema_to_resolve: + ref_value = schema_to_resolve["$$ref"] + + if ref_value: + self.logger.debug(f"发现引用 '{ref_value}',尝试解析...") + try: + actual_global_spec_dict = None + if hasattr(self.global_api_spec, 'spec') and isinstance(self.global_api_spec.spec, dict): + actual_global_spec_dict = self.global_api_spec.spec + elif isinstance(self.global_api_spec, dict): + actual_global_spec_dict = self.global_api_spec + + if not actual_global_spec_dict: + self.logger.warning(f"无法从 self.global_api_spec (类型: {type(self.global_api_spec)}) 获取用于解析引用的字典。") + return schema_to_resolve + + resolved_schema = None + if ref_value.startswith("#/components/schemas/"): + schema_name = ref_value.split("/")[-1] + components = actual_global_spec_dict.get("components") + if components and isinstance(components.get("schemas"), dict): + resolved_schema = components["schemas"].get(schema_name) + if resolved_schema and isinstance(resolved_schema, dict): + self.logger.info(f"成功从 #/components/schemas/ 解析引用 '{ref_value}'。") + return resolved_schema + else: + self.logger.warning(f"解析引用 '{ref_value}' (路径: #/components/schemas/) 失败:未找到或找到的不是字典: {schema_name}") + else: + self.logger.warning(f"尝试从 #/components/schemas/ 解析引用 '{ref_value}' 失败:无法找到 'components.schemas' 结构。") + + # 如果从 #/components/schemas/ 未成功解析,尝试 #/definitions/ + if not resolved_schema and ref_value.startswith("#/definitions/"): + schema_name = ref_value.split("/")[-1] + definitions = actual_global_spec_dict.get("definitions") + if definitions and isinstance(definitions, dict): + resolved_schema = definitions.get(schema_name) + if resolved_schema and isinstance(resolved_schema, dict): + self.logger.info(f"成功从 #/definitions/ 解析引用 '{ref_value}'。") + return resolved_schema + else: + self.logger.warning(f"解析引用 '{ref_value}' (路径: #/definitions/) 失败:未找到或找到的不是字典: {schema_name}") + else: + self.logger.warning(f"尝试从 #/definitions/ 解析引用 '{ref_value}' 失败:无法找到 'definitions' 结构。") + + if not resolved_schema: + self.logger.warning(f"最终未能通过任一已知路径 (#/components/schemas/ 或 #/definitions/) 解析引用 '{ref_value}'。") + + except Exception as e: + self.logger.error(f"解析引用 '{ref_value}' 时发生错误: {e}", exc_info=True) + return schema_to_resolve # 返回原始 schema 如果不是 ref 或者所有解析尝试都失败 + + def _find_required_field_in_schema_recursive(self, current_schema: Dict[str, Any], current_path: List[str]) -> Optional[List[str]]: + """递归查找第一个可移除的必填字段的路径。 + 现在也会查找数组内对象中必填的字段。""" + resolved_schema = self._resolve_ref_if_present(current_schema) + + if not isinstance(resolved_schema, dict) or resolved_schema.get("type") != "object": + # If not an object schema, cannot have 'required' or 'properties' in the way we expect. + return None + + required_fields_at_current_level = resolved_schema.get("required", []) + properties = resolved_schema.get("properties", {}) + self.logger.debug(f"递归查找路径: {current_path}, 当前层级必填字段: {required_fields_at_current_level}, 属性: {list(properties.keys())}") + + # 策略1: 查找当前层级直接声明的必填字段 (简单类型或复杂类型均可) + if required_fields_at_current_level and properties: + for field_name in required_fields_at_current_level: + if field_name in properties: + # 任何在 'required' 数组中列出的字段,无论其类型,都可以作为目标 + # (例如,移除一个必填的整个对象或数组也是一种有效的测试场景) + self.logger.info(f"策略1: 在路径 {'.'.join(current_path) if current_path else 'root'} 找到可直接移除的必填字段: '{field_name}'") + return current_path + [field_name] + + # 策略2: 如果当前层级没有直接的必填字段可移除,则查找数组属性,看其内部item是否有必填字段 + # 这种情况下,数组本身可能不是必填的,但如果提供了数组,其item需要满足条件 + if properties: # 确保有属性可迭代 + for prop_name, prop_schema_orig in properties.items(): + prop_schema = self._resolve_ref_if_present(prop_schema_orig) # 解析属性自身的schema (可能也是ref) + if isinstance(prop_schema, dict) and prop_schema.get("type") == "array": + items_schema_orig = prop_schema.get("items") + if isinstance(items_schema_orig, dict): + items_schema = self._resolve_ref_if_present(items_schema_orig) # 解析 items 的 schema + if isinstance(items_schema, dict) and items_schema.get("type") == "object": + item_required_fields = items_schema.get("required", []) + item_properties = items_schema.get("properties", {}) + if item_required_fields and item_properties: + first_required_field_in_item = None + for req_item_field in item_required_fields: + if req_item_field in item_properties: # 确保该必填字段在属性中定义 + first_required_field_in_item = req_item_field + break + + if first_required_field_in_item: + self.logger.info(f"策略2: 在数组属性 '{prop_name}' (路径 {'.'.join(current_path) if current_path else 'root'}) 的元素内找到必填字段: '{first_required_field_in_item}'. 将尝试移除路径: {current_path + [prop_name, 0, first_required_field_in_item]}") + # 将路径指向数组的第一个元素 (index 0) 内的那个必填字段 + return current_path + [prop_name, 0, first_required_field_in_item] + + # 策略3: (可选,如果需要更深层次的普通对象递归) + # 如果以上策略都未找到,并且希望深入到非必填的子对象中查找,可以启用以下逻辑。 + # 但这通常不用于"顶层必填字段缺失"的测试目的,除非测试用例目标是验证任意深度的必填。 + # for prop_name, prop_schema_orig_for_recurse in properties.items(): + # prop_schema_for_recurse = self._resolve_ref_if_present(prop_schema_orig_for_recurse) + # if isinstance(prop_schema_for_recurse, dict) and prop_schema_for_recurse.get("type") == "object": + # # 确保不陷入无限循环,例如,如果一个对象属性是可选的但其内部有必填字段 + # # 这里需要小心,因为我们可能已经检查过当前级别的required字段 + # # 主要用于当某个对象不是顶层必填,但如果提供了它,它内部又有必填项的场景 + # # 但这与当前测试用例的 primary goal 可能不完全一致 + # self.logger.debug(f"策略3: 尝试递归进入对象属性 '{prop_name}' (路径 {'.'.join(current_path)}) (此对象本身在当前层级非必填或已检查)") + # found_path_deeper = self._find_required_field_in_schema_recursive(prop_schema_for_recurse, current_path + [prop_name]) + # if found_path_deeper: + # # 确保返回的路径确实比当前路径深,并且该深层路径的父级(即prop_name)不是当前层级已知的必填字段 + # # (以避免重复发现已被策略1覆盖的场景) + # # if prop_name not in required_fields_at_current_level: + # self.logger.info(f"策略3: 递归在对象属性 '{prop_name}' (路径 {'.'.join(current_path)}) 中找到必填字段路径: {found_path_deeper}") + # return found_path_deeper + + self.logger.debug(f"在路径 {'.'.join(current_path) if current_path else 'root'} 未通过任何策略找到可移除的必填字段。") + return None + def _try_find_removable_body_field(self): + body_schema_to_check: Optional[Dict[str, Any]] = None + request_body_spec = self.endpoint_spec.get("requestBody") + if request_body_spec and isinstance(request_body_spec, dict): + content = request_body_spec.get("content", {}) + json_schema_entry = content.get("application/json") + if json_schema_entry and isinstance(json_schema_entry, dict) and isinstance(json_schema_entry.get("schema"), dict): + body_schema_to_check = json_schema_entry["schema"] + + if not body_schema_to_check: + parameters = self.endpoint_spec.get("parameters", []) + if isinstance(parameters, list): + for param in parameters: + if isinstance(param, dict) and param.get("in") == "body": + if isinstance(param.get("schema"), dict): + body_schema_to_check = param["schema"] + break + + if body_schema_to_check: + self.original_body_schema = copy.deepcopy(body_schema_to_check) + self.removed_field_path = self._find_required_field_in_schema_recursive(self.original_body_schema, []) + if self.removed_field_path: + self.logger.info(f"必填字段缺失测试的目标字段 (请求体): '{'.'.join(map(str, self.removed_field_path))}'") + self.field_to_remove_details = { + "path": self.removed_field_path, + # ... existing code ... + } + else: + self.logger.info('在请求体 schema 中未找到可用于测试 "必填字段缺失" 的字段。') + else: + self.logger.info('此端点规范中未定义请求体 schema。') + + def generate_query_params(self, current_query_params: Dict[str, Any]) -> Dict[str, Any]: + self.logger.debug(f"{self.id} is focused on request body, generate_query_params will not modify query parameters.") + return current_query_params + + def generate_request_body(self, current_body: Optional[Any]) -> Optional[Any]: + if not self.removed_field_path: + self.logger.debug("No field path identified for removal in request body.") + return current_body + + if current_body is None: + self.logger.debug("current_body is None. Orchestrator should ideally provide a base body. Attempting to build minimal structure for removal.") + new_body = {} + else: + new_body = copy.deepcopy(current_body) + + temp_obj_ref = new_body + + try: + for i, key_or_index in enumerate(self.removed_field_path): + is_last_element = (i == len(self.removed_field_path) - 1) + + if is_last_element: + if isinstance(key_or_index, str): # Key for a dictionary (field name) + if isinstance(temp_obj_ref, dict) and key_or_index in temp_obj_ref: + original_value = temp_obj_ref.pop(key_or_index) + self.logger.info(f"为进行必填字段缺失测试,已从请求体中移除字段路径 '{'.'.join(map(str,self.removed_field_path))}' (原值: '{original_value}')。") + return new_body + elif isinstance(temp_obj_ref, dict): # Key not in dict, but it's a dict + self.logger.warning(f"计划移除的请求体字段路径的最后一部分 '{key_or_index}' (string key) 在对象中未找到,但该对象是字典。可能该字段本就是可选的或不存在于提供的current_body。路径: {'.'.join(map(str,self.removed_field_path))}") + return new_body + else: # temp_obj_ref is not a dict + self.logger.warning(f"计划移除的请求体字段路径的最后一部分 '{key_or_index}' (string key) 期望父级是字典,但找到 {type(temp_obj_ref)}。路径: {'.'.join(map(str,self.removed_field_path))}") + return current_body + else: # Last element of path is an index - this should not happen as we remove a *field name* + self.logger.error(f"路径的最后一部分 '{key_or_index}' 预期为字符串字段名,但类型为 {type(key_or_index)}. Path: {'.'.join(map(str,self.removed_field_path))}") + return current_body + else: # Not the last element, so we are traversing or building the structure + next_key_or_index = self.removed_field_path[i+1] + + if isinstance(key_or_index, str): # Current path part is a dictionary key + if not isinstance(temp_obj_ref, dict): + self.logger.warning(f"路径期望字典,但在 '{key_or_index}' (父级)处找到 {type(temp_obj_ref)}. Path: {'.'.join(map(str,self.removed_field_path))}. 如果current_body为None,则尝试创建字典。") + if temp_obj_ref is new_body and not new_body : + temp_obj_ref = {} + else: + return current_body + + if isinstance(next_key_or_index, int): + if key_or_index not in temp_obj_ref or not isinstance(temp_obj_ref.get(key_or_index), list): + self.logger.debug(f"路径 '{key_or_index}' 需要是列表 (为索引 {next_key_or_index} 做准备),但未找到或类型不符。将创建空列表。") + temp_obj_ref[key_or_index] = [] + temp_obj_ref = temp_obj_ref[key_or_index] + else: + if key_or_index not in temp_obj_ref or not isinstance(temp_obj_ref.get(key_or_index), dict): + self.logger.debug(f"路径 '{key_or_index}' 需要是字典 (为键 '{next_key_or_index}' 做准备),但未找到或类型不符。将创建空字典。") + temp_obj_ref[key_or_index] = {} + temp_obj_ref = temp_obj_ref[key_or_index] + + elif isinstance(key_or_index, int): + if not isinstance(temp_obj_ref, list): + self.logger.error(f"路径期望列表以应用索引 '{key_or_index}',但找到 {type(temp_obj_ref)}. Path: {'.'.join(map(str,self.removed_field_path))}") + return current_body + + while len(temp_obj_ref) <= key_or_index: + self.logger.debug(f"数组在索引 {key_or_index} 处需要元素,将添加空字典作为占位符(因为后续预期是字段名)。") + temp_obj_ref.append({}) + + if isinstance(next_key_or_index, str): + if not isinstance(temp_obj_ref[key_or_index], dict): + self.logger.debug(f"数组项 at index {key_or_index} 需要是字典 (为键 '{next_key_or_index}' 做准备)。如果它是其他类型,将被替换为空字典。") + temp_obj_ref[key_or_index] = {} + + temp_obj_ref = temp_obj_ref[key_or_index] + + else: + self.logger.error(f"路径部分 '{key_or_index}' 类型未知 ({type(key_or_index)}). Path: {'.'.join(map(str,self.removed_field_path))}") + return current_body + except Exception as e: # Ensuring the try has an except + self.logger.error(f"在准备移除字段路径 '{'.'.join(map(str,self.removed_field_path))}' 时发生错误: {e}", exc_info=True) + return current_body + + self.logger.error(f"generate_request_body 未能在循环内按预期返回。路径: {'.'.join(map(str,self.removed_field_path))}") + return current_body + + def validate_response(self, response_context: APIResponseContext, request_context: APIRequestContext) -> List[ValidationResult]: + results = [] + if not self.removed_field_path: + results.append(self.passed("跳过测试:在API规范中未找到合适的必填请求体字段用于移除测试。")) + self.logger.info("由于未识别到可移除的必填请求体字段,跳过此测试用例。") + return results + + status_code = response_context.status_code + json_content = response_context.json_content + expected_status_codes = [400, 422] + specific_error_code_from_appendix_b = "4003" + removed_field_str = '.'.join(map(str, self.removed_field_path)) + + msg_prefix = f"当移除必填请求体字段 '{removed_field_str}' 时," + + if status_code in expected_status_codes: + status_msg = f"{msg_prefix}API响应了预期的错误状态码 {status_code}。" + if json_content and isinstance(json_content, dict) and str(json_content.get("code")) == specific_error_code_from_appendix_b: + results.append(self.passed(f"{status_msg} 且响应体中包含特定的错误码 '{specific_error_code_from_appendix_b}'。")) + self.logger.info(f"正确接收到状态码 {status_code} 和错误码 '{specific_error_code_from_appendix_b}'。") + elif json_content and isinstance(json_content, dict) and "code" in json_content: + results.append(ValidationResult(passed=True, + message=f"{status_msg} 响应体中的错误码为 '{json_content.get('code')}' (期望或类似 '{specific_error_code_from_appendix_b}')。", + details=json_content + )) + self.logger.warning(f"接收到状态码 {status_code},但错误码是 '{json_content.get('code')}' 而不是期望的 '{specific_error_code_from_appendix_b}'。此结果仍标记为通过,因状态码正确。") + else: + results.append(self.passed(f"{status_msg} 但响应体中未找到特定的错误码字段或响应体结构不符合预期。")) + self.logger.info(f"正确接收到状态码 {status_code},但在响应体中未找到错误码字段或预期结构。") + else: + results.append(self.failed( + message=f"{msg_prefix}期望API返回状态码 {expected_status_codes} 中的一个,但实际收到 {status_code}。", + details={"status_code": status_code, "response_body": json_content, "removed_field": f"body.{removed_field_str}"} + )) + self.logger.warning(f"必填请求体字段缺失测试失败:期望状态码 {expected_status_codes},实际为 {status_code}。移除的字段:'body.{removed_field_str}'") + + return results \ No newline at end of file diff --git a/custom_testcases1/compliance_catalog/error_handling/missing_required_field_query_case.py b/custom_testcases1/compliance_catalog/error_handling/missing_required_field_query_case.py new file mode 100644 index 0000000..e9b9a3a --- /dev/null +++ b/custom_testcases1/compliance_catalog/error_handling/missing_required_field_query_case.py @@ -0,0 +1,84 @@ +from typing import Dict, Any, Optional, List +from ddms_compliance_suite.test_framework_core import BaseAPITestCase, TestSeverity, ValidationResult, APIRequestContext, APIResponseContext +import copy + +class MissingRequiredFieldQueryCase(BaseAPITestCase): + id = "TC-ERROR-4003-QUERY" + name = "Error Code 4003 - Missing Required Query Parameter Validation" + description = "测试当请求中缺少API规范定义的必填查询参数时,API是否按预期返回类似4003的错误(或通用400错误)。" + severity = TestSeverity.HIGH + tags = ["error-handling", "appendix-b", "4003", "required-fields", "query-parameters"] + execution_order = 211 # After body, before original combined one might have been + + def __init__(self, endpoint_spec: Dict[str, Any], global_api_spec: Dict[str, Any], json_schema_validator: Optional[Any] = None): + super().__init__(endpoint_spec, global_api_spec, json_schema_validator) + self.removed_field_name: Optional[str] = None + self._try_find_removable_query_param() + + def _try_find_removable_query_param(self): + query_params_spec_list = self.endpoint_spec.get("parameters", []) + if query_params_spec_list: + self.logger.debug(f"检查查询参数的必填字段,总共 {len(query_params_spec_list)} 个参数定义。") + for param_spec in query_params_spec_list: + if isinstance(param_spec, dict) and param_spec.get("in") == "query" and param_spec.get("required") is True: + field_name = param_spec.get("name") + if field_name: + self.removed_field_name = field_name + self.logger.info(f"必填字段缺失测试的目标字段 (查询参数): '{self.removed_field_name}'") + return + self.logger.info('在此端点规范中未找到可用于测试 "必填查询参数缺失" 的字段。') + + def generate_request_body(self, current_body: Optional[Any]) -> Optional[Any]: + # This test case focuses on query parameters, so it does not modify the request body. + self.logger.debug(f"{self.id} is focused on query parameters, generate_request_body will not modify the request body.") + return current_body + + def generate_query_params(self, current_query_params: Dict[str, Any]) -> Dict[str, Any]: + if self.removed_field_name and isinstance(current_query_params, dict): + if self.removed_field_name in current_query_params: + new_params = copy.deepcopy(current_query_params) + original_value = new_params.pop(self.removed_field_name) # 移除参数 + self.logger.info(f"为进行必填查询参数缺失测试,已从查询参数中移除 '{self.removed_field_name}' (原值: '{original_value}')。") + return new_params + else: + self.logger.warning(f"计划移除的查询参数 '{self.removed_field_name}' 在当前查询参数中未找到。") + return current_query_params + + def validate_response(self, response_context: APIResponseContext, request_context: APIRequestContext) -> List[ValidationResult]: + results = [] + + if not self.removed_field_name: + results.append(self.passed("跳过测试:在API规范中未找到合适的必填查询参数用于移除测试。")) + self.logger.info("由于未识别到可移除的必填查询参数,跳过此测试用例。") + return results + + status_code = response_context.status_code + json_content = response_context.json_content + + expected_status_codes = [400, 422] + specific_error_code_from_appendix_b = "4003" + + msg_prefix = f"当移除必填查询参数 '{self.removed_field_name}' 时," + + if status_code in expected_status_codes: + status_msg = f"{msg_prefix}API响应了预期的错误状态码 {status_code}。" + if json_content and isinstance(json_content, dict) and str(json_content.get("code")) == specific_error_code_from_appendix_b: + results.append(self.passed(f"{status_msg} 且响应体中包含特定的错误码 '{specific_error_code_from_appendix_b}'。")) + self.logger.info(f"正确接收到状态码 {status_code} 和错误码 '{specific_error_code_from_appendix_b}'。") + elif json_content and isinstance(json_content, dict) and "code" in json_content: + results.append(ValidationResult(passed=True, + message=f"{status_msg} 响应体中的错误码为 '{json_content.get('code')}' (期望或类似 '{specific_error_code_from_appendix_b}')。", + details=json_content + )) + self.logger.warning(f"接收到状态码 {status_code},但错误码是 '{json_content.get('code')}' 而不是期望的 '{specific_error_code_from_appendix_b}'。此结果仍标记为通过,因状态码正确。") + else: + results.append(self.passed(f"{status_msg} 但响应体中未找到特定的错误码字段或响应体结构不符合预期。")) + self.logger.info(f"正确接收到状态码 {status_code},但在响应体中未找到错误码字段或预期结构。") + else: + results.append(self.failed( + message=f"{msg_prefix}期望API返回状态码 {expected_status_codes} 中的一个,但实际收到 {status_code}。", + details={"status_code": status_code, "response_body": json_content, "removed_field": f"query.{self.removed_field_name}"} + )) + self.logger.warning(f"必填查询参数缺失测试失败:期望状态码 {expected_status_codes},实际为 {status_code}。移除的参数:'{self.removed_field_name}'") + + return results \ No newline at end of file diff --git a/ddms_compliance_suite/__pycache__/test_case_registry.cpython-312.pyc b/ddms_compliance_suite/__pycache__/test_case_registry.cpython-312.pyc index b845ec30b42f0f675aae65d677b795cb03d0579b..b9bf166b6eb488b8c771423cd1313acbc9c3c29b 100644 GIT binary patch delta 3711 zcma)8Yfu~46~1@%#1aAw!n_e6EC~<@3+&h!V`DJJ@)IzQA3TI4gFt|@k^q~P@gz>; zG_)q&xQ-hW!z3L@oy0gyZBLx0YC6-9G;Mb=uBe6|nF(Mz(`oTznq=~)=SmjPmUOBa zopbJaeCNB5y}O@v%ycV$A0EC2!LPF=uO%`6rlL|7p@5+P{*OO_$YsQSBTpTFQI>#{ z1$7WQ0U;0N5qN}*unY|d>M)E&jEEhTXJ8Tgg*+onWTmXq1mqDzsWF^lMAs?O0`es6 z-ta=bn2{`bq>OZcqG?9jniR}gDIsEG-w!vkcNJkmPZ%R*{~oTxVXPr4joqw>m5AR! z)-{ZTtySpb!>$7n@&i)1ZV`w=Q_mWYjJ>Kz?URL~PTZgD$_{2C#K>GZAv;6~GICe? z-55NZTzR29MrM_Ta%njuYc+%-%i5`DP^)x#%)T2H7H?c0hb$|pFJR9JmGR+>1ZJZc z6or^#)Xxy~pF}8G0Ts<^Bl1KM#6i+Uk)guas6gS`LCJCi+;3?cF;JOn{O zn_b0A4HeetcVj{;Scd8j!9GPW?6s&^*wh%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8>1%Mynl(fJTgsh7)^5x zGYxZxW)3ZB1xF?CsJwpijkQ#} z$s+w@dLt)q(X?O^a;o^8s)+VZPW@$RRBxQ4XJ|oR#OsTerE7ZElZb=YJGebn5ko|^ z`XYC{i+jP%<#n&=J&&azuS9TE@Q#Y>^@5{jrtxy^ym=$rHW!`=FZu6gm)=lBO8=m_ zTYiFb_pF_q2;X*3M9sEE=Yn&o-fSt-du-!3YH4qQXyCl@RkFS(ltv%l*wNj=L~ zit#O1+O%48tN!Eq)pG85E7#T`w0Zb857*km^^9=7F~RpT?|YdWIm?|5awVb9n8}B! zAg>n2(m_Vn)$^I+gB~ugXHDPx_gD$YD32XLr*{7${I|zBKyQ8oU`hZ+ zwfeW3UT+e#R$gmeQZJuf9*MYC_pRo0FM7D1Ue43U+4?yj%W18G)_+^;|7t^L6-&p6 z|171Ko0gx8kdekn1s={(=oV+xO?X7(CVE6;?-geV%5Hm5_W1b`w8- zV)tQiB*i~m_P7{m!LXi;Kk?zg{@%Xf0Z)Igf56Y?h+#Ow9z?-{PIzJ^TF^}-9~BG4 zzclO%B6OqrViOa7AK|JQz4pistgI2WUEP#8^XBcyl#C60f_F9+s4i9gW#+Hi};z7f< oiO`NFTsGK^-f@k>exxqf!%N6sUZC_r$UFoh#`;!z%7f&;0H0)}e*gdg diff --git a/ddms_compliance_suite/__pycache__/test_orchestrator.cpython-312.pyc b/ddms_compliance_suite/__pycache__/test_orchestrator.cpython-312.pyc index 2b6fb7cf60ffa5a2ee4b8fc31e309a62283e52ef..0d61f76d6cd616d270a48acbf8cedc13c282f59d 100644 GIT binary patch delta 21837 zcmeHvd3;;NwXo*OmNz-x_eEFU<#>s=*l}XVjZ01B zh(tp)J_FIZn6?;QY+I}@t}Tw{`3}VE650|V?x*n|NYp9X6gswz)hXMQx}>%wU2eAZMbm?vBG*3Q|p;NV~XgqKrQ@6Nnu`a7EOPAf2t;=c4(dD+~5{VfI zFB({)%WKOc5ZLT#xgWCetbWSvA4dPt%P zdy#=8{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$!+5`6?B3>(X{J-Ttz0 zf=LSC`MNHqTL+%@x`pe-B!y{sPtCv3@YNbo!vbhnEzGYaTgcSO1GQvnVCrKqrBTTy zEsuU_G+3KC?SsJwq5B!G1VHm{s)U#(k||@M?p>j-iR6*51q-}n808?+9BU$_su)}! zhkyWZ%gwz54OSD}y+jCKHj%~^Zn9}K*ue9Kkm5FzgT2(V&9)1%)~D z^Wn$)VY>{m;a0eFtC^16x!VTKe1LGEnJknAB8gl$-%QG7ER3%ZVwS`7f`lc@$rEGG zLbE=S_Xbbq446}6q2xGr{}BS5GLNCeEj1f09efyTwXPT8Uzgp0+15#Pu%{) z!@b5LFisYBSg4!AMvOh~Aoxd!U|2zt(>7x-mI7pBEBt4kbB7MVf*{YDmN#D{99uy) zs*txk1pd?A3IAP$e+}EZH?WEy$i=@!=#Ut{jd|~_OneO1V-chxU~xr`rGBJ_ z^>92UBm4;jEO0RgI*JW{Mch{iP)l?F$8!cr5R{y}b2W(}jZ**6i^`-&2A#^>YyNdm zyC&n}lOEZ4tlE)O?u@Ir7Qm2lPNjL|4o6;%LsR2a)?N!_*dVwE{vwzaTV*FNt|8Hq z#6r&q`U>_Zcix4F7ZG#|;p@qQCT7IJh+r0zjMHSsq5vHHF?7Ue7_jzk6Xk=+82cBA zJHpeDJ7BWjKFDvk@ZrJ>>xnWZ5^16kL?aNTC;Wari3`T;fsaR^6uwFk0FPZKf%>*7u9KlkFT9lBm#jeseTB?VexQwK@N&|&xB2J;Z4mEx7#d8Eriz>Yu3 zSZWatb&!}+raYz|rWq#t0&Hh8DuR+*UJ1vT;eOLXUIj)5lHe?E;lDb_d_lc|3oTRk$RGg!ABL9_2><{9 diff --git a/ddms_compliance_suite/test_case_registry.py b/ddms_compliance_suite/test_case_registry.py index a458df5..a5a8be1 100644 --- a/ddms_compliance_suite/test_case_registry.py +++ b/ddms_compliance_suite/test_case_registry.py @@ -26,45 +26,58 @@ class TestCaseRegistry: def discover_test_cases(self): """ - 扫描指定目录,动态导入模块,并注册所有继承自 BaseAPITestCase 的类。 + 扫描指定目录及其所有子目录,动态导入模块,并注册所有继承自 BaseAPITestCase 的类。 """ if not os.path.isdir(self.test_cases_dir): self.logger.warning(f"测试用例目录不存在或不是一个目录: {self.test_cases_dir}") return - self.logger.info(f"开始从目录 '{self.test_cases_dir}' 发现测试用例...") + self.logger.info(f"开始从目录 '{self.test_cases_dir}' 及其子目录发现测试用例...") found_count = 0 - for filename in os.listdir(self.test_cases_dir): - if filename.endswith(".py") and not filename.startswith("__"): - module_name = filename[:-3] - file_path = os.path.join(self.test_cases_dir, filename) - try: - # 动态导入模块 - spec = importlib.util.spec_from_file_location(module_name, file_path) - if spec and spec.loader: - module = importlib.util.module_from_spec(spec) - spec.loader.exec_module(module) - self.logger.debug(f"成功导入模块: {module_name} 从 {file_path}") + # 使用 os.walk 进行递归扫描 + for root_dir, _, files in os.walk(self.test_cases_dir): + for filename in files: + if filename.endswith(".py") and not filename.startswith("__"): + module_name = filename[:-3] + file_path = os.path.join(root_dir, filename) + try: + # 动态导入模块 + spec = importlib.util.spec_from_file_location(module_name, file_path) + if spec and spec.loader: + module = importlib.util.module_from_spec(spec) + spec.loader.exec_module(module) + self.logger.debug(f"成功导入模块: {module_name} 从 {file_path}") - # 在模块中查找 BaseAPITestCase 的子类 - for name, obj in inspect.getmembers(module): - if inspect.isclass(obj) and issubclass(obj, BaseAPITestCase) and obj is not BaseAPITestCase: - if obj.id in self._registry: - self.logger.warning(f"发现重复的测试用例 ID: '{obj.id}' (来自类 '{obj.__name__}' in {file_path})。之前的定义将被覆盖。") - - self._registry[obj.id] = obj - if obj not in self._test_case_classes: # 避免重复添加同一个类对象 + # 在模块中查找 BaseAPITestCase 的子类 + for name, obj in inspect.getmembers(module): + if inspect.isclass(obj) and issubclass(obj, BaseAPITestCase) and obj is not BaseAPITestCase: + if not hasattr(obj, 'id') or not obj.id: + self.logger.error(f"测试用例类 '{obj.__name__}' 在文件 '{file_path}' 中缺少有效的 'id' 属性,已跳过注册。") + continue + + if obj.id in self._registry: + self.logger.warning(f"发现重复的测试用例 ID: '{obj.id}' (来自类 '{obj.__name__}' in {file_path})。之前的定义将被覆盖。") + + self._registry[obj.id] = obj + # 更新 _test_case_classes 列表:如果已存在相同ID的类,替换它;否则添加。 + # 这确保了排序时使用的是最新的类定义,以防ID冲突。 + existing_class_indices = [i for i, tc_class in enumerate(self._test_case_classes) if tc_class.id == obj.id] + if existing_class_indices: + for index in sorted(existing_class_indices, reverse=True): # 从后往前删除,避免索引问题 + self.logger.debug(f"从 _test_case_classes 列表中移除旧的同ID ('{obj.id}') 测试用例类: {self._test_case_classes[index].__name__}") + del self._test_case_classes[index] + self._test_case_classes.append(obj) - found_count += 1 - self.logger.info(f"已注册测试用例: '{obj.id}' ({obj.name}) 来自类 '{obj.__name__}'") - else: - self.logger.error(f"无法为文件 '{file_path}' 创建模块规范。") - except ImportError as e: - self.logger.error(f"导入模块 '{module_name}' 从 '{file_path}' 失败: {e}", exc_info=True) - except AttributeError as e: - self.logger.error(f"在模块 '{module_name}' ({file_path}) 中查找测试用例时出错 (可能是缺少必要的元数据如 'id'): {e}", exc_info=True) - except Exception as e: - self.logger.error(f"处理文件 '{file_path}' 时发生未知错误: {e}", exc_info=True) + found_count += 1 + self.logger.info(f"已注册测试用例: '{obj.id}' ({getattr(obj, 'name', 'N/A')}) 来自类 '{obj.__name__}' (路径: {file_path})") + else: + self.logger.error(f"无法为文件 '{file_path}' 创建模块规范。") + except ImportError as e: + self.logger.error(f"导入模块 '{module_name}' 从 '{file_path}' 失败: {e}", exc_info=True) + except AttributeError as e: + self.logger.error(f"在模块 '{module_name}' ({file_path}) 中查找测试用例时出错: {e}", exc_info=True) + except Exception as e: + self.logger.error(f"处理文件 '{file_path}' 时发生未知错误: {e}", exc_info=True) # 根据 execution_order 对收集到的测试用例类进行排序 try: diff --git a/ddms_compliance_suite/test_orchestrator.py b/ddms_compliance_suite/test_orchestrator.py index c8d8539..12f81ce 100644 --- a/ddms_compliance_suite/test_orchestrator.py +++ b/ddms_compliance_suite/test_orchestrator.py @@ -13,6 +13,7 @@ from enum import Enum import datetime import datetime as dt from uuid import UUID +from dataclasses import asdict as dataclass_asdict, is_dataclass # New import from pydantic import BaseModel, Field, create_model from pydantic.networks import EmailStr @@ -621,54 +622,182 @@ class APITestOrchestrator: global_api_spec: Union[ParsedYAPISpec, ParsedSwaggerSpec] # 整个API的规格 ) -> ExecutedTestCaseResult: """ - 实例化并执行单个APITestCase。 - """ - tc_start_time = time.time() - validation_points: List[ValidationResult] = [] - test_case_instance: Optional[BaseAPITestCase] = None - - endpoint_spec_dict: Dict[str, Any] - # 确保 endpoint_spec 转换为字典,以便在测试用例和请求上下文中统一使用 - if hasattr(endpoint_spec, 'to_dict') and callable(endpoint_spec.to_dict): - endpoint_spec_dict = endpoint_spec.to_dict() - elif isinstance(endpoint_spec, dict): # 如果它已经是字典 (例如从 OpenAPI 解析器直接过来) - endpoint_spec_dict = endpoint_spec - elif isinstance(endpoint_spec, (YAPIEndpoint, SwaggerEndpoint)): # 作为后备,从特定类型提取 - self.logger.debug(f"Manually converting endpoint_spec of type {type(endpoint_spec).__name__} to dict.") - endpoint_spec_dict = { - "method": getattr(endpoint_spec, 'method', 'UNKNOWN_METHOD'), - "path": getattr(endpoint_spec, 'path', 'UNKNOWN_PATH'), - "title": getattr(endpoint_spec, 'title', getattr(endpoint_spec, 'summary', '')), - "summary": getattr(endpoint_spec, 'summary', ''), - "description": getattr(endpoint_spec, 'description', ''), - "operationId": getattr(endpoint_spec, 'operation_id', - f"{getattr(endpoint_spec, 'method', '').upper()}_{getattr(endpoint_spec, 'path', '').replace('/', '_')}"), - # 尝试提取参数和请求体 (简化版) - "parameters": getattr(endpoint_spec, 'parameters', []) if isinstance(endpoint_spec, SwaggerEndpoint) else (getattr(endpoint_spec, 'req_query', []) + getattr(endpoint_spec, 'req_headers', [])), - "requestBody": getattr(endpoint_spec, 'request_body', None) if isinstance(endpoint_spec, SwaggerEndpoint) else getattr(endpoint_spec, 'req_body_other', None), - "_original_object_type": type(endpoint_spec).__name__ - } - else: - endpoint_spec_dict = {} - self.logger.warning(f"endpoint_spec无法转换为字典,实际类型: {type(endpoint_spec)}") + 执行单个测试用例。 - global_api_spec_dict: Dict[str, Any] - if hasattr(global_api_spec, 'to_dict') and callable(global_api_spec.to_dict): - global_api_spec_dict = global_api_spec.to_dict() - elif isinstance(global_api_spec, dict): - global_api_spec_dict = global_api_spec - else: - global_api_spec_dict = {} - self.logger.warning(f"global_api_spec无法转换为字典,实际类型: {type(global_api_spec)}") + 流程: + 1. 准备请求数据 (路径参数, 查询参数, 请求头, 请求体)。 + - 首先尝试从测试用例的 generate_xxx 方法获取。 + - 如果测试用例未覆盖或返回None,则尝试从API spec生成默认数据。 + - 如果开启了LLM,并且测试用例允许,则使用LLM生成。 + 2. (如果适用) 调用测试用例的 modify_request_url 钩子。 + 3. (如果适用) 调用测试用例的 validate_request_url, validate_request_headers, validate_request_body 钩子。 + 4. 发送API请求。 + 5. 记录响应。 + 6. 调用测试用例的 validate_response 和 check_performance 钩子。 + 7. 汇总验证结果,确定测试用例状态。 + """ + start_time = time.monotonic() + validation_results: List[ValidationResult] = [] + overall_status: ExecutedTestCaseResult.Status + execution_message = "" + + # 将 endpoint_spec 转换为字典,如果它还不是的话 + endpoint_spec_dict: Dict[str, Any] + if isinstance(endpoint_spec, dict): + endpoint_spec_dict = endpoint_spec + self.logger.debug(f"endpoint_spec 已经是字典类型。") + elif hasattr(endpoint_spec, 'to_dict') and callable(endpoint_spec.to_dict): + try: + endpoint_spec_dict = endpoint_spec.to_dict() + self.logger.debug(f"成功通过 to_dict() 方法将类型为 {type(endpoint_spec)} 的 endpoint_spec 转换为字典。") + if not endpoint_spec_dict: # 如果 to_dict() 返回空字典 + self.logger.warning(f"endpoint_spec.to_dict() (类型: {type(endpoint_spec)}) 返回了一个空字典。") + # 尝试备用转换 + if isinstance(endpoint_spec, (YAPIEndpoint, SwaggerEndpoint)): + self.logger.debug(f"尝试从 {type(endpoint_spec).__name__} 对象的属性手动构建 endpoint_spec_dict。") + endpoint_spec_dict = { + "method": getattr(endpoint_spec, 'method', 'UNKNOWN_METHOD').upper(), + "path": getattr(endpoint_spec, 'path', 'UNKNOWN_PATH'), + "title": getattr(endpoint_spec, 'title', getattr(endpoint_spec, 'summary', '')), + "summary": getattr(endpoint_spec, 'summary', ''), + "description": getattr(endpoint_spec, 'description', ''), + "operationId": getattr(endpoint_spec, 'operation_id', f"{getattr(endpoint_spec, 'method', '').upper()}_{getattr(endpoint_spec, 'path', '').replace('/', '_')}"), + "parameters": getattr(endpoint_spec, 'parameters', []) if hasattr(endpoint_spec, 'parameters') else (getattr(endpoint_spec, 'req_query', []) + getattr(endpoint_spec, 'req_headers', [])), + "requestBody": getattr(endpoint_spec, 'request_body', None) if hasattr(endpoint_spec, 'request_body') else getattr(endpoint_spec, 'req_body_other', None), + "_original_object_type": type(endpoint_spec).__name__ + } + if not any(endpoint_spec_dict.values()): # 如果手动构建后仍基本为空 + self.logger.error(f"手动从属性构建 endpoint_spec_dict (类型: {type(endpoint_spec)}) 后仍然为空或无效。") + endpoint_spec_dict = {} # 重置为空,触发下方错误处理 + except Exception as e: + self.logger.error(f"调用 endpoint_spec (类型: {type(endpoint_spec)}) 的 to_dict() 方法时出错: {e}。尝试备用转换。") + if isinstance(endpoint_spec, (YAPIEndpoint, SwaggerEndpoint)): + self.logger.debug(f"尝试从 {type(endpoint_spec).__name__} 对象的属性手动构建 endpoint_spec_dict。") + endpoint_spec_dict = { + "method": getattr(endpoint_spec, 'method', 'UNKNOWN_METHOD').upper(), + "path": getattr(endpoint_spec, 'path', 'UNKNOWN_PATH'), + "title": getattr(endpoint_spec, 'title', getattr(endpoint_spec, 'summary', '')), + "summary": getattr(endpoint_spec, 'summary', ''), + "description": getattr(endpoint_spec, 'description', ''), + "operationId": getattr(endpoint_spec, 'operation_id', f"{getattr(endpoint_spec, 'method', '').upper()}_{getattr(endpoint_spec, 'path', '').replace('/', '_')}"), + "parameters": getattr(endpoint_spec, 'parameters', []) if hasattr(endpoint_spec, 'parameters') else (getattr(endpoint_spec, 'req_query', []) + getattr(endpoint_spec, 'req_headers', [])), + "requestBody": getattr(endpoint_spec, 'request_body', None) if hasattr(endpoint_spec, 'request_body') else getattr(endpoint_spec, 'req_body_other', None), + "_original_object_type": type(endpoint_spec).__name__ + } + if not any(endpoint_spec_dict.values()): # 如果手动构建后仍基本为空 + self.logger.error(f"手动从属性构建 endpoint_spec_dict (类型: {type(endpoint_spec)}) 后仍然为空或无效。") + endpoint_spec_dict = {} # 重置为空,触发下方错误处理 + else: + endpoint_spec_dict = {} # 转换失败 + elif hasattr(endpoint_spec, 'data') and isinstance(getattr(endpoint_spec, 'data'), dict): # 兼容 YAPIEndpoint 结构 + endpoint_spec_dict = getattr(endpoint_spec, 'data') + self.logger.debug(f"使用了类型为 {type(endpoint_spec)} 的 endpoint_spec 的 .data 属性。") + else: # 如果没有 to_dict, 也不是已知可直接访问 .data 的类型,则尝试最后的通用转换或手动构建 + if isinstance(endpoint_spec, (YAPIEndpoint, SwaggerEndpoint)): + self.logger.debug(f"类型为 {type(endpoint_spec).__name__} 的 endpoint_spec 没有 to_dict() 或 data,尝试从属性手动构建。") + endpoint_spec_dict = { + "method": getattr(endpoint_spec, 'method', 'UNKNOWN_METHOD').upper(), + "path": getattr(endpoint_spec, 'path', 'UNKNOWN_PATH'), + "title": getattr(endpoint_spec, 'title', getattr(endpoint_spec, 'summary', '')), + "summary": getattr(endpoint_spec, 'summary', ''), + "description": getattr(endpoint_spec, 'description', ''), + "operationId": getattr(endpoint_spec, 'operation_id', f"{getattr(endpoint_spec, 'method', '').upper()}_{getattr(endpoint_spec, 'path', '').replace('/', '_')}"), + "parameters": getattr(endpoint_spec, 'parameters', []) if hasattr(endpoint_spec, 'parameters') else (getattr(endpoint_spec, 'req_query', []) + getattr(endpoint_spec, 'req_headers', [])), + "requestBody": getattr(endpoint_spec, 'request_body', None) if hasattr(endpoint_spec, 'request_body') else getattr(endpoint_spec, 'req_body_other', None), + "_original_object_type": type(endpoint_spec).__name__ + } + if not any(endpoint_spec_dict.values()): # 如果手动构建后仍基本为空 + self.logger.error(f"手动从属性构建 endpoint_spec_dict (类型: {type(endpoint_spec)}) 后仍然为空或无效。") + endpoint_spec_dict = {} # 重置为空,触发下方错误处理 + else: + try: + endpoint_spec_dict = dict(endpoint_spec) + self.logger.warning(f"直接将类型为 {type(endpoint_spec)} 的 endpoint_spec 转换为字典。这可能是一个浅拷贝,并且可能不完整。") + except TypeError: + self.logger.error(f"无法将 endpoint_spec (类型: {type(endpoint_spec)}) 转换为字典,也未找到有效的转换方法。") + endpoint_spec_dict = {} + + if not endpoint_spec_dict or not endpoint_spec_dict.get("path") or endpoint_spec_dict.get("path") == 'UNKNOWN_PATH': # 如果转换后仍为空或无效 + self.logger.error(f"Endpoint spec (原始类型: {type(endpoint_spec)}) 无法有效转换为包含有效路径的字典,测试用例执行可能受影响。最终 endpoint_spec_dict: {endpoint_spec_dict}") + # 创建一个最小的 endpoint_spec_dict 以允许测试用例实例化,但它将缺少大部分信息 + endpoint_spec_dict = { + 'method': endpoint_spec_dict.get('method', 'UNKNOWN_METHOD'), # 保留已解析的方法 + 'path': 'UNKNOWN_PATH_CONVERSION_FAILED', + 'title': f"Unknown endpoint due to spec conversion error for original type {type(endpoint_spec)}", + 'parameters': [], # 确保有空的 parameters 和 requestBody + 'requestBody': None + } + + # 确保 global_api_spec (应该是 ParsedSwaggerSpec 或 ParsedYAPISpec 实例) 被转换为字典 + global_spec_dict: Dict[str, Any] = {} + converted_by_method: Optional[str] = None + + if hasattr(global_api_spec, 'spec') and isinstance(getattr(global_api_spec, 'spec', None), dict) and getattr(global_api_spec, 'spec', None): + global_spec_dict = global_api_spec.spec # type: ignore + converted_by_method = ".spec attribute" + elif is_dataclass(global_api_spec) and not isinstance(global_api_spec, type): # Ensure it's an instance, not the class itself + try: + candidate_spec = dataclass_asdict(global_api_spec) + if isinstance(candidate_spec, dict) and candidate_spec: + global_spec_dict = candidate_spec + converted_by_method = "dataclasses.asdict()" + except Exception as e: + self.logger.debug(f"Calling dataclasses.asdict() on {type(global_api_spec)} failed: {e}, trying other methods.") + + if not global_spec_dict and hasattr(global_api_spec, 'model_dump') and callable(global_api_spec.model_dump): + try: + candidate_spec = global_api_spec.model_dump() + if isinstance(candidate_spec, dict) and candidate_spec: + global_spec_dict = candidate_spec + converted_by_method = ".model_dump()" + except Exception as e: + self.logger.debug(f"Calling .model_dump() on {type(global_api_spec)} failed: {e}, trying other methods.") + + if not global_spec_dict and hasattr(global_api_spec, 'dict') and callable(global_api_spec.dict): + try: + candidate_spec = global_api_spec.dict() + if isinstance(candidate_spec, dict) and candidate_spec: + global_spec_dict = candidate_spec + converted_by_method = ".dict()" + except Exception as e: + self.logger.debug(f"Calling .dict() on {type(global_api_spec)} failed: {e}, trying other methods.") + + if not global_spec_dict and hasattr(global_api_spec, 'to_dict') and callable(global_api_spec.to_dict): + try: + candidate_spec = global_api_spec.to_dict() + if isinstance(candidate_spec, dict) and candidate_spec: + global_spec_dict = candidate_spec + converted_by_method = ".to_dict()" + except Exception as e: + self.logger.debug(f"Calling .to_dict() on {type(global_api_spec)} failed: {e}, trying other methods.") + + if not global_spec_dict and isinstance(global_api_spec, dict) and global_api_spec: + global_spec_dict = global_api_spec + converted_by_method = "direct dict" + self.logger.warning(f"global_api_spec was already a dictionary. This might be unexpected if an object was anticipated.") + + if global_spec_dict and converted_by_method: + self.logger.debug(f"Successfully converted/retrieved global_api_spec (type: {type(global_api_spec)}) to dict using {converted_by_method}.") + elif not global_spec_dict : + self.logger.error( + f"Failed to convert global_api_spec (type: {type(global_api_spec)}) to a non-empty dictionary using .spec, dataclasses.asdict(), .model_dump(), .dict(), or .to_dict(). " + f"It's also not a non-empty dictionary itself. JSON reference resolution will be severely limited or fail. Using empty global_spec_dict." + ) + global_spec_dict = {} + + # 将 global_spec_dict 注入到 endpoint_spec_dict 中,供可能的内部解析使用 (如果 to_dict 未包含它) + if '_global_api_spec_for_resolution' not in endpoint_spec_dict and global_spec_dict: + endpoint_spec_dict['_global_api_spec_for_resolution'] = global_spec_dict try: + self.logger.debug(f"准备实例化测试用例类: {test_case_class.__name__} 使用 endpoint_spec (keys: {list(endpoint_spec_dict.keys()) if endpoint_spec_dict else 'None'}) 和 global_api_spec (keys: {list(global_spec_dict.keys()) if global_spec_dict else 'None'})") test_case_instance = test_case_class( - endpoint_spec=endpoint_spec_dict, - global_api_spec=global_api_spec_dict, - json_schema_validator=self.validator # <--- 注入 JSONSchemaValidator + endpoint_spec=endpoint_spec_dict, + global_api_spec=global_spec_dict, + json_schema_validator=self.validator ) - test_case_instance.logger.info(f"开始执行测试用例 '{test_case_instance.id}' for endpoint '{endpoint_spec_dict.get('method')} {endpoint_spec_dict.get('path')}'") + self.logger.info(f"开始执行测试用例 '{test_case_instance.id}' ({test_case_instance.name}) for endpoint '{endpoint_spec_dict.get('method', 'N/A')} {endpoint_spec_dict.get('path', 'N/A')}'") # 调用 _prepare_initial_request_data 时传递 test_case_instance # 并直接解包返回的元组 @@ -722,26 +851,26 @@ class APITestOrchestrator: endpoint_spec=endpoint_spec_dict ) - validation_points.extend(test_case_instance.validate_request_url(api_request_context.url, api_request_context)) - validation_points.extend(test_case_instance.validate_request_headers(api_request_context.headers, api_request_context)) - validation_points.extend(test_case_instance.validate_request_body(api_request_context.body, api_request_context)) + validation_results.extend(test_case_instance.validate_request_url(api_request_context.url, api_request_context)) + validation_results.extend(test_case_instance.validate_request_headers(api_request_context.headers, api_request_context)) + validation_results.extend(test_case_instance.validate_request_body(api_request_context.body, api_request_context)) critical_pre_validation_failure = False failure_messages = [] - for vp in validation_points: + for vp in validation_results: if not vp.passed and test_case_instance.severity in [TestSeverity.CRITICAL, TestSeverity.HIGH]: # Check severity of the Test Case for pre-validation critical_pre_validation_failure = True failure_messages.append(vp.message) if critical_pre_validation_failure: self.logger.warning(f"测试用例 '{test_case_instance.id}' 因请求预校验失败而中止 (TC严重级别: {test_case_instance.severity.value})。失败信息: {'; '.join(failure_messages)}") - tc_duration = time.time() - tc_start_time + tc_duration = time.monotonic() - start_time return ExecutedTestCaseResult( test_case_id=test_case_instance.id, test_case_name=test_case_instance.name, test_case_severity=test_case_instance.severity, status=ExecutedTestCaseResult.Status.FAILED, - validation_points=validation_points, + validation_points=validation_results, message=f"请求预校验失败: {'; '.join(failure_messages)}", duration=tc_duration ) @@ -781,32 +910,32 @@ class APITestOrchestrator: request_context=api_request_context ) - validation_points.extend(test_case_instance.validate_response(api_response_context, api_request_context)) - validation_points.extend(test_case_instance.check_performance(api_response_context, api_request_context)) + validation_results.extend(test_case_instance.validate_response(api_response_context, api_request_context)) + validation_results.extend(test_case_instance.check_performance(api_response_context, api_request_context)) final_status = ExecutedTestCaseResult.Status.PASSED - if any(not vp.passed for vp in validation_points): + if any(not vp.passed for vp in validation_results): final_status = ExecutedTestCaseResult.Status.FAILED - tc_duration = time.time() - tc_start_time + tc_duration = time.monotonic() - start_time return ExecutedTestCaseResult( test_case_id=test_case_instance.id, test_case_name=test_case_instance.name, test_case_severity=test_case_instance.severity, status=final_status, - validation_points=validation_points, + validation_points=validation_results, duration=tc_duration ) except Exception as e: self.logger.error(f"执行测试用例 '{test_case_class.id if test_case_instance else test_case_class.__name__}' 时发生严重错误: {e}", exc_info=True) - tc_duration = time.time() - tc_start_time + tc_duration = time.monotonic() - start_time return ExecutedTestCaseResult( test_case_id=test_case_instance.id if test_case_instance else test_case_class.id if hasattr(test_case_class, 'id') else "unknown_tc_id", test_case_name=test_case_instance.name if test_case_instance else test_case_class.name if hasattr(test_case_class, 'name') else "Unknown Test Case Name", test_case_severity=test_case_instance.severity if test_case_instance else TestSeverity.CRITICAL, status=ExecutedTestCaseResult.Status.ERROR, - validation_points=validation_points, + validation_points=validation_results, message=f"测试用例执行时发生内部错误: {str(e)}", duration=tc_duration ) diff --git a/test_report.json b/test_report.json index c623338..cb8f8f2 100644 --- a/test_report.json +++ b/test_report.json @@ -1,73 +1,64 @@ { "summary_metadata": { - "start_time": "2025-05-21T18:30:56.368119", - "end_time": "2025-05-21T18:30:56.681215", - "duration_seconds": "0.31" + "start_time": "2025-05-23T12:04:50.246346", + "end_time": "2025-05-23T12:04:51.085891", + "duration_seconds": "0.84" }, "endpoint_stats": { "total_defined": 6, "total_tested": 6, - "passed": 0, - "failed": 0, - "partial_success": 6, + "passed": 3, + "failed": 3, + "partial_success": 0, "error": 0, "skipped": 0, - "success_rate_percentage": "0.00" + "success_rate_percentage": "50.00" }, "test_case_stats": { "total_applicable": 12, "total_executed": 12, - "passed": 6, - "failed": 6, + "passed": 8, + "failed": 4, "error_in_execution": 0, "skipped_during_endpoint_execution": 0, - "success_rate_percentage": "50.00" + "success_rate_percentage": "66.67" }, "detailed_results": [ { "endpoint_id": "POST /api/dms/{dms_instance_code}/v1/message/push/{schema}/{version}", "endpoint_name": "数据推送接口", - "overall_status": "部分成功", - "duration_seconds": 0.089518, - "start_time": "2025-05-21T18:30:56.368227", - "end_time": "2025-05-21T18:30:56.457745", + "overall_status": "通过", + "duration_seconds": 0.208552, + "start_time": "2025-05-23T12:04:50.246523", + "end_time": "2025-05-23T12:04:50.455075", "executed_test_cases": [ { - "test_case_id": "TC-HEADER-001", - "test_case_name": "检查响应中是否存在 'X-Request-ID' 头", - "test_case_severity": "中", - "status": "失败", + "test_case_id": "TC-ERROR-4003-BODY", + "test_case_name": "Error Code 4003 - Missing Required Request Body Field Validation", + "test_case_severity": "高", + "status": "通过", "message": "", - "duration_seconds": 0.06334280967712402, - "timestamp": "2025-05-21T18:30:56.431606", + "duration_seconds": 0.14286641706712544, + "timestamp": "2025-05-23T12:04:50.389451", "validation_points": [ { - "expected_header": "X-Request-ID", - "actual_headers": [ - "Vary", - "Access-Control-Allow-Origin", - "Content-Type", - "Content-Length", - "success", - "Date", - "Connection", - "Keep-Alive" - ] + "passed": true, + "message": "跳过测试:在API规范中未找到合适的必填请求体字段用于移除测试。" } ] }, { - "test_case_id": "TC-STATUS-001", - "test_case_name": "基本状态码 200 检查", - "test_case_severity": "严重", + "test_case_id": "TC-ERROR-4003-QUERY", + "test_case_name": "Error Code 4003 - Missing Required Query Parameter Validation", + "test_case_severity": "高", "status": "通过", "message": "", - "duration_seconds": 0.026033878326416016, - "timestamp": "2025-05-21T18:30:56.457700", + "duration_seconds": 0.06538325012661517, + "timestamp": "2025-05-23T12:04:50.454968", "validation_points": [ { "passed": true, - "message": "响应状态码为 200,符合预期 200。" + "message": "跳过测试:在API规范中未找到合适的必填查询参数用于移除测试。" } ] } @@ -76,47 +67,38 @@ { "endpoint_id": "POST /api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}", "endpoint_name": "地质单元列表查询", - "overall_status": "部分成功", - "duration_seconds": 0.041726, - "start_time": "2025-05-21T18:30:56.457776", - "end_time": "2025-05-21T18:30:56.499502", + "overall_status": "通过", + "duration_seconds": 0.149931, + "start_time": "2025-05-23T12:04:50.455128", + "end_time": "2025-05-23T12:04:50.605059", "executed_test_cases": [ { - "test_case_id": "TC-HEADER-001", - "test_case_name": "检查响应中是否存在 'X-Request-ID' 头", - "test_case_severity": "中", - "status": "失败", + "test_case_id": "TC-ERROR-4003-BODY", + "test_case_name": "Error Code 4003 - Missing Required Request Body Field Validation", + "test_case_severity": "高", + "status": "通过", "message": "", - "duration_seconds": 0.022691011428833008, - "timestamp": "2025-05-21T18:30:56.480802", + "duration_seconds": 0.0675940418150276, + "timestamp": "2025-05-23T12:04:50.522809", "validation_points": [ { - "expected_header": "X-Request-ID", - "actual_headers": [ - "Vary", - "Access-Control-Allow-Origin", - "Content-Type", - "Content-Length", - "success", - "Date", - "Connection", - "Keep-Alive" - ] + "passed": true, + "message": "跳过测试:在API规范中未找到合适的必填请求体字段用于移除测试。" } ] }, { - "test_case_id": "TC-STATUS-001", - "test_case_name": "基本状态码 200 检查", - "test_case_severity": "严重", + "test_case_id": "TC-ERROR-4003-QUERY", + "test_case_name": "Error Code 4003 - Missing Required Query Parameter Validation", + "test_case_severity": "高", "status": "通过", "message": "", - "duration_seconds": 0.01860499382019043, - "timestamp": "2025-05-21T18:30:56.499463", + "duration_seconds": 0.08191158319823444, + "timestamp": "2025-05-23T12:04:50.604854", "validation_points": [ { "passed": true, - "message": "响应状态码为 200,符合预期 200。" + "message": "跳过测试:在API规范中未找到合适的必填查询参数用于移除测试。" } ] } @@ -125,47 +107,48 @@ { "endpoint_id": "PUT /api/dms/{dms_instance_code}/v1/cd_geo_unit", "endpoint_name": "地质单元数据修改", - "overall_status": "部分成功", - "duration_seconds": 0.03492, - "start_time": "2025-05-21T18:30:56.499530", - "end_time": "2025-05-21T18:30:56.534450", + "overall_status": "失败", + "duration_seconds": 0.093809, + "start_time": "2025-05-23T12:04:50.605172", + "end_time": "2025-05-23T12:04:50.698981", "executed_test_cases": [ { - "test_case_id": "TC-HEADER-001", - "test_case_name": "检查响应中是否存在 'X-Request-ID' 头", - "test_case_severity": "中", + "test_case_id": "TC-ERROR-4003-BODY", + "test_case_name": "Error Code 4003 - Missing Required Request Body Field Validation", + "test_case_severity": "高", "status": "失败", "message": "", - "duration_seconds": 0.01642608642578125, - "timestamp": "2025-05-21T18:30:56.515996", + "duration_seconds": 0.05135583318769932, + "timestamp": "2025-05-23T12:04:50.656709", "validation_points": [ { - "expected_header": "X-Request-ID", - "actual_headers": [ - "Vary", - "Access-Control-Allow-Origin", - "Content-Type", - "Content-Length", - "success", - "Date", - "Connection", - "Keep-Alive" - ] + "status_code": 200, + "response_body": { + "code": 46, + "message": "id sint voluptate dolor amet", + "data": false + }, + "removed_field": "body.data.0.bsflag" } ] }, { - "test_case_id": "TC-STATUS-001", - "test_case_name": "基本状态码 200 检查", - "test_case_severity": "严重", - "status": "通过", + "test_case_id": "TC-ERROR-4003-QUERY", + "test_case_name": "Error Code 4003 - Missing Required Query Parameter Validation", + "test_case_severity": "高", + "status": "失败", "message": "", - "duration_seconds": 0.018361806869506836, - "timestamp": "2025-05-21T18:30:56.534410", + "duration_seconds": 0.04197045904584229, + "timestamp": "2025-05-23T12:04:50.698867", "validation_points": [ { - "passed": true, - "message": "响应状态码为 200,符合预期 200。" + "status_code": 200, + "response_body": { + "code": 67, + "message": "Duis sint in", + "data": false + }, + "removed_field": "query.id" } ] } @@ -174,47 +157,43 @@ { "endpoint_id": "DELETE /api/dms/{dms_instance_code}/v1/cd_geo_unit", "endpoint_name": "地质单元数据删除", - "overall_status": "部分成功", - "duration_seconds": 0.035115, - "start_time": "2025-05-21T18:30:56.534480", - "end_time": "2025-05-21T18:30:56.569595", + "overall_status": "失败", + "duration_seconds": 0.085489, + "start_time": "2025-05-23T12:04:50.699033", + "end_time": "2025-05-23T12:04:50.784522", "executed_test_cases": [ { - "test_case_id": "TC-HEADER-001", - "test_case_name": "检查响应中是否存在 'X-Request-ID' 头", - "test_case_severity": "中", - "status": "失败", + "test_case_id": "TC-ERROR-4003-BODY", + "test_case_name": "Error Code 4003 - Missing Required Request Body Field Validation", + "test_case_severity": "高", + "status": "通过", "message": "", - "duration_seconds": 0.019882917404174805, - "timestamp": "2025-05-21T18:30:56.554426", + "duration_seconds": 0.04377300012856722, + "timestamp": "2025-05-23T12:04:50.742882", "validation_points": [ { - "expected_header": "X-Request-ID", - "actual_headers": [ - "Vary", - "Access-Control-Allow-Origin", - "Content-Type", - "Content-Length", - "success", - "Date", - "Connection", - "Keep-Alive" - ] + "passed": true, + "message": "跳过测试:在API规范中未找到合适的必填请求体字段用于移除测试。" } ] }, { - "test_case_id": "TC-STATUS-001", - "test_case_name": "基本状态码 200 检查", - "test_case_severity": "严重", - "status": "通过", + "test_case_id": "TC-ERROR-4003-QUERY", + "test_case_name": "Error Code 4003 - Missing Required Query Parameter Validation", + "test_case_severity": "高", + "status": "失败", "message": "", - "duration_seconds": 0.015078067779541016, - "timestamp": "2025-05-21T18:30:56.569559", + "duration_seconds": 0.04126858292147517, + "timestamp": "2025-05-23T12:04:50.784281", "validation_points": [ { - "passed": true, - "message": "响应状态码为 200,符合预期 200。" + "status_code": 200, + "response_body": { + "code": 95, + "message": "deserunt et enim", + "data": true + }, + "removed_field": "query.id" } ] } @@ -223,47 +202,43 @@ { "endpoint_id": "POST /api/dms/{dms_instance_code}/v1/cd_geo_unit", "endpoint_name": "地质单元数据添加", - "overall_status": "部分成功", - "duration_seconds": 0.033789, - "start_time": "2025-05-21T18:30:56.569621", - "end_time": "2025-05-21T18:30:56.603410", + "overall_status": "失败", + "duration_seconds": 0.167005, + "start_time": "2025-05-23T12:04:50.784657", + "end_time": "2025-05-23T12:04:50.951662", "executed_test_cases": [ { - "test_case_id": "TC-HEADER-001", - "test_case_name": "检查响应中是否存在 'X-Request-ID' 头", - "test_case_severity": "中", + "test_case_id": "TC-ERROR-4003-BODY", + "test_case_name": "Error Code 4003 - Missing Required Request Body Field Validation", + "test_case_severity": "高", "status": "失败", "message": "", - "duration_seconds": 0.01661515235900879, - "timestamp": "2025-05-21T18:30:56.586277", + "duration_seconds": 0.06845587491989136, + "timestamp": "2025-05-23T12:04:50.853268", "validation_points": [ { - "expected_header": "X-Request-ID", - "actual_headers": [ - "Vary", - "Access-Control-Allow-Origin", - "Content-Type", - "Content-Length", - "success", - "Date", - "Connection", - "Keep-Alive" - ] + "status_code": 200, + "response_body": { + "code": 76, + "message": "et sunt deserunt", + "data": false + }, + "removed_field": "body.data.0.bsflag" } ] }, { - "test_case_id": "TC-STATUS-001", - "test_case_name": "基本状态码 200 检查", - "test_case_severity": "严重", + "test_case_id": "TC-ERROR-4003-QUERY", + "test_case_name": "Error Code 4003 - Missing Required Query Parameter Validation", + "test_case_severity": "高", "status": "通过", "message": "", - "duration_seconds": 0.017055988311767578, - "timestamp": "2025-05-21T18:30:56.603376", + "duration_seconds": 0.09789391607046127, + "timestamp": "2025-05-23T12:04:50.951331", "validation_points": [ { "passed": true, - "message": "响应状态码为 200,符合预期 200。" + "message": "跳过测试:在API规范中未找到合适的必填查询参数用于移除测试。" } ] } @@ -272,47 +247,38 @@ { "endpoint_id": "GET /api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}/{id}", "endpoint_name": "地质单元查询详情", - "overall_status": "部分成功", - "duration_seconds": 0.077762, - "start_time": "2025-05-21T18:30:56.603434", - "end_time": "2025-05-21T18:30:56.681196", + "overall_status": "通过", + "duration_seconds": 0.134108, + "start_time": "2025-05-23T12:04:50.951739", + "end_time": "2025-05-23T12:04:51.085847", "executed_test_cases": [ { - "test_case_id": "TC-HEADER-001", - "test_case_name": "检查响应中是否存在 'X-Request-ID' 头", - "test_case_severity": "中", - "status": "失败", + "test_case_id": "TC-ERROR-4003-BODY", + "test_case_name": "Error Code 4003 - Missing Required Request Body Field Validation", + "test_case_severity": "高", + "status": "通过", "message": "", - "duration_seconds": 0.020492076873779297, - "timestamp": "2025-05-21T18:30:56.623967", + "duration_seconds": 0.08160599996335804, + "timestamp": "2025-05-23T12:04:51.033450", "validation_points": [ { - "expected_header": "X-Request-ID", - "actual_headers": [ - "Vary", - "Access-Control-Allow-Origin", - "Content-Type", - "Content-Length", - "success", - "Date", - "Connection", - "Keep-Alive" - ] + "passed": true, + "message": "跳过测试:在API规范中未找到合适的必填请求体字段用于移除测试。" } ] }, { - "test_case_id": "TC-STATUS-001", - "test_case_name": "基本状态码 200 检查", - "test_case_severity": "严重", + "test_case_id": "TC-ERROR-4003-QUERY", + "test_case_name": "Error Code 4003 - Missing Required Query Parameter Validation", + "test_case_severity": "高", "status": "通过", "message": "", - "duration_seconds": 0.05701398849487305, - "timestamp": "2025-05-21T18:30:56.681140", + "duration_seconds": 0.05193216586485505, + "timestamp": "2025-05-23T12:04:51.085646", "validation_points": [ { "passed": true, - "message": "响应状态码为 200,符合预期 200。" + "message": "跳过测试:在API规范中未找到合适的必填查询参数用于移除测试。" } ] }