tinywms.companies.list
条件分页查询拖车公司列表
- 请求路由:
tinywms.companies.list- 交互模型:
Request Stream- 访问限制: 无
请求
RSocket.rs({
"route" : "tinywms.companies.list",
"args" : {
"search" : "搜索条件",
"pg" : "分页参数"
}
});
请求参数
| 名称 | 类型 | 必须 | 说明 |
|---|---|---|---|
search | Object | 否 | 搜索条件 |
search.tenantId | String | 否 | 租户id |
search.needNullData | Boolean | 否 | 是否需要空数据 和relatedCustomerIds搭配使用,当relatedCustomerIds有值时 needNullData=true表示需要查询关联客户id列表为空的数据 needNullData=false表示不需要查询关联客户id列表为空的数据 |
search.relatedCustomerIds | String[] | 否 | 关联客户id列表 |
search.keyword | String | 否 | 模糊匹配关键字 |
search.from | String | 否 | 查询起始时间,时间样式为RFC3339格式,如:2019-04-18T00:13:39.649Z |
search.to | String | 否 | 查询终止时间,时间样式为RFC3339格式,如:2019-04-19T00:13:39.649Z |
pg | Object | 否 | 分页参数 |
pg.page | Number | 否 | 页码,首页从0开始 |
pg.size | Number | 否 | 每页记录,默认为10 |
pg.sort | String[] | 否 | 排序字段清单,默认为升序,需要指定降序时在字段名后面添加desc并用分号隔开。 例如:["id", "crDate;desc"] |
返回
拖车公司列表
[ ]
返回属性
| 名称 | 类型 | 说明 |
|---|---|---|
id | String | 公司ID,主键 |
companyName | String | 公司名称(中文) |
companyNameEn | String | 公司名称(英文) |
contactPerson | Object | 联系人信息 |
contactPerson.username | String | 用户标识 |
contactPerson.name | String | 用户名称 |
contactPerson.mobile | String | 用户手机号 |
address | String | 公司地 址(中文) |
addressEn | String | 公司地址(英文) |
whitelists | Object[] | |
whitelists.[].driverInfo | Object | 司机信息 |
whitelists.[].driverInfo.idNumber | String | 身份证号 |
whitelists.[].driverInfo.username | String | 司机标识 |
whitelists.[].driverInfo.name | String | 司机名称 |
whitelists.[].driverInfo.mobile | String | 司机手机号 |
whitelists.[].licensePlate | Object | 车牌信息 |
whitelists.[].licensePlate.mainland | String | 大陆车牌号 |
whitelists.[].licensePlate.hk | String | 香港车牌号 |
whitelists.[].licensePlate.macao | String | 澳门车牌号 |
whitelists.[].licensePlate.trailerPlate | String | 挂车号 |
whitelists.[].enable | Boolean | 是否启用 |
whitelists.[].registered | Boolean | 是否注册 |
whitelists.[].registrationTime | String | 注册时间 |
whitelists.[].temporary | Boolean | 是否为临时车 |
legalEntityId | String | 法人主体id |
customerId | String | 客户id |
extraProps | Object | 扩展属性 |
crBy | String | 创建者 |
upBy | String | 最后修改者 |
crDate | String | 创建时间 |
upDate | String | 最后修改 时间 |
tenantId | String | 租户ID |