| | |
| | | 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); |
| | | } |
| | | |