affiliate.company
查询挂靠公司带分页
- 请求路由:
affiliate.company- 交互模型:
Request Stream
请求
RSocket.rs({
route: 'affiliate.company',
args: {
tenantId: '',
search: { keyword: '' },
pg: {}
}
})
请求参数
| 属性 | 类型 | 默认值 | 必须 | 说明 |
|---|---|---|---|---|
| tenantId | string | 否 | 所属租户标识,为当前登录账户所属租户 | |
| search | object | 否 | 查询参数 | |
| search.keyword | string | 否 | 关键字 | |
| search.tenantId | string | 否 | 所属租户标识,为当前登录账户所属租户 | |
| search.encode | string | 否 | 编码 | |
| search.companyId | string | 否 | 公司id | |
| search.isAffiliate | Boolean | 否 | 是不是子公司 | |
| pg | object | 否 | 分页排序参数 | |
| pg.page | int | 0 | 否 | 页码,从0开始 |
| pg.size | int | 10 | 否 | 每页记录数 |
| pg.sort | string | "crDate;desc" | 否 | 排序表达式 |
| pg.pageable | Pageable | 否 | 分页工具对象 |
返回
[
{
"id": "",
"companyId": "",
"encode": "",
"name": "",
"isAffiliate": ""
},
{
"id": "",
"companyId": "",
"encode": "",
"name": "",
"isAffiliate": ""
}
]
返回属性
| 属性 | 类型 | 说明 |
|---|---|---|
| id | string | |
| companyId | string | 管理公司id |
| encode | string | 工商编码 |
| name | string | 公司名称 |
| isAffiliate | Boolean | 是否是管理公司 |
错误码
无