src/main/java/com/ruoyi/purchase/service/impl/PurchaseLedgerServiceImpl.java
@@ -379,7 +379,8 @@ // 3.查询上传文件 LambdaQueryWrapper<CommonFile> salesLedgerFileWrapper = new LambdaQueryWrapper<>(); salesLedgerFileWrapper.eq(CommonFile::getCommonId, purchaseLedger.getId()); salesLedgerFileWrapper.eq(CommonFile::getCommonId, purchaseLedger.getId()) .eq(CommonFile::getType,FileNameType.PURCHASE.getValue()); List<CommonFile> salesLedgerFiles = commonFileMapper.selectList(salesLedgerFileWrapper); // 4. 转换 DTO