Browse Source

验收单历史附件绑定 历史记录id

zhangc 5 months ago
parent
commit
48e217b633

+ 1 - 1
src/main/java/com/sunxung/factoring/service/acceptancesheet/impl/CAcceptancePriceAdjustInfoServiceImpl.java

@@ -241,7 +241,7 @@ public class CAcceptancePriceAdjustInfoServiceImpl extends ServiceImpl<CAcceptan
             fileIds.forEach(fileId -> {
                 FileStorageDO file = fileService.getById(fileId);
                 file.setBusinessType(FileModuleDict.ChildEnum.ACCEPTANCE_ADJUST_HIS_FILE.getCode());
-                file.setBusinessId(acceptancePriceAdjustInfo.getId());
+                file.setBusinessId(priceAdjustHisInfo.getId());
                 file.setId(null);
                 fileService.save(file);
             });