查询以保存部门下人员

简要描述:

  • 查询以保存部门下人员接口

请求URL:

  • http://192.168.11.145/organization/staff/find/page

请求方式:

  • GET

参数:

参数名 必选 类型 说明 长度
deptId int(11) 选中部门 id, 传 0 查询所有已绑定的部门下的人员 11
projectId int(11) 项目 id 11
page int(11) 页码 11
limit int(11) 每页条数 11
userRealname varchar(255) 用户姓名模糊查询 255

请求示例

http://192.168.11.145/organization/staff/find/page?projectId=5&deptId=9&page=1&limit=10

返回示例

{
    "msg": "success",
    "code": 0,
    "data": {
        "total": 2,
        "size": 10,
        "current": 1,
        "records": [
            {
                "userId": 10,
                "type": null,
                "tenantId": null,
                "username": "13256565656",
                "password": null,
                "salt": null,
                "wxOpenid": null,
                "qqOpenid": null,
                "createTime": null,
                "updateTime": null,
                "delFlag": null,
                "phone": "13256565656",
                "avatar": null,
                "userRealname": "野比大雄",
                "sex": "0",
                "email": "3326135931@qq.com",
                "empno": "123456",
                "signName": null,
                "userFlag": "1",
                "passwordEndtime": null,
                "createBy": null,
                "updateBy": null,
                "remark": null,
                "adminRemark": null,
                "deptId": 9,
                "deptName": "城管大队",
                "roleList": null,
                "postList": null,
                "deptList": null,
                "postIds": "43",
                "postNames": "组织部长",
                "depts": null
            },
            {
                "userId": 15,
                "type": null,
                "tenantId": null,
                "username": "15264256230",
                "password": null,
                "salt": null,
                "wxOpenid": null,
                "qqOpenid": null,
                "createTime": null,
                "updateTime": null,
                "delFlag": null,
                "phone": "15264256230",
                "avatar": null,
                "userRealname": "孙晓明",
                "sex": "0",
                "email": "1523@qq.com",
                "empno": "123jj",
                "signName": null,
                "userFlag": "1",
                "passwordEndtime": null,
                "createBy": null,
                "updateBy": null,
                "remark": null,
                "adminRemark": null,
                "deptId": 9,
                "deptName": "城管大队",
                "roleList": null,
                "postList": null,
                "deptList": null,
                "postIds": "43",
                "postNames": "组织部长",
                "depts": null
            }
        ],
        "pages": 1
    }
}

返回参数说明

参数名 类型 说明
code int 状态码, 0:成功;其他:异常
message String 描述信息
data object 返回数据
total long 总数
size int 每页条数
current int 当前页
records list 返回数据
pages long 总页数
delFlag String 删除标记, 0: 正常 1: 删除
remark String 备注
createTime String 创建时间
updateTime String 更新时间
createBy int 创建人 id
updateBy int 修改人 id
id int 数据 id
tenantId int 租户 id

备注