Files
martial-master/check.json
2025-11-28 16:17:55 +08:00

3669 lines
104 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"openapi": "3.0.1",
"info": {
"title": "设备点检管理系统API",
"description": "设备点检管理系统相关接口文档",
"version": "1.0.0"
},
"tags": [
{
"name": "设备点检计划",
"description": "设备点检计划相关接口"
},
{
"name": "设备点检计划设备",
"description": "设备点检计划设备相关接口"
},
{
"name": "设备点检模板",
"description": "设备点检模板相关接口"
},
{
"name": "设备点检模板项目",
"description": "设备点检模板项目相关接口"
},
{
"name": "设备点检项目配置",
"description": "设备点检项目配置相关接口"
},
{
"name": "设备点检任务",
"description": "设备点检任务相关接口"
},
{
"name": "设备点检任务设备",
"description": "设备点检任务设备相关接口"
},
{
"name": "设备点检任务结果",
"description": "设备点检任务结果相关接口"
},
{
"name": "设备点检任务调度",
"description": "设备点检任务调度相关接口"
},
{
"name": "设备点检任务看板",
"description": "设备点检任务看板相关接口"
}
],
"paths": {
"/blade-check/checkPlan/detail": {
"get": {
"summary": "设备点检计划详情",
"description": "获取单个设备点检计划详情",
"tags": [
"设备点检计划"
],
"parameters": [
{
"name": "id",
"in": "query",
"description": "点检计划ID",
"required": true,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"200": {
"description": "点检计划详情",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32",
"examples": [
200
]
},
"success": {
"type": "boolean",
"examples": [
true
]
},
"data": {
"type": "object",
"description": "点检计划详情"
},
"msg": {
"type": "string",
"examples": [
"操作成功"
]
}
}
}
}
}
}
}
}
},
"/blade-check/checkPlan/list": {
"get": {
"summary": "设备点检计划分页查询",
"description": "分页获取设备点检计划列表",
"tags": [
"设备点检计划"
],
"parameters": [
{
"name": "current",
"in": "query",
"description": "当前页",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"default": 1
}
},
{
"name": "size",
"in": "query",
"description": "每页条数",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"default": 10
}
}
],
"responses": {
"200": {
"description": "点检计划分页数据",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "object",
"properties": {
"records": {
"type": "array",
"items": {
"type": "object"
}
},
"total": {
"type": "integer",
"format": "int64"
},
"size": {
"type": "integer",
"format": "int32"
},
"current": {
"type": "integer",
"format": "int32"
}
}
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkPlan/page": {
"get": {
"summary": "设备点检计划自定义分页",
"description": "自定义分页获取设备点检计划",
"tags": [
"设备点检计划"
],
"parameters": [
{
"name": "current",
"in": "query",
"description": "当前页",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"default": 1
}
},
{
"name": "size",
"in": "query",
"description": "每页条数",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"default": 10
}
},
{
"name": "planName",
"in": "query",
"description": "计划名称",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "planCode",
"in": "query",
"description": "计划编号",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "planType",
"in": "query",
"description": "计划类型",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "status",
"in": "query",
"description": "状态",
"required": false,
"schema": {
"type": "integer",
"format": "int32"
}
}
],
"responses": {
"200": {
"description": "点检计划分页数据",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "object",
"properties": {
"records": {
"type": "array",
"items": {
"type": "object"
}
},
"total": {
"type": "integer",
"format": "int64"
},
"size": {
"type": "integer",
"format": "int32"
},
"current": {
"type": "integer",
"format": "int32"
}
}
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkPlan/save": {
"post": {
"summary": "新增设备点检计划",
"description": "创建新的设备点检计划",
"tags": [
"设备点检计划"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"planName": {
"type": "string",
"description": "计划名称"
},
"planCode": {
"type": "string",
"description": "计划编号"
},
"planType": {
"type": "string",
"description": "计划类型"
},
"startDate": {
"type": "string",
"format": "date-time",
"description": "开始日期"
},
"endDate": {
"type": "string",
"format": "date-time",
"description": "结束日期"
},
"status": {
"type": "integer",
"format": "int32",
"description": "状态"
},
"remark": {
"type": "string",
"description": "备注"
}
},
"required": [
"planName",
"planCode",
"planType"
]
}
}
},
"required": true
},
"responses": {
"200": {
"description": "操作结果",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "boolean"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkPlan/update": {
"post": {
"summary": "修改设备点检计划",
"description": "更新已有的设备点检计划",
"tags": [
"设备点检计划"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"description": "计划ID"
},
"planName": {
"type": "string",
"description": "计划名称"
},
"planCode": {
"type": "string",
"description": "计划编号"
},
"planType": {
"type": "string",
"description": "计划类型"
},
"startDate": {
"type": "string",
"format": "date-time",
"description": "开始日期"
},
"endDate": {
"type": "string",
"format": "date-time",
"description": "结束日期"
},
"status": {
"type": "integer",
"format": "int32",
"description": "状态"
},
"remark": {
"type": "string",
"description": "备注"
}
},
"required": [
"id"
]
}
}
},
"required": true
},
"responses": {
"200": {
"description": "操作结果",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "boolean"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkPlan/submit": {
"post": {
"summary": "提交设备点检计划",
"description": "新增或修改设备点检计划",
"tags": [
"设备点检计划"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"description": "计划ID"
},
"planName": {
"type": "string",
"description": "计划名称"
},
"planCode": {
"type": "string",
"description": "计划编号"
},
"planType": {
"type": "string",
"description": "计划类型"
},
"startDate": {
"type": "string",
"format": "date-time",
"description": "开始日期"
},
"endDate": {
"type": "string",
"format": "date-time",
"description": "结束日期"
},
"status": {
"type": "integer",
"format": "int32",
"description": "状态"
},
"remark": {
"type": "string",
"description": "备注"
}
}
}
}
},
"required": true
},
"responses": {
"200": {
"description": "操作结果",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "boolean"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkPlan/remove": {
"post": {
"summary": "删除设备点检计划",
"description": "删除指定ID的设备点检计划",
"tags": [
"设备点检计划"
],
"parameters": [
{
"name": "ids",
"in": "query",
"description": "点检计划ID多个用逗号分隔",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "操作结果",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "boolean"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkPlan/export-checkPlan": {
"get": {
"summary": "导出设备点检计划",
"description": "导出设备点检计划数据",
"tags": [
"设备点检计划"
],
"parameters": [],
"responses": {
"200": {
"description": "Excel文件流",
"content": {
"application/vnd.ms-excel": {
"schema": {
"type": "string",
"format": "binary"
}
}
}
}
}
}
},
"/blade-check/checkPlanDevice/detail": {
"get": {
"summary": "设备点检计划设备详情",
"description": "获取单个设备点检计划设备详情",
"tags": [
"设备点检计划设备"
],
"parameters": [
{
"name": "id",
"in": "query",
"description": "点检计划设备ID",
"required": true,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"200": {
"description": "点检计划设备详情",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "object",
"description": "点检计划设备详情"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkPlanDevice/list": {
"get": {
"summary": "设备点检计划设备分页查询",
"description": "分页获取设备点检计划设备列表",
"tags": [
"设备点检计划设备"
],
"parameters": [
{
"name": "current",
"in": "query",
"description": "当前页",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"default": 1
}
},
{
"name": "size",
"in": "query",
"description": "每页条数",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"default": 10
}
}
],
"responses": {
"200": {
"description": "点检计划设备分页数据",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "object",
"properties": {
"records": {
"type": "array",
"items": {
"type": "object"
}
},
"total": {
"type": "integer",
"format": "int64"
},
"size": {
"type": "integer",
"format": "int32"
},
"current": {
"type": "integer",
"format": "int32"
}
}
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkPlanDevice/page": {
"get": {
"summary": "设备点检计划设备自定义分页",
"description": "自定义分页获取设备点检计划设备",
"tags": [
"设备点检计划设备"
],
"parameters": [
{
"name": "current",
"in": "query",
"description": "当前页",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"default": 1
}
},
{
"name": "size",
"in": "query",
"description": "每页条数",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"default": 10
}
}
],
"responses": {
"200": {
"description": "点检计划设备分页数据",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "object",
"properties": {
"records": {
"type": "array",
"items": {
"type": "object"
}
},
"total": {
"type": "integer",
"format": "int64"
},
"size": {
"type": "integer",
"format": "int32"
},
"current": {
"type": "integer",
"format": "int32"
}
}
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkPlanDevice/save": {
"post": {
"summary": "新增设备点检计划设备",
"description": "创建新的设备点检计划设备",
"tags": [
"设备点检计划设备"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"planId": {
"type": "integer",
"format": "int64",
"description": "点检计划ID"
},
"deviceId": {
"type": "integer",
"format": "int64",
"description": "设备ID"
},
"deviceName": {
"type": "string",
"description": "设备名称"
},
"deviceCode": {
"type": "string",
"description": "设备编号"
},
"status": {
"type": "integer",
"format": "int32",
"description": "状态"
},
"remark": {
"type": "string",
"description": "备注"
}
},
"required": [
"planId",
"deviceId"
]
}
}
},
"required": true
},
"responses": {
"200": {
"description": "操作结果",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "boolean"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkPlanDevice/update": {
"post": {
"summary": "修改设备点检计划设备",
"description": "更新已有的设备点检计划设备",
"tags": [
"设备点检计划设备"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"description": "点检计划设备ID"
},
"planId": {
"type": "integer",
"format": "int64",
"description": "点检计划ID"
},
"deviceId": {
"type": "integer",
"format": "int64",
"description": "设备ID"
},
"deviceName": {
"type": "string",
"description": "设备名称"
},
"deviceCode": {
"type": "string",
"description": "设备编号"
},
"status": {
"type": "integer",
"format": "int32",
"description": "状态"
},
"remark": {
"type": "string",
"description": "备注"
}
},
"required": [
"id"
]
}
}
},
"required": true
},
"responses": {
"200": {
"description": "操作结果",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "boolean"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkPlanDevice/submit": {
"post": {
"summary": "提交设备点检计划设备",
"description": "新增或修改设备点检计划设备",
"tags": [
"设备点检计划设备"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"description": "点检计划设备ID"
},
"planId": {
"type": "integer",
"format": "int64",
"description": "点检计划ID"
},
"deviceId": {
"type": "integer",
"format": "int64",
"description": "设备ID"
},
"deviceName": {
"type": "string",
"description": "设备名称"
},
"deviceCode": {
"type": "string",
"description": "设备编号"
},
"status": {
"type": "integer",
"format": "int32",
"description": "状态"
},
"remark": {
"type": "string",
"description": "备注"
}
}
}
}
},
"required": true
},
"responses": {
"200": {
"description": "操作结果",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "boolean"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkPlanDevice/remove": {
"post": {
"summary": "删除设备点检计划设备",
"description": "删除指定ID的设备点检计划设备",
"tags": [
"设备点检计划设备"
],
"parameters": [
{
"name": "ids",
"in": "query",
"description": "点检计划设备ID多个用逗号分隔",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "操作结果",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "boolean"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkPlanDevice/export-checkPlanDevice": {
"get": {
"summary": "导出设备点检计划设备",
"description": "导出设备点检计划设备数据",
"tags": [
"设备点检计划设备"
],
"parameters": [],
"responses": {
"200": {
"description": "Excel文件流",
"content": {
"application/vnd.ms-excel": {
"schema": {
"type": "string",
"format": "binary"
}
}
}
}
}
}
},
"/blade-check/checkTemplate/detail": {
"get": {
"summary": "设备点检模板详情",
"description": "获取单个设备点检模板详情",
"tags": [
"设备点检模板"
],
"parameters": [
{
"name": "id",
"in": "query",
"description": "点检模板ID",
"required": true,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"200": {
"description": "点检模板详情",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "object",
"description": "点检模板详情"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkTemplate/list": {
"get": {
"summary": "设备点检模板分页查询",
"description": "分页获取设备点检模板列表",
"tags": [
"设备点检模板"
],
"parameters": [
{
"name": "current",
"in": "query",
"description": "当前页",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"default": 1
}
},
{
"name": "size",
"in": "query",
"description": "每页条数",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"default": 10
}
}
],
"responses": {
"200": {
"description": "点检模板分页数据",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "object",
"properties": {
"records": {
"type": "array",
"items": {
"type": "object"
}
},
"total": {
"type": "integer",
"format": "int64"
},
"size": {
"type": "integer",
"format": "int32"
},
"current": {
"type": "integer",
"format": "int32"
}
}
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkTemplate/page": {
"get": {
"summary": "设备点检模板自定义分页",
"description": "自定义分页获取设备点检模板",
"tags": [
"设备点检模板"
],
"parameters": [
{
"name": "current",
"in": "query",
"description": "当前页",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"default": 1
}
},
{
"name": "size",
"in": "query",
"description": "每页条数",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"default": 10
}
}
],
"responses": {
"200": {
"description": "点检模板分页数据",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "object",
"properties": {
"records": {
"type": "array",
"items": {
"type": "object"
}
},
"total": {
"type": "integer",
"format": "int64"
},
"size": {
"type": "integer",
"format": "int32"
},
"current": {
"type": "integer",
"format": "int32"
}
}
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkTemplate/save": {
"post": {
"summary": "新增设备点检模板",
"description": "创建新的设备点检模板",
"tags": [
"设备点检模板"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"templateName": {
"type": "string",
"description": "模板名称"
},
"templateCode": {
"type": "string",
"description": "模板编号"
},
"templateType": {
"type": "string",
"description": "模板类型"
},
"status": {
"type": "integer",
"format": "int32",
"description": "状态"
},
"remark": {
"type": "string",
"description": "备注"
}
},
"required": [
"templateName",
"templateCode",
"templateType"
]
}
}
},
"required": true
},
"responses": {
"200": {
"description": "操作结果",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "boolean"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkTemplate/update": {
"post": {
"summary": "修改设备点检模板",
"description": "更新已有的设备点检模板",
"tags": [
"设备点检模板"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"description": "模板ID"
},
"templateName": {
"type": "string",
"description": "模板名称"
},
"templateCode": {
"type": "string",
"description": "模板编号"
},
"templateType": {
"type": "string",
"description": "模板类型"
},
"status": {
"type": "integer",
"format": "int32",
"description": "状态"
},
"remark": {
"type": "string",
"description": "备注"
}
},
"required": [
"id"
]
}
}
},
"required": true
},
"responses": {
"200": {
"description": "操作结果",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "boolean"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkTemplate/submit": {
"post": {
"summary": "提交设备点检模板",
"description": "新增或修改设备点检模板",
"tags": [
"设备点检模板"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"description": "模板ID"
},
"templateName": {
"type": "string",
"description": "模板名称"
},
"templateCode": {
"type": "string",
"description": "模板编号"
},
"templateType": {
"type": "string",
"description": "模板类型"
},
"status": {
"type": "integer",
"format": "int32",
"description": "状态"
},
"remark": {
"type": "string",
"description": "备注"
}
}
}
}
},
"required": true
},
"responses": {
"200": {
"description": "操作结果",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "boolean"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkTemplate/remove": {
"post": {
"summary": "删除设备点检模板",
"description": "删除指定ID的设备点检模板",
"tags": [
"设备点检模板"
],
"parameters": [
{
"name": "ids",
"in": "query",
"description": "点检模板ID多个用逗号分隔",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "操作结果",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "boolean"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkTemplate/export-checkTemplate": {
"get": {
"summary": "导出设备点检模板",
"description": "导出设备点检模板数据",
"tags": [
"设备点检模板"
],
"parameters": [],
"responses": {
"200": {
"description": "Excel文件流",
"content": {
"application/vnd.ms-excel": {
"schema": {
"type": "string",
"format": "binary"
}
}
}
}
}
}
},
"/blade-check/checkTemplateItem/detail": {
"get": {
"summary": "设备点检模板项目详情",
"description": "获取单个设备点检模板项目详情",
"tags": [
"设备点检模板项目"
],
"parameters": [
{
"name": "id",
"in": "query",
"description": "点检模板项目ID",
"required": true,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"200": {
"description": "点检模板项目详情",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "object",
"description": "点检模板项目详情"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkTemplateItem/list": {
"get": {
"summary": "设备点检模板项目分页查询",
"description": "分页获取设备点检模板项目列表",
"tags": [
"设备点检模板项目"
],
"parameters": [
{
"name": "current",
"in": "query",
"description": "当前页",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"default": 1
}
},
{
"name": "size",
"in": "query",
"description": "每页条数",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"default": 10
}
}
],
"responses": {
"200": {
"description": "点检模板项目分页数据",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "object",
"properties": {
"records": {
"type": "array",
"items": {
"type": "object"
}
},
"total": {
"type": "integer",
"format": "int64"
},
"size": {
"type": "integer",
"format": "int32"
},
"current": {
"type": "integer",
"format": "int32"
}
}
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkTemplateItem/page": {
"get": {
"summary": "设备点检模板项目自定义分页",
"description": "自定义分页获取设备点检模板项目",
"tags": [
"设备点检模板项目"
],
"parameters": [
{
"name": "current",
"in": "query",
"description": "当前页",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"default": 1
}
},
{
"name": "size",
"in": "query",
"description": "每页条数",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"default": 10
}
}
],
"responses": {
"200": {
"description": "点检模板项目分页数据",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "object",
"properties": {
"records": {
"type": "array",
"items": {
"type": "object"
}
},
"total": {
"type": "integer",
"format": "int64"
},
"size": {
"type": "integer",
"format": "int32"
},
"current": {
"type": "integer",
"format": "int32"
}
}
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkTemplateItem/save": {
"post": {
"summary": "新增设备点检模板项目",
"description": "创建新的设备点检模板项目",
"tags": [
"设备点检模板项目"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"templateId": {
"type": "integer",
"format": "int64",
"description": "点检模板ID"
},
"itemName": {
"type": "string",
"description": "项目名称"
},
"itemCode": {
"type": "string",
"description": "项目编号"
},
"itemType": {
"type": "string",
"description": "项目类型"
},
"checkMethod": {
"type": "string",
"description": "检查方法"
},
"checkStandard": {
"type": "string",
"description": "检查标准"
},
"status": {
"type": "integer",
"format": "int32",
"description": "状态"
},
"remark": {
"type": "string",
"description": "备注"
}
},
"required": [
"templateId",
"itemName",
"itemCode",
"itemType"
]
}
}
},
"required": true
},
"responses": {
"200": {
"description": "操作结果",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "boolean"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkTemplateItem/update": {
"post": {
"summary": "修改设备点检模板项目",
"description": "更新已有的设备点检模板项目",
"tags": [
"设备点检模板项目"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"description": "点检模板项目ID"
},
"templateId": {
"type": "integer",
"format": "int64",
"description": "点检模板ID"
},
"itemName": {
"type": "string",
"description": "项目名称"
},
"itemCode": {
"type": "string",
"description": "项目编号"
},
"itemType": {
"type": "string",
"description": "项目类型"
},
"checkMethod": {
"type": "string",
"description": "检查方法"
},
"checkStandard": {
"type": "string",
"description": "检查标准"
},
"status": {
"type": "integer",
"format": "int32",
"description": "状态"
},
"remark": {
"type": "string",
"description": "备注"
}
},
"required": [
"id"
]
}
}
},
"required": true
},
"responses": {
"200": {
"description": "操作结果",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "boolean"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkTemplateItem/submit": {
"post": {
"summary": "提交设备点检模板项目",
"description": "新增或修改设备点检模板项目",
"tags": [
"设备点检模板项目"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"description": "点检模板项目ID"
},
"templateId": {
"type": "integer",
"format": "int64",
"description": "点检模板ID"
},
"itemName": {
"type": "string",
"description": "项目名称"
},
"itemCode": {
"type": "string",
"description": "项目编号"
},
"itemType": {
"type": "string",
"description": "项目类型"
},
"checkMethod": {
"type": "string",
"description": "检查方法"
},
"checkStandard": {
"type": "string",
"description": "检查标准"
},
"status": {
"type": "integer",
"format": "int32",
"description": "状态"
},
"remark": {
"type": "string",
"description": "备注"
}
}
}
}
},
"required": true
},
"responses": {
"200": {
"description": "操作结果",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "boolean"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkTemplateItem/remove": {
"post": {
"summary": "删除设备点检模板项目",
"description": "删除指定ID的设备点检模板项目",
"tags": [
"设备点检模板项目"
],
"parameters": [
{
"name": "ids",
"in": "query",
"description": "点检模板项目ID多个用逗号分隔",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "操作结果",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "boolean"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkTemplateItem/export-checkTemplateItem": {
"get": {
"summary": "导出设备点检模板项目",
"description": "导出设备点检模板项目数据",
"tags": [
"设备点检模板项目"
],
"parameters": [],
"responses": {
"200": {
"description": "Excel文件流",
"content": {
"application/vnd.ms-excel": {
"schema": {
"type": "string",
"format": "binary"
}
}
}
}
}
}
},
"/blade-check/checkItemConfig/detail": {
"get": {
"summary": "设备点检项目配置详情",
"description": "获取单个设备点检项目配置详情",
"tags": [
"设备点检项目配置"
],
"parameters": [
{
"name": "id",
"in": "query",
"description": "点检项目配置ID",
"required": true,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"200": {
"description": "点检项目配置详情",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "object",
"description": "点检项目配置详情"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkItemConfig/list": {
"get": {
"summary": "设备点检项目配置分页查询",
"description": "分页获取设备点检项目配置列表",
"tags": [
"设备点检项目配置"
],
"parameters": [
{
"name": "current",
"in": "query",
"description": "当前页",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"default": 1
}
},
{
"name": "size",
"in": "query",
"description": "每页条数",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"default": 10
}
}
],
"responses": {
"200": {
"description": "点检项目配置分页数据",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "object",
"properties": {
"records": {
"type": "array",
"items": {
"type": "object"
}
},
"total": {
"type": "integer",
"format": "int64"
},
"size": {
"type": "integer",
"format": "int32"
},
"current": {
"type": "integer",
"format": "int32"
}
}
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkItemConfig/page": {
"get": {
"summary": "设备点检项目配置自定义分页",
"description": "自定义分页获取设备点检项目配置",
"tags": [
"设备点检项目配置"
],
"parameters": [
{
"name": "current",
"in": "query",
"description": "当前页",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"default": 1
}
},
{
"name": "size",
"in": "query",
"description": "每页条数",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"default": 10
}
}
],
"responses": {
"200": {
"description": "点检项目配置分页数据",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "object",
"properties": {
"records": {
"type": "array",
"items": {
"type": "object"
}
},
"total": {
"type": "integer",
"format": "int64"
},
"size": {
"type": "integer",
"format": "int32"
},
"current": {
"type": "integer",
"format": "int32"
}
}
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkItemConfig/save": {
"post": {
"summary": "新增设备点检项目配置",
"description": "创建新的设备点检项目配置",
"tags": [
"设备点检项目配置"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"itemId": {
"type": "integer",
"format": "int64",
"description": "点检项目ID"
},
"configName": {
"type": "string",
"description": "配置名称"
},
"configValue": {
"type": "string",
"description": "配置值"
},
"configType": {
"type": "string",
"description": "配置类型"
},
"status": {
"type": "integer",
"format": "int32",
"description": "状态"
},
"remark": {
"type": "string",
"description": "备注"
}
},
"required": [
"itemId",
"configName",
"configValue",
"configType"
]
}
}
},
"required": true
},
"responses": {
"200": {
"description": "操作结果",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "boolean"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkItemConfig/update": {
"post": {
"summary": "修改设备点检项目配置",
"description": "更新已有的设备点检项目配置",
"tags": [
"设备点检项目配置"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"description": "点检项目配置ID"
},
"itemId": {
"type": "integer",
"format": "int64",
"description": "点检项目ID"
},
"configName": {
"type": "string",
"description": "配置名称"
},
"configValue": {
"type": "string",
"description": "配置值"
},
"configType": {
"type": "string",
"description": "配置类型"
},
"status": {
"type": "integer",
"format": "int32",
"description": "状态"
},
"remark": {
"type": "string",
"description": "备注"
}
},
"required": [
"id"
]
}
}
},
"required": true
},
"responses": {
"200": {
"description": "操作结果",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "boolean"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkItemConfig/submit": {
"post": {
"summary": "提交设备点检项目配置",
"description": "新增或修改设备点检项目配置",
"tags": [
"设备点检项目配置"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"description": "点检项目配置ID"
},
"itemId": {
"type": "integer",
"format": "int64",
"description": "点检项目ID"
},
"configName": {
"type": "string",
"description": "配置名称"
},
"configValue": {
"type": "string",
"description": "配置值"
},
"configType": {
"type": "string",
"description": "配置类型"
},
"status": {
"type": "integer",
"format": "int32",
"description": "状态"
},
"remark": {
"type": "string",
"description": "备注"
}
}
}
}
},
"required": true
},
"responses": {
"200": {
"description": "操作结果",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "boolean"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkItemConfig/remove": {
"post": {
"summary": "删除设备点检项目配置",
"description": "删除指定ID的设备点检项目配置",
"tags": [
"设备点检项目配置"
],
"parameters": [
{
"name": "ids",
"in": "query",
"description": "点检项目配置ID多个用逗号分隔",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "操作结果",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "boolean"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/checkItemConfig/export-checkItemConfig": {
"get": {
"summary": "导出设备点检项目配置",
"description": "导出设备点检项目配置数据",
"tags": [
"设备点检项目配置"
],
"parameters": [],
"responses": {
"200": {
"description": "Excel文件流",
"content": {
"application/vnd.ms-excel": {
"schema": {
"type": "string",
"format": "binary"
}
}
}
}
}
}
},
"/blade-check/task/detail": {
"get": {
"summary": "设备点检任务详情",
"description": "获取单个设备点检任务详情",
"tags": [
"设备点检任务"
],
"parameters": [
{
"name": "id",
"in": "query",
"description": "点检任务ID",
"required": true,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"200": {
"description": "点检任务详情",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "object",
"description": "点检任务详情"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/task/list": {
"get": {
"summary": "设备点检任务分页查询",
"description": "分页获取设备点检任务列表",
"tags": [
"设备点检任务"
],
"parameters": [
{
"name": "current",
"in": "query",
"description": "当前页",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"default": 1
}
},
{
"name": "size",
"in": "query",
"description": "每页条数",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"default": 10
}
},
{
"name": "taskCode",
"in": "query",
"description": "任务编号",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "taskName",
"in": "query",
"description": "任务名称",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "planId",
"in": "query",
"description": "关联计划ID",
"required": false,
"schema": {
"type": "integer",
"format": "int64"
}
},
{
"name": "planName",
"in": "query",
"description": "计划名称",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "planCode",
"in": "query",
"description": "计划编号",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "taskType",
"in": "query",
"description": "任务类型",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "taskStatus",
"in": "query",
"description": "任务状态",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "inspectorName",
"in": "query",
"description": "巡检人",
"required": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "点检任务分页数据",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "object",
"properties": {
"records": {
"type": "array",
"items": {
"type": "object"
}
},
"total": {
"type": "integer",
"format": "int64"
},
"size": {
"type": "integer",
"format": "int32"
},
"current": {
"type": "integer",
"format": "int32"
}
}
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/task/page": {
"get": {
"summary": "设备点检任务自定义分页",
"description": "自定义分页获取设备点检任务",
"tags": [
"设备点检任务"
],
"parameters": [
{
"name": "current",
"in": "query",
"description": "当前页",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"default": 1
}
},
{
"name": "size",
"in": "query",
"description": "每页条数",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"default": 10
}
}
],
"responses": {
"200": {
"description": "点检任务分页数据",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "object",
"properties": {
"records": {
"type": "array",
"items": {
"type": "object"
}
},
"total": {
"type": "integer",
"format": "int64"
},
"size": {
"type": "integer",
"format": "int32"
},
"current": {
"type": "integer",
"format": "int32"
}
}
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/task/save": {
"post": {
"summary": "新增设备点检任务",
"description": "创建新的设备点检任务",
"tags": [
"设备点检任务"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"taskCode": {
"type": "string",
"description": "任务编号"
},
"taskName": {
"type": "string",
"description": "任务名称"
},
"planId": {
"type": "integer",
"format": "int64",
"description": "关联计划ID"
},
"taskType": {
"type": "string",
"description": "任务类型"
},
"taskStatus": {
"type": "string",
"description": "任务状态"
},
"startTime": {
"type": "string",
"format": "date-time",
"description": "开始时间"
},
"endTime": {
"type": "string",
"format": "date-time",
"description": "结束时间"
},
"inspectorId": {
"type": "integer",
"format": "int64",
"description": "巡检人ID"
},
"inspectorName": {
"type": "string",
"description": "巡检人姓名"
},
"remark": {
"type": "string",
"description": "备注"
}
},
"required": [
"taskCode",
"taskName",
"planId",
"taskType",
"taskStatus",
"inspectorId",
"inspectorName"
]
}
}
},
"required": true
},
"responses": {
"200": {
"description": "操作结果",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "boolean"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/task/update": {
"post": {
"summary": "修改设备点检任务",
"description": "更新已有的设备点检任务",
"tags": [
"设备点检任务"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"description": "点检任务ID"
},
"taskCode": {
"type": "string",
"description": "任务编号"
},
"taskName": {
"type": "string",
"description": "任务名称"
},
"planId": {
"type": "integer",
"format": "int64",
"description": "关联计划ID"
},
"taskType": {
"type": "string",
"description": "任务类型"
},
"taskStatus": {
"type": "string",
"description": "任务状态"
},
"startTime": {
"type": "string",
"format": "date-time",
"description": "开始时间"
},
"endTime": {
"type": "string",
"format": "date-time",
"description": "结束时间"
},
"inspectorId": {
"type": "integer",
"format": "int64",
"description": "巡检人ID"
},
"inspectorName": {
"type": "string",
"description": "巡检人姓名"
},
"remark": {
"type": "string",
"description": "备注"
}
},
"required": [
"id"
]
}
}
},
"required": true
},
"responses": {
"200": {
"description": "操作结果",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "boolean"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/task/submit": {
"post": {
"summary": "提交设备点检任务",
"description": "新增或修改设备点检任务",
"tags": [
"设备点检任务"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"description": "点检任务ID"
},
"taskCode": {
"type": "string",
"description": "任务编号"
},
"taskName": {
"type": "string",
"description": "任务名称"
},
"planId": {
"type": "integer",
"format": "int64",
"description": "关联计划ID"
},
"taskType": {
"type": "string",
"description": "任务类型"
},
"taskStatus": {
"type": "string",
"description": "任务状态"
},
"startTime": {
"type": "string",
"format": "date-time",
"description": "开始时间"
},
"endTime": {
"type": "string",
"format": "date-time",
"description": "结束时间"
},
"inspectorId": {
"type": "integer",
"format": "int64",
"description": "巡检人ID"
},
"inspectorName": {
"type": "string",
"description": "巡检人姓名"
},
"remark": {
"type": "string",
"description": "备注"
}
}
}
}
},
"required": true
},
"responses": {
"200": {
"description": "操作结果",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "boolean"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/task/remove": {
"post": {
"summary": "删除设备点检任务",
"description": "删除指定ID的设备点检任务",
"tags": [
"设备点检任务"
],
"parameters": [
{
"name": "ids",
"in": "query",
"description": "点检任务ID多个用逗号分隔",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "操作结果",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "boolean"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/task/generate-from-plan": {
"post": {
"summary": "从计划生成任务",
"description": "根据计划ID生成点检任务",
"tags": [
"设备点检任务"
],
"parameters": [
{
"name": "planId",
"in": "query",
"description": "计划ID",
"required": true,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"200": {
"description": "操作结果",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "boolean"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/task/start": {
"post": {
"summary": "开始点检任务",
"description": "开始执行指定的点检任务",
"tags": [
"设备点检任务"
],
"parameters": [
{
"name": "taskId",
"in": "query",
"description": "任务ID",
"required": true,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"200": {
"description": "操作结果",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "boolean"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/task/complete": {
"post": {
"summary": "完成点检任务",
"description": "完成指定的点检任务",
"tags": [
"设备点检任务"
],
"parameters": [
{
"name": "taskId",
"in": "query",
"description": "任务ID",
"required": true,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"200": {
"description": "操作结果",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "boolean"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/task/statistics": {
"get": {
"summary": "任务统计",
"description": "获取指定任务的统计数据",
"tags": [
"设备点检任务"
],
"parameters": [
{
"name": "taskId",
"in": "query",
"description": "任务ID",
"required": true,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"200": {
"description": "任务统计数据",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "object",
"description": "任务统计数据"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/task/export-task": {
"get": {
"summary": "导出点检任务",
"description": "导出点检任务数据",
"tags": [
"设备点检任务"
],
"parameters": [],
"responses": {
"200": {
"description": "Excel文件流",
"content": {
"application/vnd.ms-excel": {
"schema": {
"type": "string",
"format": "binary"
}
}
}
}
}
}
},
"/blade-check/task/update-overdue-tasks": {
"post": {
"summary": "更新超期任务状态",
"description": "手动更新超期任务状态",
"tags": [
"设备点检任务"
],
"responses": {
"200": {
"description": "操作结果",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "integer",
"format": "int32",
"description": "更新的任务数量"
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/blade-check/task/devices-need-repair": {
"get": {
"summary": "获取需要维修的设备列表",
"description": "获取所有标记为需要维修的设备列表",
"tags": [
"设备点检任务"
],
"parameters": [
{
"name": "startDate",
"in": "query",
"description": "开始日期",
"required": false,
"schema": {
"type": "string",
"format": "date-time"
}
},
{
"name": "endDate",
"in": "query",
"description": "结束日期",
"required": false,
"schema": {
"type": "string",
"format": "date-time"
}
}
],
"responses": {
"200": {
"description": "需要维修的设备列表",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"success": {
"type": "boolean"
},
"data": {
"type": "array",
"items": {
"type": "object"
}
},
"msg": {
"type": "string"
}
}
}
}
}
}
}
}
}
},
"components": {
"schemas": {},
"securitySchemes": {}
},
"servers": []
}