按工种获取在场人数统计
接口地址
SERVICE-ADDRESS/summary/workTypeSummary
方法:get
参数说明
参数 |
类型 |
是否必须 |
说明 |
appid |
string |
是 |
唯一凭证 |
sign |
string |
是 |
签名 |
projectId |
long |
是 |
项目编码 |
返回数据示例
{
"success": true,
"code": "0",
"message": "操作成功",
"data": [
{
"code": "G407",
"name": "木工",
"currentCount": 14,
"presentCount": 15
},
{
"code": "G440",
"name": "喷浆工",
"currentCount": 0,
"presentCount": 1
},
{
"code": "G452",
"name": "水电工",
"currentCount": 1,
"presentCount": 1
}
]
}
返回字段说明
字段 |
字段名称 |
字段格式 |
备注 |
code |
工种code |
String |
|
name |
工种名称 |
String |
|
currentCount |
实时在场人数 |
int |
|
presentCount |
日累计出勤人数 |
int |
|