| | |
| | | import com.ycl.common.group.Update; |
| | | import com.ycl.domain.form.ProjectPlanExamineRecordForm; |
| | | import com.ycl.domain.query.ProjectPlanExamineRecordQuery; |
| | | import com.ycl.domain.vo.ProgressReportResponseVO; |
| | | import com.ycl.domain.form.ProgressReportResponseForm; |
| | | import com.ycl.service.ProjectPlanExamineRecordService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | @GetMapping("/{id}") |
| | | @ApiOperation(value = "详情", notes = "详情") |
| | | @PreAuthorize("hasAuthority('projectPlanExamineRecord:detail')") |
| | | public Result detail(@PathVariable("id") Integer id) { |
| | | public Result detail(@PathVariable("id") Long id) { |
| | | return projectPlanExamineRecordService.detail(id); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | @GetMapping("/departmentApproval/{id}") |
| | | public Result departmentApproval(@PathVariable("id") Integer projectPlanRecordId) { |
| | | public Result departmentApproval(@PathVariable("id") Long projectPlanRecordId) { |
| | | return projectPlanExamineRecordService.departmentApproval(projectPlanRecordId); |
| | | } |
| | | |
| | | @GetMapping("/planLog/{id}") |
| | | public Result planLog(@PathVariable("id") Integer projectPlanRecordId) { |
| | | public Result planLog(@PathVariable("id") Long projectPlanRecordId) { |
| | | return projectPlanExamineRecordService.planLog(projectPlanRecordId); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | @PostMapping("/reply") |
| | | public Result reply(@RequestBody ProgressReportResponseVO form) { |
| | | public Result reply(@RequestBody ProgressReportResponseForm form) { |
| | | return projectPlanExamineRecordService.reply(form); |
| | | } |
| | | } |