| | |
| | | @RequiredArgsConstructor |
| | | @Api(value = "项目审核记录表", tags = "项目审核记录表管理") |
| | | @RestController |
| | | @RequestMapping("/project-plan-examine-record") |
| | | @RequestMapping("/api/project-plan-examine-record") |
| | | public class ProjectPlanExamineRecordController { |
| | | |
| | | private final ProjectPlanExamineRecordService projectPlanExamineRecordService; |
| | |
| | | public Result list() { |
| | | return projectPlanExamineRecordService.all(); |
| | | } |
| | | |
| | | @GetMapping("/departmentApproval/{id}") |
| | | public Result departmentApproval(@PathVariable("id") Integer projectPlanRecordId) { |
| | | return projectPlanExamineRecordService.departmentApproval(projectPlanRecordId); |
| | | } |
| | | |
| | | @GetMapping("/planLog/{id}") |
| | | public Result planLog(@PathVariable("id") Integer projectPlanRecordId) { |
| | | return projectPlanExamineRecordService.planLog(projectPlanRecordId); |
| | | } |
| | | |
| | | @PostMapping("/replyDepartmentApproval") |
| | | public Result replyDepartmentApproval(@RequestBody ProjectPlanExamineRecordForm form) { |
| | | return projectPlanExamineRecordService.replyDepartmentApproval(form); |
| | | } |
| | | } |