获取保养任务
POST
http://localhost:30010/api/upkeeps/UpkeepTask/getList
请求头
参数名
类型
描述
必填
Authorization
string
bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJsb2dpblR5cGUiOiJsb2dpbiIsImxvZ2luSWQiOiIzNDkwNTc0MDcyMDk1NDEiLCJyblN0ciI6Ik1XbTdjN1ZsT0IxN0xacWxzNFF0MHRITU9LenllbDBhIiwidXNlcl9pZCI6IjM0OTA1NzQwNzIwOTU0MSIsInVzZXJfbmFtZSI6ImFkbWluIiwic2luZ2xlTG9naW4iOjIsImV4cCI6MTY5NDQ3MDY1MjY0NSwidG9rZW4iOiJsb2dpbl90b2tlbl80NzA5Mzc1MDQ0MDEzMzQ1OTcifQ.qtk0RoAdCPeQrqZa1WdAir6tt492fe0RnAzqHL19GJU
必填
jnpf-origin
string
示例:pc
必填
flag
必填
请求参数
参数名
类型
描述
必填
flag
int
示例:1 获取当日任务,0获取所有任务 2 获取30天内
可选
currentPage
int
当前页
必填
pageSize
int
当前页记录数
必填
dataType
int
是否为分页数据,0代表是
必填
响应参数
参数名
类型
描述
必填
code
int
示例:200
必填
msg
string
示例:Success
必填
id
string
保养任务ID,示例:465804897816686725
必填
standby01
string
保养计划ID,示例:465769667424694277
必填
code
string
任务编码,示例:BY-20230828008
必填
name
string
任务名称,示例:高压配电柜AH02
必填
upkeepteam
string
保养队ID,示例:453221008803889477
必填
upkeepplace
string
保养地点ID,示例:463315203178631685
必填
plantime
int
计划用时,示例:55
必填
realtime
object
实际用时,示例:null
必填
errormax
int
正偏差,示例:5
必填
errormin
int
负偏差,示例:5
必填
needpeople
int
需求人数,示例:2
必填
plantype
string
计划类型,示例:内部
必填
enablemark
string
是否启用,示例:1
必填
notes
string
备注,示例:哈哈哈哈哈哈哈好
必填
upkeepsduration
int
保养时长,示例:null
必填
upkeepsuser
string
保养人,示例:null
必填
taskstarttime
long
保养时间,示例:null
必填
anomaliesnumber
int
异常数,示例:null
必填
confirmresult
string
确认结果,示例:null
必填
confirmmsg
string
问题描述,示例:null
必填
code_name
string
示例:BY-20230828008
必填
name_name
string
示例:高压配电柜AH02
必填
upkeepteam_name
string
示例:一期
必填
upkeepplace_name
string
示例:高压配电柜AH02
必填
plantime_name
int
示例:55
必填
realtime_name
string
示例:null
必填
errormax_name
int
示例:5
必填
errormin_name
int
示例:5
必填
needpeople_name
int
示例:2
必填
plantype_name
string
示例:内部
必填
enablemark_name
int
示例:1
必填
notes_name
string
示例:哈哈哈哈哈哈哈好
必填
upkeepsduration_name
int
示例:null
必填
upkeepsuser_name
string
示例:null
必填
taskstarttime_name
int
示例:null
必填
anomaliesnumber_name
int
示例:null
必填
confirmresult_name
string
示例:null
必填
confirmmsg_name
string
示例:null
必填
createtasktime
string
保养任务计划开始时间
必填
overtasktime
string
保养任务计划结束时间
必填
executionstatus
int
任务执行状态,0未开始 1进行中 2已完成
必填
id
string
保养项ID,示例:465770415126491141
必填
upkeepsid
string
名称,示例:电冰箱
必填
standard
string
保养基准,示例:制冷
必填
way
string
保养方法,示例:修
必填
starttime
object
保养开始时间,示例:null
必填
endtime
object
保养结束时间,示例:null
必填
upkeepsresult
int
保养结果 0正常 1异常,初始为 null
必填
name
string
名称,示例:1
必填
model
string
型号,示例:1
必填
count
int
数量,示例:1
必填
notes
string
备注,示例:1
必填
confirmtime
object
示例:null
必填
confirmoperation
object
示例:null
必填
restoreconfirm
object
示例:null
必填
restoretime
object
示例:null
必填