Browse Source

项目登记流程后端接口

lizhenhao 2 years ago
parent
commit
bf2f467111

+ 10 - 0
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/program/configuration/projectList/controller/ProjectListController.java

@@ -30,6 +30,16 @@ public class ProjectListController {
     @PostMapping(value = "/save")
     @PostMapping(value = "/save")
     public ResponseEntity<String> save(@RequestBody ProjectListDto projectListDto) throws Exception{
     public ResponseEntity<String> save(@RequestBody ProjectListDto projectListDto) throws Exception{
         String id = projectListService.save(projectListDto);
         String id = projectListService.save(projectListDto);
+        return ResponseEntity.ok("操作成功");
+    }
+
+    /**
+     * 流程保存
+     */
+    @ApiOperation(value = "流程保存")
+    @PostMapping(value = "/saveForm")
+    public ResponseEntity saveForm(@RequestBody ProjectListDto projectListDto) throws Exception{
+        String id = projectListService.save(projectListDto);
         return ResponseUtil.newInstance().add("businessTable", "program_project_list_info").add("businessId", id).ok ("操作成功");
         return ResponseUtil.newInstance().add("businessTable", "program_project_list_info").add("businessId", id).ok ("操作成功");
     }
     }