zxl
2025-03-21 c4ab6a24d2825f11a0de0f165667dc533c458a01
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 = "添加")
@@ -70,7 +73,7 @@
    @GetMapping("/{id}")
    @ApiOperation(value = "详情", notes = "详情")
//    @PreAuthorize("hasAuthority('progressPlan:detail')")
    public Result detail(@PathVariable("id") Integer id) {
    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);
    }
}