文档
测试

11.主管:获取工站列表

POST
http://172.21.6.65:8080/ewbpm/TaskV3Servlet?method=getWorkStationList&params=%7B%22processCode%22%3A%22CNC%22%7D

请求参数

参数名
类型
描述
必填
method
string
示例:getWorkStationList
必填
params
string
示例:{"processCode":"CNC"}
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:
必填
data
array
数据列表
必填
ws_result
array
数据列表
必填
createUserId
int
示例:620925
必填
workStationId
int
示例:30
必填
sopId
int
示例:5
必填
wsBarcode
string
示例:resourceBaseBarCode?folder=resourceBase&id=30&code=GZCNC0030
必填
createUserName
string
示例:寻孝文
必填
deviceId
int
示例:0
必填
operator
string
示例:
必填
ecNo
string
示例:
必填
meLoginName
string
示例:
必填
materialRange
string
示例:
必填
meUserName
string
示例:
必填
groupLeaderUserName
string
示例:
必填
groupLeaderUserId
int
示例:0
必填
state
int
示例:1
必填
workStationNo
string
示例:GZCNC0030
必填
maintenanceUserId
int
示例:0
必填
deviceNo
string
示例:
必填
typeCode
int
示例:0
必填
operatorUserId
string
示例:
必填
toolRange
string
示例:
必填
operatorUserName
string
示例:
必填
createTime
object
数据字典
必填
date
int
示例:29
必填
hours
int
示例:13
必填
seconds
int
示例:17
必填
month
int
示例:11
必填
nanos
int
示例:0
必填
timezoneOffset
int
示例:-480
必填
year
int
示例:120
必填
minutes
int
示例:40
必填
time
int
示例:1609220417000
必填
day
int
示例:2
必填
ecId
int
示例:0
必填
processCode
string
示例:CNC
必填
workStationAccount
string
示例:
必填
meUserId
int
示例:0
必填
wsType
int
示例:0
必填
maintenanceUserName
string
示例:
必填
sopNo
string
示例:SOPCNC0001
必填
workStationName
string
示例:CNC设备_晁群008
必填
pc_id
int
示例:463
必填

说明 / 示例

## ws_result 工站集合 workStationId:工站id workStationNo:工站号 workStationName:工站名称 processCode:工站对应的工序