| | |
| | | * @return |
| | | */ |
| | | @DeleteMapping("/del") |
| | | public AjaxResult delDocumentationFile(@RequestBody List<Integer> ids) { |
| | | public AjaxResult delDocumentationFile(@RequestBody List<Long> ids) { |
| | | if(CollectionUtils.isEmpty(ids)){ |
| | | return AjaxResult.error("请选择至少一条数据"); |
| | | } |
| | |
| | | } |
| | | |
| | | /** |
| | | *分页查询 |
| | | * @param page |
| | | *查询 |
| | | * @param |
| | | * @param documentationFile |
| | | * @return |
| | | */ |
| | | @GetMapping("/listPage") |
| | | public AjaxResult documentationFileListPage(Page page, DocumentationFile documentationFile) { |
| | | return AjaxResult.success(documentationFileService.documentationFileListPage(page, documentationFile)); |
| | | public AjaxResult documentationFileListPage(DocumentationFile documentationFile) { |
| | | return AjaxResult.success(documentationFileService.documentationFileListPage( documentationFile)); |
| | | } |
| | | |
| | | |