excels.date
条件查询导出按天或年度的明细
- 请求路由:
excels.date- 交互模型:
Request Stream条件查询导出按天或年度的明细
请求
RSocket.rs({
route: 'excels.date',
args: {
search: {
from: "",
to: "",
direction: "",
port: "",
status: ""
},
pg: {
size: "",
page: ""
},
type: ""
}
})
请求参数
| 属性 | 类型 | 默认值 | 必须 | 说明 |
|---|---|---|---|---|
| search | Object | 否 | 查询条件 | |
| search.from | string | 否 | 车辆id | |
| search.to | string | 否 | 非这个车辆id | |
| search.direction | string | 否 | 通关方向 | |
| search.port | string | 否 | 通关口岸 | |
| search.status | string | 否 | 通关状态 | |
| pg | Object | 否 | 分页对象 | |
| pg.page | string | 0 | 否 | 第几页 |
| pg.size | string | 10 | 否 | 每页显示数 |
| type | string | year | 否 | 类型(day:按天,year:按年) |
返回
[
{
"direction": "exit",
"port": "1",
"customDate": "2022-03",
"time": "20:00-22:00",
"type": "2",
"personCount": "1",
"vehicleCount": "0",
"status": 3
},
{
"direction": "exit",
"port": "1",
"customDate": "2022-03",
"time": "20:00-22:00",
"type": "1",
"personCount": "1",
"vehicleCount": "1",
"status": 3
}
]
返回属性
| 属性 | 类型 | 说明 |
|---|---|---|
| direction | string | 通关方向 |
| port | string | 通关口岸 |
| customDate | string | 预约通关日期 |
| time | string | 预约通关时间 |
| type | string | 类别 |
| personCount | string | 人数 |
| vehicleCount | string | 车辆 |
| status | int | 通关状态 |
错误码
| 值 | 说明 |
|---|