| | |
| | | } |
| | | |
| | | @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,然后计算pageOrder |
| | | LambdaQueryWrapper<DocumentMaterials> lqw = new LambdaQueryWrapper<>(); |
| | | lqw.eq(pageNumber!=null, DocumentMaterials::getPageNumber, pageNumber); |
| | |
| | | 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)); |
| | | } |
| | | } |