|
@@ -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 ("操作成功");
|
|
}
|
|
}
|
|
|
|
|