Ver código fonte

付款审核文件预览问题修复

liuj 1 mês atrás
pai
commit
c4ddd56c39

+ 1 - 0
src/main/java/com/sunxung/factoring/service/financing/payment/impl/PaymentApplyServiceImpl.java

@@ -570,6 +570,7 @@ public class PaymentApplyServiceImpl extends ServiceImpl<PaymentApplyMapper, Pay
                                 fileStorage.setPath(fileStorageDO.getPath());
                                 fileStorage.setId(fileStorageDO.getId());
                                 fileStorage.setOriginalName(fileStorageDO.getOriginalName());
+                                fileStorage.setFileType(fileStorageDO.getFileType());
                                 acceptanceFiles.add(fileStorage);
                             });
                         }

+ 1 - 0
src/main/java/com/sunxung/factoring/service/financing/payment/impl/PaymentApprovalServiceImpl.java

@@ -278,6 +278,7 @@ public class PaymentApprovalServiceImpl extends ServiceImpl<PaymentApprovalMappe
                                 fileStorage.setPath(fileStorageDO.getPath());
                                 fileStorage.setId(fileStorageDO.getId());
                                 fileStorage.setOriginalName(fileStorageDO.getOriginalName());
+                                fileStorage.setFileType(fileStorageDO.getFileType());
                                 acceptanceFiles.add(fileStorage);
                             });
                         }