| | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.jeecg.common.api.vo.Result; |
| | | import org.jeecg.common.aspect.annotation.AutoLog; |
| | | import org.jeecg.common.system.base.controller.JeecgController; |
| | | import org.jeecg.modules.dnc.entity.DocFile; |
| | |
| | | @AutoLog(value = "文档表-分页查询接口") |
| | | @ApiOperation(value = "文档表-分页查询接口", notes = "文档表-分页查询接口") |
| | | @GetMapping("/find/page/{page}/{size}") |
| | | public QueryPageResponseResult<DocInfo> findPageList(@PathVariable("page") int page, @PathVariable("size") int size, DocInfoQueryRequest docQuery) { |
| | | public Result<?> findPageList(@PathVariable("page") int page, @PathVariable("size") int size, DocInfoQueryRequest docQuery) { |
| | | return docInfoService.findPageList(page, size, docQuery); |
| | | } |
| | | |
| | | @AutoLog(value = "文档表-查询设备发送目录的文档状态") |
| | | @ApiOperation(value = "文档表-查询设备发送目录的文档状态", notes = "文档表-查询设备发送目录的文档状态") |
| | | @GetMapping("/find/page/device/{page}/{size}") |
| | | public QueryPageResponseResult<DocInfo> findPageListByDevice(@PathVariable("page") int page, @PathVariable("size") int size, DocInfoQueryRequest docQuery) { |
| | | return docInfoService.findPageListByDevice(page, size, docQuery); |
| | | public Result<?> findPageListByDevice(@PathVariable("page") int page, @PathVariable("size") int size, DocInfoQueryRequest docQuery) { |
| | | return Result.ok(docInfoService.findPageListByDevice(page, size, docQuery)); |
| | | } |
| | | |
| | | @AutoLog(value = "文档表-文档文件预览") |