文档
测试

事件用车记录查询/车辆轨迹查询

GET
http://localhost:8091/eventManagement/carUsageRecordWithEvent?carApplyId

接口描述

车辆轨迹与事件的用车记录查询,可通用

请求参数

参数名
类型
描述
必填
eventId
必填

响应参数

参数名
类型
描述
必填
msg
必填
code
必填
data
必填
eventManagement
事件详情
必填
carUserDetails
List
用车详情(没有用车记录,则为null)
必填

说明 / 示例

{ "msg": "查询成功", "code": 200, "data": { "eventManagement": { "id": 6, "eventName": "测试事件1", "nature": "1", "occurrenceTime": "2023-07-19T16:00:00", "eventLocation": "测试地点1", "useCar": 1, "content": "事件内容1", "state": 1, "natureDesc": "测试性质1号", "useCarDesc": "是", "stateDesc": "处理中" }, "carUserDetails": [ { "carId": 8, "homePlace": "0", "carNum": "辽SDKSD6", "serviceLife": "5年", "type": "0", "passengerMax": "10人", "state": 1, "homePlaceDesc": "测试维修站", "typeDesc": "工程车", "stateDesc": "在用", "carApplyId": 6, "routeMap": null, "vehicleStatus": 0, "vehicleStatusDesc": "使用中", "routeId": 1, "destination": "测试地点1", "createTime": "2023-07-27T23:59:53", "updateTime": null, "deptId": 103, "deptName": "研发部门", "userId": 1, "nickName": "若依" }, { "carId": 9, "homePlace": "0", "carNum": "辽ASIHDK4", "serviceLife": "5年", "type": "0", "passengerMax": "10人", "state": 1, "homePlaceDesc": "测试维修站", "typeDesc": "工程车", "stateDesc": "在用", "carApplyId": 2, "routeMap": null, "vehicleStatus": 0, "vehicleStatusDesc": "使用中", "routeId": 1, "destination": "测试地点1", "createTime": "2023-07-26T23:39:11", "updateTime": null, "deptId": null, "deptName": null, "userId": null, "nickName": null }, { "carId": 10, "homePlace": "0", "carNum": "辽ASIHDK5", "serviceLife": "5年", "type": "0", "passengerMax": "10人", "state": 1, "homePlaceDesc": "测试维修站", "typeDesc": "工程车", "stateDesc": "在用", "carApplyId": 3, "routeMap": null, "vehicleStatus": 0, "vehicleStatusDesc": "使用中", "routeId": 1, "destination": "测试地点1", "createTime": null, "updateTime": null, "deptId": null, "deptName": null, "userId": null, "nickName": null } ] } }