Sfoglia il codice sorgente

申报项目 核心业务列表

master
PoffyZhang 1 anno fa
parent
commit
7dee37b18e
2 ha cambiato i file con 14 aggiunte e 0 eliminazioni
  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 soppresso perché troppo grande
Vedi File


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

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

import com.alibaba.fastjson.JSONObject;
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.DefaultDeclaredDTO;
import com.ningdatech.pmapi.projectdeclared.model.dto.ProjectDraftSaveDTO;
@@ -36,6 +38,12 @@ public class DeclaredProjectController {
return declaredProjectManage.projectLibList(req);
}

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

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


Loading…
Annulla
Salva