| | |
| | | import com.ycl.common.group.Update; |
| | | import com.ycl.domain.form.ProjectPlanProgressReportForm; |
| | | import com.ycl.domain.query.ProjectPlanProgressReportQuery; |
| | | import com.ycl.domain.vo.ProgressReportResponseVO; |
| | | import com.ycl.service.ProjectPlanProgressReportService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | |
| | | @PostMapping |
| | | @ApiOperation(value = "添加", notes = "添加") |
| | | @PreAuthorize("hasAuthority('projectPlanProgressReport:add')") |
| | | public Result add(@RequestBody @Validated(Add.class) ProjectPlanProgressReportForm form) { |
| | | // @PreAuthorize("hasAuthority('projectPlanProgressReport:add')") |
| | | public Result add(@RequestBody @Validated(Add.class) ProgressReportResponseVO form) { |
| | | return projectPlanProgressReportService.add(form); |
| | | } |
| | | |
| | | @PostMapping("/examine") |
| | | public Result examine(@RequestBody @Validated(Add.class) ProgressReportResponseVO form) { |
| | | return projectPlanProgressReportService.examine(form); |
| | | } |
| | | |
| | | @PutMapping |
| | | @ApiOperation(value = "修改", notes = "修改") |
| | | @PreAuthorize("hasAuthority('projectPlanProgressReport:edit')") |