## 获取人员信息
~~~[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|单位|