| | |
| | | package com.ycl.controller; |
| | | |
| | | import com.ycl.common.base.Result; |
| | | import com.ycl.common.core.controller.BaseController; |
| | | import com.ycl.common.group.Add; |
| | | import com.ycl.common.group.Update; |
| | | import com.ycl.domain.form.ProjectPlanExamineRecordForm; |
| | | import com.ycl.domain.query.ProjectPlanExamineRecordQuery; |
| | | import com.ycl.domain.form.ProgressReportResponseForm; |
| | | import com.ycl.service.ProjectPlanExamineRecordService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | @Api(value = "项目审核记录表", tags = "项目审核记录表管理") |
| | | @RestController |
| | | @RequestMapping("/api/project-plan-examine-record") |
| | | public class ProjectPlanExamineRecordController { |
| | | public class ProjectPlanExamineRecordController extends BaseController { |
| | | |
| | | private final ProjectPlanExamineRecordService projectPlanExamineRecordService; |
| | | |
| | |
| | | } |
| | | |
| | | @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); |
| | | } |
| | | |
| | |
| | | public Result replyExamine(@RequestBody ProjectPlanExamineRecordForm form) { |
| | | return projectPlanExamineRecordService.replyExamine(form); |
| | | } |
| | | |
| | | @GetMapping("/todo_list") |
| | | // @PreAuthorize("hasAuthority('projectPlanExamineRecord:list')") |
| | | @ApiOperation(value = "进度待办列表", notes = "进度待办列表") |
| | | public Result todoList(ProjectPlanExamineRecordQuery query) { |
| | | return projectPlanExamineRecordService.todoList(getUserId(),query); |
| | | } |
| | | |
| | | @PostMapping("/reply") |
| | | public Result reply(@RequestBody ProgressReportResponseForm form) { |
| | | return projectPlanExamineRecordService.reply(form); |
| | | } |
| | | } |