| | |
| | | @GetMapping("/get") |
| | | @Operation(summary = "获得资料审核") |
| | | @Parameter(name = "id", description = "编号", required = true, example = "1024") |
| | | @PreAuthorize("@ss.hasPermission('mes:pd-document-audit:query')") |
| | | public CommonResult<MesPdDocumentAuditRespVO> getDocumentAudit(@RequestParam("id") Long id) { |
| | | MesPdDocumentAuditDO documentAudit = documentAuditService.getDocumentAudit(id); |
| | | if (documentAudit == null) { |
| | |
| | | |
| | | @GetMapping("/page") |
| | | @Operation(summary = "获得资料审核分页") |
| | | @PreAuthorize("@ss.hasPermission('mes:pd-document-audit:query')") |
| | | public CommonResult<PageResult<MesPdDocumentAuditRespVO>> getDocumentAuditPage(@Valid MesPdDocumentAuditPageReqVO pageReqVO) { |
| | | PageResult<MesPdDocumentAuditDO> pageResult = documentAuditService.getDocumentAuditPage(pageReqVO); |
| | | return success(new PageResult<>(buildDocumentAuditRespVOList(pageResult.getList()), pageResult.getTotal())); |