From 0c35c75ada3bb2a0a4d2843d20445af524f0e357 Mon Sep 17 00:00:00 2001
From: luohairen <3399054449@qq.com>
Date: 星期二, 31 十二月 2024 15:53:52 +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