showdone
开发中
GET
/api/workorders
请求参数
Query 参数
userId
integer
可选
identityNumber
integer
可选
返回响应
🟢200成功
application/json
Body
list
array[object (工单) {17}]
可选
orderId
string
工单Id
issueDescription
string
工单说明
orderStatus
integer
工单状态
applicantName
string
发起工单的人
applicantId
integer
发起工单的人员ID
applicantIdentity
integer
发起工单的初始级别
recipientId
integer | null
接收工单的操作人员id
recipientName
string | null
接收工单的操作人员姓名
type
integer
工单类型
2 :维护问题
3 : 后勤缺失,应交由后勤保障部门
department
integer | null
操作人员将工单派送到的其他部门
2 :维护部门
3 : 后勤保障部门
sendTime
string
发起工单时间
finishTime
string | null
工单被处理时间
deadline
string
工单的预期截止时间
approverIdA
integer
可选
approverIdB
integer
可选
approverIdC
integer
可选
allocatedId
integer
可选
errormsg
string | null
可选
success
boolean
必需
示例
{
"list": [
{
"orderId": "string",
"issueDescription": "string",
"orderStatus": 0,
"applicantName": "string",
"applicantId": 0,
"applicantIdentity": 0,
"recipientId": 0,
"recipientName": "string",
"type": 0,
"department": 0,
"sendTime": "string",
"finishTime": "string",
"deadline": "string",
"approverIdA": 0,
"approverIdB": 0,
"approverIdC": 0,
"allocatedId": 0
}
],
"errormsg": "string",
"success": true
}
修改于 2025-06-17 10:08:23