文档
测试

多条件查看人员指定的信息

POST
/qgy/personnel/conditions

接口描述

可以根据姓名 || 性别 || 部门 || 工号 || 电话 || 身份证 || 工种 || 单位 || 几个合并 查看人员指定的信息 除了当前用户之外其它参数都不传则返回当前用户下的全部人员

请求参数

参数名
类型
描述
必填
name
String
姓名
可选
sex
String
性别
可选
department
String
部门
可选
workNum
String
工号
可选
phone
String
手机号
可选
idCard
String
身份证
可选
work
String
工种
可选
index
Integer
当前页码
可选
length
Integer
每页个数
可选
userId
String
当前用户
必填
unit
String
单位
可选

返回示例

``` { "result": 1, "msg": "successful operation!", "number": 10, "code": "QG_SUS1000", "data": [ { "id": 2, "guid": "U6YVHXNJ3YXRJQGYUV7HIPZ8TRYL", "name": "测试3", "sex": "男", "whether":0,//是否是管理员 0否 1是 "ticket":"gQH47joAAAAAAAAAASxodHRwOi8vd2VpeGluLnFxLmNvbS9xL2taZ2Z3TVRtNzJXV1Brb3ZhYmJJAAIEZ23sUwMEmm 3sUw=="//获取的二维码ticket,凭借此ticket可以在有效时间内换取二维码。 "workNum": "005", "nfcInfo": "654684534135", "idCard": "564164654964", "type": "会员", "phone": "5343515136", "unit": "奇谷", "address": "杭州", "email": "1354351314", "userId": null, "isDelete": 1, "createTime": "2019-08-26T09:16:52.000+0000", "department": "技术", "serialNo": "1", "work": null, "visitor":0, "startTime":null, "endTime":null, "faces": [ { "createTime": "2018-12-28T03:23:16+0000", "faceUrl": "ceshi2", "guid": "ceshi2", "personGuid": "68E1FC365F05419196117ACC924F17F1", "name":"cs" } ] } ], "count": 1 } ```