查询分类信息
<h5>简要描述</h5>
<ul>
<li>无</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>{{testAddr}}/department/getDepartmentById</code> </li>
</ul>
<h5>请求方式</h5>
<ul>
<li>post</li>
</ul>
<h5>请求参数示例</h5>
<pre><code>{
"departmentId": "2c9164ab816a1dac01816a21db5b0000"
}
</code></pre>
<h5>json字段说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">字段名</th>
<th style="text-align: left;">必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">departmentId</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>部门id</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code>{
"rspCode": "000",
"data": {
"departmentName": "测试分类2",
"cDate": "2022-01-06 16:53:16",
"organiztions": [
{
"organizationId": "402890b97de0d7d0017de0d8e82d0002",
"parentName3": null,
"organizationName": "中行张家口分行",
"parentName4": null,
"parentName1": "中行总行",
"parentName2": "中行河北省行",
"parentId3": null,
"parentId4": null,
"parentId1": "402890b97de0c374017de0c920010001",
"parentId2": "402890b97de0d369017de0d3ddc30000"
},
{
"organizationId": "402890b97de0d369017de0d3ddc30000",
"parentName3": null,
"organizationName": "中行河北省行",
"parentName4": null,
"parentName1": "中行总行",
"parentName2": null,
"parentId3": null,
"parentId4": null,
"parentId1": "402890b97de0c374017de0c920010001",
"parentId2": null
},
{
"organizationId": "402890b97de0d369017de0d3dddf0002",
"parentName3": null,
"organizationName": "中行黑龙江省行",
"parentName4": null,
"parentName1": "中行总行",
"parentName2": null,
"parentId3": null,
"parentId4": null,
"parentId1": "402890b97de0c374017de0c920010001",
"parentId2": null
}
],
"departmentId": "402890b97e2e8ed8017e2e97a02b0002",
"departmentCode": "46212931",
"belongToBankName": "中行"
},
"rspDesc": "success"
}
</code></pre>
<h5>成功返回示例的参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">rspCode</td>
<td style="text-align: left;">string</td>
<td>无</td>
</tr>
<tr>
<td style="text-align: left;">rspDesc</td>
<td style="text-align: left;">string</td>
<td>无</td>
</tr>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">string</td>
<td>数据载体</td>
</tr>
</tbody>
</table>
<h5>失败返回示例</h5>
<pre><code>{
"rspCode": "011",
"rspDesc": "未查到信息"
}
</code></pre>