| | |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletResponse; |
| | |
| | | private ManageRecordAuditService manageRecordAuditService; |
| | | |
| | | @ApiOperation(value = "分页查询文件修订申请审批记录") |
| | | @PostMapping("/pageManageRecordAudit") |
| | | @GetMapping("/pageManageRecordAudit") |
| | | public Result pageManageRecordAudit(Page page,ManageRecordAudit manageRecordAudit) throws Exception { |
| | | return Result.success(manageRecordAuditService.pageManageRecordAudit(page, manageRecordAudit)); |
| | | } |
| | | |
| | | @ApiOperation(value = "新增文件修订申请审批记录") |
| | | @PostMapping("/addManageRecordAudit") |
| | | public Result addManageRecordAudit( ManageRecordAudit manageRecordAudit){ |
| | | public Result addManageRecordAudit(@RequestBody ManageRecordAudit manageRecordAudit){ |
| | | return Result.success(manageRecordAuditService.addManageRecordAudit(manageRecordAudit)); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "编辑文件修订申请审批记录") |
| | | @PostMapping("/doManageRecordAudit") |
| | | public Result doManageRecordAudit(ManageRecordAudit manageRecordAudit){ |
| | | public Result doManageRecordAudit(@RequestBody ManageRecordAudit manageRecordAudit){ |
| | | return Result.success(manageRecordAuditService.doManageRecordAudit(manageRecordAudit)); |
| | | } |
| | | |
| | | @ApiOperation(value = "删除文件修订申请审批记录") |
| | | @PostMapping("/delManageRecordAudit") |
| | | @DeleteMapping("/delManageRecordAudit") |
| | | public Result delManageRecordAudit(Integer id){ |
| | | return Result.success(manageRecordAuditService.removeById(id)); |
| | | } |
| | | |
| | | @ApiOperation(value = "批准文件修订申请审批记录") |
| | | @PostMapping("/ratifyManageRecordAudit") |
| | | public Result ratifyManageRecordAudit(Integer id){ |
| | | public Result ratifyManageRecordAudit(@RequestBody Map<String, Integer> param){ |
| | | Integer id = param.get("id"); |
| | | return Result.success(manageRecordAuditService.ratifyManageRecordAudit(id)); |
| | | } |
| | | |
| | | @ApiOperation(value = "申请部门主管意见文件修订申请审批记录") |
| | | @PostMapping("/manageRecordAudit1") |
| | | public void manageRecordAudit1(){ |
| | | } |
| | | |
| | | @ApiOperation(value = "原制定部门意见文件修订申请审批记录") |
| | | @PostMapping("/manageRecordAudit2") |
| | | public void manageRecordAudit2(){ |
| | | } |
| | | |
| | | @ApiOperation(value = "原审核部门意见文件修订申请审批记录") |
| | | @PostMapping("/manageRecordAudit3") |
| | | public void manageRecordAudit3(){ |
| | | } |
| | | |
| | | @ApiOperation(value = "导出文件修订申请审批记录") |
| | | @PostMapping("/exportOutManageRecordAudit") |
| | | public Result exportOutManageRecordAudit(ManageRecordAudit manageRecordAudit, HttpServletResponse response) throws Exception { |
| | | @GetMapping("/exportOutManageRecordAudit") |
| | | public Result exportOutManageRecordAudit(ManageRecordAudit manageRecordAudit, HttpServletResponse response) { |
| | | return Result.success(manageRecordAuditService.exportOutManageRecordAudit(manageRecordAudit,response)); |
| | | } |
| | | |