1.URL
http://124.223.60.234:8080/system/maintenance/service/queryMaintenanceServiceDetail
2.请求参数
2.1请求头
token:对应登录验证成功后,data里面对应的tokenId
2.2.参数示例
{
"autoId": 1
}
2.3.参数说明
| 字段 | 类型 | 说明 | 是否必须 |
|---|---|---|---|
| autoId | Long | 服务流水号 | Y |
3.接口应答
3.1.返回示例
{
"code": 200,
"message": "Operation succeeded",
"data": {
"autoId": 1,
"orgId": "CDC0381F93B14C3DBB6EC10BB2FD928B",
"orgName": "河北兆雪科技有限公司",
"vehicleId": "A9663EC8624649AC9DD7CD6507A5FDC3",
"vehicleInfo": {
"vehicleId": "A9663EC8624649AC9DD7CD6507A5FDC3",
"vehicleNum": "VL300-4209",
"vehicleIcon": 0,
"make": null,
"model": null,
"vin": null,
"year": null
},
"serviceTypeId": "C647C6DC090E479395D4FDB94C07496F",
"serviceType": "Oil Change",
"supplierId": "41415068A1434A258ABE0AA22FB361AD",
"supplier": "TOYOTA",
"occurrence": 0,
"status": 0,
"dateTime": "2025-11-13 00:00:00",
"mileage": 126.0,
"engineHours": 0.0,
"currentMileage": 122.5,
"currentEngineHours": 0.0,
"serviceName": "xxxxxxxx",
"cost": 260.0,
"invoiceNum": "545454SSVC5656",
"descInfo": "ssssssssssssssssssss",
"attachmentFiles": "",
"workInfoList": [
{
"id": "4C1BA7C87D2D48A3BA80DF0200A526CE",
"workName": "Oil",
"workTypeId": "E2B51D968EFE419F96CC154B7312EF15",
"workType": "Oil Change",
"count": 2,
"price": 30.0,
"completed": 0
},
{
"id": "DF29C1ADA353496084C5110BC36DAC2C",
"workName": "Oil Change",
"workTypeId": "E2B51D968EFE419F96CC154B7312EF15",
"workType": "Oil Change",
"count": 2,
"price": 30.0,
"completed": 0
}
],
"partInfoList": [
{
"id": "12D109E9EF9D4BBC88F8293A52556F17",
"partName": "Oil X",
"partCode": null,
"partTypeId": "C46ED44B0D1A4B72B2063A4C2A2B6693",
"partType": null,
"producerId": "969C410D86A24F6E8F0530056F732E79",
"producer": "BYD",
"count": 2,
"price": 30.0
},
{
"id": "44B54D74E38343A08B883D3AD93364E3",
"partName": "Oil",
"partCode": null,
"partTypeId": "C46ED44B0D1A4B72B2063A4C2A2B6693",
"partType": null,
"producerId": "969C410D86A24F6E8F0530056F732E79",
"producer": "BYD",
"count": 2,
"price": 40.0
}
],
"reminderList": [
{
"id": "D11CEE30493649848D1E42F38076F92D",
"serviceId": 1,
"vehicleId": null,
"vehicleNum": null,
"vehicleIcon": 0,
"reminderName": "Oil Change",
"nextReminder": "{\"dateTime\":\"2025-12-13\",\"mileage\":5000,\"motorHours\":6000}",
"repeatInterval": "{\"interval\":6,\"unitType\":3,\"mileage\":6000,\"motorHours\":2000}",
"notifyBefore": "{\"interval\":2,\"unitType\":2,\"mileage\":500,\"motorHours\":200}",
"subscribers": "[{\"type\":0},{\"type\":1,\"emailList\":[\"leave_iot@163.com\",\"leaveiot@163.com\"]}]",
"status": 0
}
],
"createTime": "2025-11-13 08:52:47",
"creatorId": "F940B79790004404AAC277418FC71C5D",
"creator": "LEAVE"
}
}
3.2.返回结果说明
| 字段 | 类型 | 说明 |
|---|---|---|
| code | int | 返回状态 |
| message | String | 返回结果描述 |
| data | object | 返回结果体 |
data说明
| 字段 | 类型 | 说明 |
|---|---|---|
| total | String | 总条数 |
| size | String | 多少页 |
| data | object | 每页的结果集合 |
data说明
| 字段 | 类型 | 说明 |
|---|---|---|
| autoId | String | 唯一标识 |
| orgId | String | 组织唯一标识 |
| orgName | String | 组织名称 |
| vehicleId | String | 车辆唯一标识 |
| vehicleInfo | Object | 车辆信息 |
| vehicleInfo.vehicleId | String | 车辆唯一标识 |
| vehicleInfo.vehicleNum | String | 资产编号 |
| vehicleInfo.vehicleIcon | String | 资产图标 |
| vehicleInfo.make | String | 制造商 |
| vehicleInfo.model | String | 型号 |
| vehicleInfo.vin | String | VIN |
| vehicleInfo.year | String | 生产年份 |
| serviceTypeId | String | 服务类型唯一标识 |
| serviceType | String | 服务类型 |
| supplierId | String | 供应商唯一标识 |
| supplier | String | 供应商 |
| occurrence | Integer | 执行次数(0:单次服务;1:周期服务) |
| status | Integer | 状态(默认为 0; 0 - 待处理、1 - 已完成) |
| dateTime | String | 业务发生时间,格式为 “yyyy-MM-dd HH:mm:ss” |
| mileage | String | 当时里程值 |
| engineHours | String | 当时发动机工作时长 |
| currentMileage | String | 当前里程值 |
| currentEngineHours | String | 当前发动机工作时长 |
| serviceName | String | 服务名称 |
| cost | String | 服务金额 |
| invoiceNum | String | 发票编号,唯一标识一张发票 |
| descInfo | String | 描述 |
| attachmentFiles | String | 附件URL集合,JSON字符串 |
| workInfos | String | 工作项信息列表,JSON 格式字符串。存储工作项 ID、数量、单价等信息 |
| workInfos.id | String | 工作项唯一标识 |
| workInfos.workName | String | 工作项 |
| workInfos.workTypeId | String | 工作项类型 |
| workInfos.workType | String | 工作项类型名称 |
| workInfos.count | Integer | 工作项数量 |
| workInfos.price | Double | 工作项单价 |
| workInfos.completed | String | 是否完成 |
| partInfos | String | 配件信息列表,JSON 格式字符串。存储配件 ID、数量、单价等信息 |
| partInfos.id | String | 配件唯一标识 |
| partInfos.count | Integer | 配件数量 |
| partInfos.price | Double | 配件单价 |
| reminderList | Array | 提醒任务列表,存储需要执行的提醒规则、下次提醒时间等信息 |
| reminderList.reminderName | String | 提醒名称(如 “Oil Change - 换油提醒”) |
| reminderList.nextReminder | String | 下次提醒信息,JSON 格式字符串。包含下次提醒时间(dateTime)、里程(mileage)、发动机时长(motorHours) |
| reminderList.repeatInterval | String | 重复提醒间隔,JSON 格式字符串。interval - 间隔数值;unitType - 时间单位(如 3 - 月);mileage - 里程间隔;motorHours - 发动机时长间隔 |
| reminderList.notifyBefore | String | 提前通知配置,JSON 格式字符串。interval - 提前数值;unitType - 时间单位(如 2 - 天);mileage - 提前里程;motorHours - 提前发动机时长 |
| reminderList.subscribers | String | 订阅人列表,JSON 格式字符串。type - 订阅类型(0 - 默认订阅人,1 - 指定邮箱订阅人);emailList - 指定订阅人邮箱数组(仅 type=1 时生效) |
| reminderList.status | int | 0:激活;1:关闭;2:超期 |
| createTime | String | 创建时间 |
| creatorId | String | 创建用户唯一标识 |
| creator | String | 创建用户 |
Author:admin Create time:2025-11-13 22:21
Last editor:admin Update time:2025-11-24 14:17
Last editor:admin Update time:2025-11-24 14:17