文档
测试

查询车辆使用记录

GET
http://localhost:8091/eventManagement/carUsageRecord

请求参数

参数名
类型
描述
必填
carId
Integer
车辆ID
必填

响应参数

参数名
类型
描述
必填
msg
必填
code
必填
data
必填
carId
Integer
车辆ID
必填
carApplyId
Integer
车辆申请记录ID
必填
homePlace
String
归属服务站
必填
carNum
String
车牌号
必填
serviceLife
String
车辆使用年限
必填
type
String
车辆类型
必填
passengerMax
String
车辆最大载客(车载)
必填
vehicleStatus
String
用车状态(0使用中/1已归还)
必填
routeMap
String
路线图
必填
destination
String
目的地
必填
carUseRecordsDtos
List<CarUseRecordsDto>
该车辆的使用详情
必填
eventManagement
EventManagement
车辆使用对应的事件
必填

说明 / 示例

{ "msg": "查询车辆使用记录成功", "code": 200, "data": { "carId": null, "carApplyId": null, "homePlace": "0", "homePlaceDesc": "测试维修站", "carNum": "辽SDKSD6", "serviceLife": "5年", "state": 1, "stateDesc": "在用", "type": "0", "typeDesc": "工程车", "passengerMax": "10人", "carUseRecordsDtos": [ { "carId": 8, "eventId": 6, "routeMap": null, "vehicleStatus": 0, "vehicleStatusDesc": "使用中", "routeId": 1, "destination": "测试地点1", "createTime": "2023-07-27T23:59:53", "updateTime": null, "deptId": 103, "deptName": "研发部门", "userId": 1, "nickName": "若依", "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": "处理中" } } ] } }