fix(osi): 校准机构查询请求契约

This commit is contained in:
ila
2026-07-13 20:02:19 +08:00
parent d60b979785
commit d30ff01c35
6 changed files with 44 additions and 13 deletions
+4 -3
View File
@@ -401,7 +401,7 @@ paths:
tags:
- dictionaries
summary: 查询机构
description: 查询机构主数据,原样返回上游 CXJG00002 `/auto/cxjg/query` 响应。
description: 查询机构主数据,原样返回上游 CXJG00002 `/auto/cxjg/query` 响应。上游要求 organizCode 和 parentId 两个 baseInfo key 均存在;本服务会把未传参数显式上送为空字符串。
operationId: listOrgs
parameters:
- $ref: '#/components/parameters/organizCode'
@@ -423,6 +423,7 @@ paths:
organizName: 测试机构
organizType: '1'
parentId: '441625'
regionCode: '441625000000'
'400':
$ref: '#/components/responses/BadRequest'
'405':
@@ -542,14 +543,14 @@ components:
name: organizCode
in: query
required: false
description: 机构编码。
description: 机构编码;HTTP 未传时服务仍向 OSI 显式上送空字符串。
schema:
type: string
parentId:
name: parentId
in: query
required: false
description: 上级机构 ID/编码。
description: 上级机构 ID/编码;HTTP 未传时服务仍向 OSI 显式上送空字符串。
schema:
type: string
responses: