feat(invoice): 更新发票文件引用

- 在保存发票详情后,根据请求 ID 获取文件并设置到发票对象
- 此修改增加了发票文件的引用,完善了发票信息的保存
This commit is contained in:
2025-02-23 21:41:44 +08:00
parent d7806e882c
commit 38463e4195

View File

@@ -129,6 +129,8 @@ public class InvoiceService extends BaseService<InvoiceEntity, InvoiceRepository
});
}
invoice.setFile(fileService.get(request.getId()));
this.repository.save(invoice);
return getById(invoice.getId());