Browse Source

fix:文件类型修改

CAYK\miaosen.zhao 7 months ago
parent
commit
acf0007832

+ 1 - 0
src/main/java/com/sunxung/factoring/service/invoicemanage/impl/InvoiceBasicInfoServiceImpl.java

@@ -717,6 +717,7 @@ public class InvoiceBasicInfoServiceImpl extends ServiceImpl<InvoiceBasicInfoMap
             fileStorageDO.setSize(fileStorage.getSize());
             fileStorageDO.setBusinessType(FileModuleDict.ChildEnum.INVOICE_SALES_FILE.getCode());
             fileStorageDO.setBusinessId(invoiceBasicInfo.getId());
+            fileStorageDO.setType(fileStorage.getFileType());
             fileService.save(fileStorageDO);
         }
         return invoiceBasicInfo;