mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
feat(invoice): 更新发票文件引用
- 在保存发票详情后,根据请求 ID 获取文件并设置到发票对象 - 此修改增加了发票文件的引用,完善了发票信息的保存
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user