| | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.business.dto.ArchiveDto; |
| | | import com.ruoyi.business.entity.Archive; |
| | | import com.ruoyi.business.service.ArchiveService; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import lombok.AllArgsConstructor; |
| | |
| | | * 查询档案信息表 |
| | | */ |
| | | @GetMapping("/list") |
| | | public R<IPage<Archive>> treeList(Page page, ArchiveDto archiveDto) { |
| | | IPage<Archive> list = archiveService.selectArchiveList(page, archiveDto); |
| | | public R<IPage<ArchiveDto>> treeList(Page page, ArchiveDto archiveDto) { |
| | | IPage<ArchiveDto> list = archiveService.selectArchiveList(page, archiveDto); |
| | | return R.ok(list); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | /** |
| | | * 根据id查询文件列表 |
| | | */ |
| | | @GetMapping("/fileList") |
| | | public R fileList(ArchiveDto archiveDto) { |
| | | return R.ok( archiveService.fileList(archiveDto)); |
| | | } |
| | | |
| | | /** |
| | | * 档案信息表删除 |
| | | */ |
| | | @DeleteMapping("/delArchive") |