Browse Source

申报项目 核心业务列表

tags/24080901
PoffyZhang 1 year ago
parent
commit
7dee37b18e
2 changed files with 14 additions and 0 deletions
  1. +6
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/contants/DeclaredProjectContant.java
  2. +8
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/controller/DeclaredProjectController.java

+ 6
- 0
pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/contants/DeclaredProjectContant.java
File diff suppressed because it is too large
View File


+ 8
- 0
pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/controller/DeclaredProjectController.java View File

@@ -1,6 +1,8 @@
package com.ningdatech.pmapi.projectdeclared.controller; package com.ningdatech.pmapi.projectdeclared.controller;


import com.alibaba.fastjson.JSONObject;
import com.ningdatech.basic.model.PageVo; import com.ningdatech.basic.model.PageVo;
import com.ningdatech.pmapi.projectdeclared.contants.DeclaredProjectContant;
import com.ningdatech.pmapi.projectdeclared.model.dto.DeclaredProjectListParamDTO; import com.ningdatech.pmapi.projectdeclared.model.dto.DeclaredProjectListParamDTO;
import com.ningdatech.pmapi.projectdeclared.model.dto.DefaultDeclaredDTO; import com.ningdatech.pmapi.projectdeclared.model.dto.DefaultDeclaredDTO;
import com.ningdatech.pmapi.projectdeclared.model.dto.ProjectDraftSaveDTO; import com.ningdatech.pmapi.projectdeclared.model.dto.ProjectDraftSaveDTO;
@@ -36,6 +38,12 @@ public class DeclaredProjectController {
return declaredProjectManage.projectLibList(req); return declaredProjectManage.projectLibList(req);
} }


@ApiOperation(value = "核心业务列表", notes = "核心业务列表")
@GetMapping("/core-biz")
public JSONObject bizList() {
return JSONObject.parseObject(DeclaredProjectContant.Biz.CORE_BIZ);
}

@ApiOperation(value = "申报项目草稿箱列表", notes = "申报项目草稿箱列表") @ApiOperation(value = "申报项目草稿箱列表", notes = "申报项目草稿箱列表")
@GetMapping("/draft") @GetMapping("/draft")
public PageVo<ProjectDraftVO> draft(@ModelAttribute DeclaredProjectListParamDTO params) { public PageVo<ProjectDraftVO> draft(@ModelAttribute DeclaredProjectListParamDTO params) {


Loading…
Cancel
Save