From 7b1da9b7db15333148fbf12a6ac3f1122238b2ab Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 05 六月 2025 09:05:11 +0800
Subject: [PATCH] 数据库备份

---
 business/src/main/java/com/ycl/controller/ProgressPlanController.java |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/business/src/main/java/com/ycl/controller/ProgressPlanController.java b/business/src/main/java/com/ycl/controller/ProgressPlanController.java
index ace5749..2708f83 100644
--- a/business/src/main/java/com/ycl/controller/ProgressPlanController.java
+++ b/business/src/main/java/com/ycl/controller/ProgressPlanController.java
@@ -6,6 +6,8 @@
 import com.ycl.common.group.Update;
 import com.ycl.domain.form.ProgressPlanForm;
 import com.ycl.domain.query.ProgressPlanQuery;
+import com.ycl.domain.form.ProjectProgressFileListsForm;
+import com.ycl.mapper.FileMapper;
 import com.ycl.service.ProgressPlanService;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
@@ -31,6 +33,7 @@
 public class ProgressPlanController {
 
     private final ProgressPlanService progressPlanService;
+    private final FileMapper fileMapper;
 
     @PostMapping
     @ApiOperation(value = "娣诲姞", notes = "娣诲姞")
@@ -69,8 +72,8 @@
 
     @GetMapping("/{id}")
     @ApiOperation(value = "璇︽儏", notes = "璇︽儏")
-    @PreAuthorize("hasAuthority('progressPlan:detail')")
-    public Result detail(@PathVariable("id") Integer id) {
+//    @PreAuthorize("hasAuthority('progressPlan:detail')")
+    public Result detail(@PathVariable("id") Long id) {
         return progressPlanService.detail(id);
     }
 
@@ -80,4 +83,15 @@
     public Result list() {
         return progressPlanService.all();
     }
+
+    @PostMapping("/saveProjectProgressFileLists")
+    public Result saveProjectProgressFileLists(@RequestBody ProjectProgressFileListsForm form) {
+        return progressPlanService.saveProjectProgressFileLists(form);
+    }
+
+    @GetMapping("/getProjectProgressForm/{id}")
+    public Result getProjectProgressForm(@PathVariable("id") Long id) {
+        return progressPlanService.getProjectProgressForm(id);
+    }
+
 }

--
Gitblit v1.8.0