1.URL

http://124.223.60.234:8080/system/asset/smp/querySystemMaintenancePlanList

2.请求参数

2.1请求头

在Headers里面增加token:对应登录验证成功后,data里面对应的tokenId

2.2.参数示例

{
    "planStatus":-1,
    "pageNum":1,
    "pageSize":20
}

2.3.参数说明

字段 类型 说明 是否必须
planStatus int 维护计划状态(-1:全部;0 - 未开始 / 1 - 执行中 /2 - 已结束 / 3 - 已取消) Y
pageNum int 分页查询页码 Y
pageSize int 分页查询每页显示的条数 Y

3.接口应答

3.1.返回示例

{
    "code": 200,
    "message": "Operation succeeded",
    "data": {
        "total": 2,
        "size": 1,
        "data": [
            {
                "id": "5C7891E6F21341B6BB2B5B6168FADE00",
                "planName": "LEAVEV2-2025-10-03",
                "planStatus": 0,
                "scheduledStartTime": "2025-10-03 02:00:00",
                "scheduledEndTime": "2025-10-03 05:00:00",
                "actualStartTime": null,
                "actualEndTime": null,
                "delayCount": 0,
                "lastDelayTime": null,
                "impactScope": null,
                "noticeEmail": 1,
                "creatorId": "F940B79790004404AAC277418FC71C5D",
                "creator": "LEAVE",
                "createTime": "2025-10-03 03:02:29"
            },
            {
                "id": "343BE49D145744268996EC33475625EC",
                "planName": "LEAVE-2025-10-03",
                "planStatus": 1,
                "scheduledStartTime": "2025-10-03 02:00:00",
                "scheduledEndTime": "2025-10-03 05:00:00",
                "actualStartTime": "2025-10-03 03:06:07",
                "actualEndTime": null,
                "delayCount": 0,
                "lastDelayTime": null,
                "impactScope": null,
                "noticeEmail": 1,
                "creatorId": "F940B79790004404AAC277418FC71C5D",
                "creator": null,
                "createTime": "2025-10-03 02:55:03"
            }
        ]
    }
}

3.2.返回结果说明

字段 类型 说明
code int 返回状态
message String 返回结果描述
data List 返回结果体

data 详情

字段 类型 说明
total String 总条数
size String 多少页
data object 每页的结果集合

data说明

字段 类型 说明
id String 计划唯一标识
planName String 计划名字
scheduledStartTime String 预计开始时间,UTC
scheduledEndTime String 预计结束时间,UTC
actualStartTime String 实际开始时间,UTC
actualEndTime String 实际结束时间,UTC
delayCount int 延期次数
lastDelayTime String 最后一次延期操作的时间
noticeEmail int 是否邮件通知;1:是;0:否
creatorId String 创建人ID
creator String 创建人账户
createTime String 创建时间,UTC

4.请求示例

Author:admin  Create time:2025-10-03 11:11
Last editor:admin  Update time:2025-10-31 14:50