文档
测试

员工列表

GET
http://192.168.1.114:8501/cpcp/staff/staffList?page=1&limit=10&staffName=李&staffAccount=950284&staffTag=staffzh

接口描述

/cpcp/staff/staffList 根据搜索条件查找员工列表

请求参数

参数名
类型
描述
必填
page
int
当前页 1
必填
limit
int
每页展示数量 10
必填
staffName
string
搜索条件 员工名称 李
必填
staffAccount
string
搜索条件 员工工号 950284
必填
staffTag
string
员工标签 下拉选择 staffzh
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:success
必填
code
int
示例:0
必填
page
object
数据字典
必填
totalCount
int
示例:1
必填
pageSize
int
示例:10
必填
totalPage
int
示例:1
必填
currPage
int
示例:1
必填
list
array
数据列表
必填
staffId
int
示例:255
必填
staffName
string
示例:李慧
必填
staffAccount
string
示例:950284
必填
staffPassword
string
示例:3e25272b6c7573750402036c05464353
必填
staffCode
string
示例:8500222621
必填
guid
string
示例:34950284@AH
必填
workProp
string
示例:10000
必填
partyId
string
示例:16897
必填
titleNote
string
示例:null
必填
roleId
string
示例:11223,11997,11146,10006
必填
effDate
string
示例:2017-07-06 21:08:19
必填
expDate
string
示例:2099-01-01 13:23:44
必填
createDate
string
示例:2013-01-01 13:23:44
必填
updateDate
string
示例:2017-07-06 21:08:19
必填
statusDate
string
示例:2013-01-01 13:23:44
必填
uuid
string
示例:C2334A440D704EAF9390835F6EB8F59F
必填
staffFixId
string
示例:100000000003
必填
staffDesc
string
示例:null
必填
parttime
string
示例:null
必填
statusCd
string
示例:1000
必填
locationId
int
示例:0
必填
tagId
int
示例:31
必填
tagName
string
示例:staffzh
必填
staffTag
string
示例:管理人员
必填
telNum
object
示例:null
必填
orgName
object
示例:null
必填

说明 / 示例

请求示例 ```json http://192.168.1.114:8501/cpcp/staff/staffList?page=1&limit=10&staffName=李&staffAccount=950284&staffTag=staffzh ``` 返回示例 ```json { "msg": "success", "code": 0, "page": { "totalCount": 1, "pageSize": 10, "totalPage": 1, "currPage": 1, "list": [ { "staffId": 255, "staffName": "李慧", "staffAccount": "950284", "staffPassword": "3e25272b6c7573750402036c05464353", "staffCode": "8500222621", "guid": "34950284@AH", "workProp": "10000", "partyId": "16897", "titleNote": "null", "roleId": "11223,11997,11146,10006", "effDate": "2017-07-06 21:08:19", "expDate": "2099-01-01 13:23:44", "createDate": "2013-01-01 13:23:44", "updateDate": "2017-07-06 21:08:19", "statusDate": "2013-01-01 13:23:44", "uuid": "C2334A440D704EAF9390835F6EB8F59F", "staffFixId": "100000000003", "staffDesc": "null", "parttime": "null", "statusCd": "1000", "locationId": 0, "tagId": 31, "tagName": "staffzh", "staffTag": "管理人员", "telNum": null, "orgName": null } ] } } ```