## 獲取人員信息
~~~[api]
post:/fangyi/Posctr/getUserInfo?framework=api
*groupid#項目id
*name#姓名
*idcard#身份證號
<<<
success
{
"code": 0,
"msg": "查詢成功",
"data": {
"workerid": "19",
"recordtype":1,
"weid": "2",
"groupid": "21",
"workertype": "2",
"name": "李四",
"phone": "13562555556",
"department": null,
"address": null,
"idcard": "410215235452021487",
"nativeplace": "河南新鄉",
"istouch": "0",
"isnear": "0",
"health": "2",
"isremote": "1",
"startplace": "新鄉",
"transport": "私家車",
"trannumber": "豫a12345",
"returndate": "2020-02-19",
"roomid": "18",
"roomname": "301",
"reachdate": null,
"openid": null,
"createtime": "1582096283",
"isdel": "0"
}
}
<<<
error
{
"code": -1,
"msg": "錯誤信息",
"data": []
}
~~~
---
**返回信息**
| 參數 | 參數類型 | 必須 | 說明|
| ----------- | ------------------------------ | ------------ | --- |
| workerid| string| yes |人員id|
| groupid| String| yes | 項目id|
| workertype| String| yes | 1:工人2:工作人員:3訪客|
|recordtype|String|yes|1進場;2出場|
| name| String| yes | 員工姓名|
| phone| String| yes | 手機號|
| idcard| String| yes | 身份證號|
| nativeplace| String| yes | 籍貫|
| istouch| String| yes | 是否接觸湖北或感染人員|
| isnear| String| yes | 是否在湖北停留過|
| health| String| yes | 1:健康2:發燒乏力干咳,3:其它|
| isremote| String| yes | 1從其他城市返回|
| startpalce| String| yes | 出發地|
| transport| String| yes | 交通工具|
| trannumber| String| yes | 車次|
| returndate| String| yes | 出發日期|
| roomid| String| yes | 房間id|
| roomname| String| yes | 房間名|
| reachdate| String| yes | 到達日期|
| openid| String| yes | 微信標識|
| createtime| String| yes | 創建時間|
|groupname|String|yes|項目名|
|department|String|yes|單位|