记录查询
## 行为轨迹记录查询
### **功能描述**
获取行为轨迹记录数据列表
### **接口定义**
#### **接口地址**:
http://saeapi.dhgjcloud.com:18081/openapi/v1.02/school/behaviorRecord/list
(生产环境)
http://47.107.45.7:18081/openapi/v1.02/school/behaviorRecord/list(测试环境)
#### **请求方式: GET**
#### **接口参数**
输入参数
| 属性名称 | 属性描述 | 类型 | 长度 | 是否必填 |
|:---:|:---:|:---:|:---:|:---:|
| pageSize | 每页大小 | int | 32 | 否 |
| pageNum | 页码| int | 32 | 否 |
| startTime | 开始时间,格式:yyyy-MM-dd HH:mm:ss| String | 10 |是 |
| endTime | 结束时间,格式:yyyy-MM-dd HH:mm:ss | String | 10 |是 |
输出参数
| 属性名称 | 属性描述 | 类型 | 长度 | 是否必填 |
|:---:|:---:|:---:|:---:|:---:|
| code | 返回码 | String | 10 |是 |
| message | 返回消息 | String | 64 |是 |
| data | 节点对象 | List | | 否 |
**data参数**
| 属性名称 | 属性描述 | 类型 | 长度 | 是否必填 |
|:---:|:---:|:---:|:---:|:---:|
| gradeId | 年级id | bigint | 20 |是 |
| gradeName | 年级 | String | 50 |是 |
| collegeId | 院系id | bigint | 20 |是 |
| collegeName | 院系 | String | 50 |是 |
| majorId | 专业id | String | 50 |是 |
| majorName | 专业 | String | 50 |是 |
| classId | 班级id | bigint | 20 |否 |
| className | 班级 | String | 50 |否 |
| dormitoryId | 宿舍id | bigint | 20 |否 |
| dormitoryName | 宿舍 | String | 50 |否 |
| studentId | 学生id | bigint | 20 |是 |
| name | 姓名 | String | 50 |是 |
| studentNo | 档案号 | String | 50 |否 |
| gender | 性别 1男 2女 | String | 1 |否 |
| type | 1寄宿生,2走读生 | String | 1 |是 |
| throughType | 考勤类型 1 寝室考勤 2 校园考勤 | String | 1 |是 |
| throughDirection | 出入类型 01:进门 02:出门 03经过 | String | 10 |是|
| throughDirectionName | 出入类型 | String | 50 |是|
| passageTime | 通行时间 | String | 50 |是|
| location | 通行地点 | String | 200 |是 |
| bgkUrl | 图片 | String | 200 |是 |
| passageEquipment | 设备类型 1-摄像头 2-闸机(门禁) 3-闸机(刷码) | String | 1|是 |
| passageEquipmentName | 设备类型 | String | 200 |是 |
### 实现示例
#### HTTP请求报文
> GET /openapi/v1.02/school/behaviorRecord/list HTTP/1.1
> Host: 47.107.45.7
> Authorization: bearer 1dea395b-242d-4a41-b9b0-ff20e69dc2f7
### 返回示例
```json
{
"code": "200",
"message": "操作成功",
"data":[
{
"gradeId": 12,
"gradeName": "2020级",
"majorId": 71,
"majorName": "高中",
"classId": 3185,
"className": "k20班",
"collegeId": 138,
"collegeName": "中学",
"studentId": 89951,
"name": "龙二",
"studentNo": "202030010904",
"dormitoryId": 633,
"dormitoryName": "2-310",
"type": 1,
"gender": "1",
"throughType": "1",
"throughDirection": "01",
"throughDirectionName": "进",
"passageTime": "2022-10-11 22:33:33",
"location": "17592000901北区男生",
"bgkUrl": "http://new-pic.dhgjcloud.com/attendace/imgs/20221011/8o943335625.jpeg",
"passageEquipment": "2",
"passageEquipmentName": "门禁闸机"
},
{
"gradeId": 12,
"gradeName": "2020级",
"majorId": 71,
"majorName": "高中",
"classId": 3185,
"className": "k20班",
"collegeId": 138,
"collegeName": "中学",
"studentId": 89951,
"name": "龙三",
"studentNo": "202030010904",
"dormitoryId": 633,
"dormitoryName": "2-310",
"type": 1,
"gender": "1",
"throughType": "1",
"throughDirection": "01",
"throughDirectionName": "进",
"passageTime": "2022-10-11 22:33:33",
"location": "17592000901北区男生",
"bgkUrl": "http://new-pic.dhgjcloud.com/attendace/imgs/20221011/8o943235625.jpeg",
"passageEquipment": "2",
"passageEquipmentName": "门禁闸机"
}
]
}