From f984f785528bb3c97e41d483dc214e844993df35 Mon Sep 17 00:00:00 2001 From: fei <791364011@qq.com> Date: 星期四, 28 八月 2025 23:22:16 +0800 Subject: [PATCH] 修改了代码 --- archiveManager/src/main/java/com/ruoyi/service/impl/DocumentMaterialsServiceImpl.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/archiveManager/src/main/java/com/ruoyi/service/impl/DocumentMaterialsServiceImpl.java b/archiveManager/src/main/java/com/ruoyi/service/impl/DocumentMaterialsServiceImpl.java index 09cd41f..e2b02f4 100644 --- a/archiveManager/src/main/java/com/ruoyi/service/impl/DocumentMaterialsServiceImpl.java +++ b/archiveManager/src/main/java/com/ruoyi/service/impl/DocumentMaterialsServiceImpl.java @@ -159,7 +159,7 @@ } @Override - public int updateByPageNumber(Long pageNumber, Long fileNumber, int width, int height, double fileSize, String url, String format) { + public int updateByPageNumber(Long pageNumber, Long fileNumber, int width, int height, int horizontalResolution, int verticalResolution, double fileSize, String url, String format) { //鏍规嵁pageNumber鎷垮埌title锛岀劧鍚庤绠梡ageOrder LambdaQueryWrapper<DocumentMaterials> lqw = new LambdaQueryWrapper<>(); lqw.eq(pageNumber!=null, DocumentMaterials::getPageNumber, pageNumber); @@ -174,13 +174,13 @@ pageOrder = maxPOrder + 1; } - this.baseMapper.updateInfoByPageNumber(pageNumber, fileNumber,pageOrder, width, height, fileSize, url,format); + this.baseMapper.updateInfoByPageNumber(pageNumber, fileNumber,pageOrder, width, height, horizontalResolution, verticalResolution, fileSize, url,format); return 0; } @Override public List<DocumentMaterialsVo> findArchMInfo(String recordId) { - return this.baseMapper.getArchiveMatInfo(recordId); + return this.baseMapper.getArchiveMatInfo(Integer.parseInt(recordId)); } } -- Gitblit v1.9.1