文档
测试

查该试卷可发布的组织列表

POST
/admin/exam/release/not/paper/organization

接口描述

查看某试卷可发布的组织列表

请求参数

参数名
类型
描述
必填
examPaperId
试卷id
必填
pageNum
String
分页信息,当前页码,(可选填)不填默认为1
必填
pageSize
String
分页信息,每页数量,(可选填)不填默认为10
必填
notNeedPage
int
如果需要获取全部数据,传入1,否则不传。用于获取下拉框数据时使用
必填

响应参数

参数名
类型
描述
必填
data
必填
id
组织id
必填
pid
父组织id
必填
name
组织名称
必填
synopsis
组织描述
必填
people
负责人
必填
peopleNum
组织最大人数
必填
twoName
二级名称
必填
organizationCount
实际人数
必填

说明 / 示例

* 请求示例 `localhost:8082/admin/exam/release/not/paper/organization?examPaperId=5` * 返回示例 ``` { "data": [ { "id": 53, "pid": 0, "name": "研发部", "synopsis": "研发部", "people": "WG", "peopleNum": 100, "gmtCreate": 1576803720000, "gmtModified": 1577061131000, "isDeleted": 1, "twoName": null, "organizationCount": null }, { "id": 54, "pid": 53, "name": "Web部门", "synopsis": null, "people": "TK", "peopleNum": null, "gmtCreate": 1576803900000, "gmtModified": 1576803900000, "isDeleted": 1, "twoName": null, "organizationCount": null }, { "id": 55, "pid": 0, "name": "生产2部", "synopsis": "", "people": "", "peopleNum": 100, "gmtCreate": 1577061107000, "gmtModified": 1577061107000, "isDeleted": 1, "twoName": null, "organizationCount": null }, { "id": 56, "pid": 0, "name": "生产3部", "synopsis": "", "people": "", "peopleNum": 100, "gmtCreate": 1577061158000, "gmtModified": 1577061158000, "isDeleted": 1, "twoName": null, "organizationCount": null }, { "id": 57, "pid": 0, "name": "生产5部", "synopsis": "", "people": "", "peopleNum": 100, "gmtCreate": 1577061172000, "gmtModified": 1577061172000, "isDeleted": 1, "twoName": null, "organizationCount": null }, { "id": 58, "pid": 55, "name": "pus2工程部", "synopsis": null, "people": "李", "peopleNum": null, "gmtCreate": 1577061313000, "gmtModified": 1577061313000, "isDeleted": 1, "twoName": null, "organizationCount": null }, { "id": 59, "pid": 56, "name": "pus3工程部", "synopsis": null, "people": "家伟", "peopleNum": null, "gmtCreate": 1577061331000, "gmtModified": 1577061331000, "isDeleted": 1, "twoName": null, "organizationCount": null }, { "id": 60, "pid": 57, "name": "pus5工程部", "synopsis": null, "people": "田ys", "peopleNum": null, "gmtCreate": 1577061348000, "gmtModified": 1577061348000, "isDeleted": 1, "twoName": null, "organizationCount": null }, { "id": 61, "pid": 0, "name": "生产测试部", "synopsis": "测试功能", "people": "", "peopleNum": 150, "gmtCreate": 1578510167000, "gmtModified": 1578510175000, "isDeleted": 1, "twoName": null, "organizationCount": null } ], "code": 1 } ```