lyh
2025-01-20 9cbd8c9b66776f427b260902ad5fbb7301794d2c
lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/controller/DocInfoController.java
@@ -13,7 +13,6 @@
import org.jeecg.modules.dnc.request.DocInfoUploadRequest;
import org.jeecg.modules.dnc.response.CommonCode;
import org.jeecg.modules.dnc.response.QueryListResponseResult;
import org.jeecg.modules.dnc.response.QueryPageResponseResult;
import org.jeecg.modules.dnc.response.ResponseResult;
import org.jeecg.modules.dnc.service.IDocInfoService;
import org.jeecg.modules.dnc.utils.ValidateUtil;
@@ -132,8 +131,8 @@
    @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 = "文档表-文档文件预览")
@@ -176,8 +175,9 @@
    @AutoLog(value = "文件表-查询可指派的文档信息列表")
    @ApiOperation(value = "文件表-查询可指派的文档信息列表", notes = "文件表-查询可指派的文档信息列表")
    @GetMapping("/find/list")
    public QueryListResponseResult<DocInfo> findList(DocInfoQueryRequest docQuery) {
        return docInfoService.findList(docQuery);
    public Result<?> findList(DocInfoQueryRequest docQuery) {
        List<DocInfo> docInfoList=docInfoService.findList(docQuery);
        return Result.ok(docInfoList);
    }
    @AutoLog(value = "文件表-批量删除文档接口")