| | |
| | | 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; |
| | |
| | | * 文件受控 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author 芯导软件(江苏)有限公司 |
| | | * @author |
| | | * @since 2024-11-08 02:54:44 |
| | | */ |
| | | @Api(tags = "管理体系文件的控制") |
| | |
| | | private ManageDocumentControlledService manageDocumentControlledService; |
| | | |
| | | @ApiOperation(value = "分页查询文件受控") |
| | | @PostMapping("/pageManageDocumentControlled") |
| | | @GetMapping("/pageManageDocumentControlled") |
| | | public Result pageManageDocumentControlled(Page page,ManageDocumentControlled manageDocumentControlled) throws Exception { |
| | | return Result.success(manageDocumentControlledService.pageManageDocumentControlled(page, manageDocumentControlled)); |
| | | } |
| | |
| | | |
| | | |
| | | @ApiOperation(value = "查看文件受控") |
| | | @PostMapping("/getManageDocumentControlled") |
| | | @GetMapping("/getManageDocumentControlled") |
| | | public Result getManageDocumentControlled(Long id){ |
| | | return Result.success(manageDocumentControlledService.getManageDocumentControlled(id)); |
| | | } |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "删除文件受控") |
| | | @PostMapping("/delManageDocumentControlled") |
| | | @DeleteMapping("/delManageDocumentControlled") |
| | | public Result delManageDocumentControlled(Long id){ |
| | | return Result.success(manageDocumentControlledService.delManageDocumentControlled(id)); |
| | | } |
| | |
| | | |
| | | |
| | | @ApiOperation(value = "审核查看附件") |
| | | @PostMapping("/checkManageDocumentControlledPdf") |
| | | @GetMapping("/checkManageDocumentControlledPdf") |
| | | public void checkManageDocumentControlledPdf(Long id, HttpServletResponse response)throws Exception { |
| | | manageDocumentControlledService.checkManageDocumentControlledPdf(id,response); |
| | | } |