master
shijie 4 years ago
parent f52042de81
commit 9ab0bd6cfb
  1. 10
      src/main/java/com/yipin/liuwanr/controller/Project_ManagementController.java

@ -62,6 +62,7 @@ public class Project_ManagementController {
* @param systemId
* @return
*/
@ApiOperation(value = "首页面查询", notes = "首页面查询")
@GetMapping("/queryAllManagements")
Response queryAllManagements(@RequestParam Integer projectPermissions,@RequestParam Integer founder,@RequestParam Integer state,@RequestParam String projectName,
@RequestParam Integer systemId,@RequestParam Integer userId,@RequestParam Integer pageNo,@RequestParam Integer pageSize){
@ -98,6 +99,7 @@ public class Project_ManagementController {
* @param point 项目id集合
* @return
*/
@ApiOperation(value = "批量删除", notes = "批量删除")
@PostMapping("/removeProjectManagement")
Response removeProjectManagement(@RequestBody List<Integer> point) {
Response resp = new Response();
@ -119,6 +121,7 @@ public class Project_ManagementController {
* @param projectId
* @return
*/
@ApiOperation(value = "根据项目管理id查询对应信息", notes = "根据项目管理id查询对应信息")
@GetMapping("/getProjectId")
Response getProjectId(Integer projectId) {
Response resp = new Response();
@ -139,6 +142,7 @@ public class Project_ManagementController {
* @param judgmentPointsName 判分点名称
* @return
*/
@ApiOperation(value = "添加点面板的数据展示+条件筛选", notes = "添加点面板的数据展示+条件筛选")
@GetMapping("/queryAllJudgmentPoints")
Response queryAllJudgmentPoints(@RequestParam String judgmentPointsName,@RequestParam Integer systemId) {
Response resp = new Response();
@ -171,6 +175,7 @@ public class Project_ManagementController {
* @param judgmentPointsIds 判分点id
* @return
*/
@ApiOperation(value = "实验任务表格信息的展示,根据判分点id和项目", notes = "实验任务表格信息的展示,根据判分点id和项目")
@GetMapping("/getByjudgmentPointsId")
Response getByjudgmentPointsId(@RequestParam List<Integer> judgmentPointsIds,Integer projectId,Integer userId) {
Response resp = new Response();
@ -192,6 +197,7 @@ public class Project_ManagementController {
* @param number 判分点数量
* @return
*/
@ApiOperation(value = "平均分配分值", notes = "平均分配分值")
@GetMapping("/avgValues")
Response avgValues(Integer number) {
Response resp = new Response();
@ -213,6 +219,7 @@ public class Project_ManagementController {
* @param role 角色
* @return
*/
@ApiOperation(value = "添加角色", notes = "添加角色")
@PostMapping("/addRole")
Response addRole(@RequestBody Role role) {
Response resp = new Response();
@ -234,6 +241,7 @@ public class Project_ManagementController {
* @param roleId 角色Id
* @return
*/
@ApiOperation(value = "实验数据表格信息的展示,根据角色id", notes = "实验数据表格信息的展示,根据角色id")
@GetMapping("/getByRoleId")
Response getByRoleId(@RequestParam List<Integer> roleId) {
Response resp = new Response();
@ -297,6 +305,7 @@ public class Project_ManagementController {
* @param vo
* @return
*/
@ApiOperation(value = "修改项目管理信息", notes = "修改项目管理信息")
@PostMapping("/updateProjectManagement")
Response updateProjectManagement(@RequestBody ManagementAndPointVo vo) {
Response resp = new Response();
@ -333,5 +342,4 @@ public class Project_ManagementController {
}
return resp;
}
}

Loading…
Cancel
Save