cs.user-departments.item.by-pol
查询当前租户中关联指定起运港的第一条组织架构字典项。
- 请求路由:
cs.user-departments.item.by-pol- 交互模型:
Request Response- 访问限制: 无
保留字典缓存原有顺序;未匹配或港口代码为空时返回空对象。
请求
RSocket.rr({
"route" : "cs.user-departments.item.by-pol",
"args" : {
"pol" : "起运港代码,与 relatedPorts 中的元素精确匹配"
}
});
请求参数
| 名称 | 类型 | 必须 | 说明 |
|---|---|---|---|
pol | String | 否 | 起运港代码,与 relatedPorts 中的元素精确匹配 |
返回
完整字典项,未匹配时为空对象
{ }
返回属性
| 名称 | 类型 | 说明 |
|---|---|---|
dictId | String | 字典标识 |
itemId | String | 字典项标识 |
name | String | 字典项名称 |
parentId | String | 树形字典项的父项itemId,顶级节点为null |
fullId | String | 对于树形字典项,返回按层级关系组织父级条目的itemId形成fullId |
sortWeight | Number | 排序权重 |
description | String | 说明 |
disabled | Boolean | 是否启用 |
extras | Object | 字典项扩展属性 |
extras.{key}.value | Varies | 值 |
extras.{key}.title | String | 显示标题 |
extras.{key}.sortWeight | Number | 排序权重 |
tenantId | String | 租户ID |
ts | String | 返回最后修改时间 |