ソースを参照

推送征信详情修改

fengx 8 ヶ月 前
コミット
bf1a2a40ee
共有1 個のファイルを変更した4 個の追加4 個の削除を含む
  1. 4 4
      src/main/java/com/inkasso/factoring/creditmanagement/service/impl/SupplierInfoServiceImpl.java

+ 4 - 4
src/main/java/com/inkasso/factoring/creditmanagement/service/impl/SupplierInfoServiceImpl.java

@@ -608,8 +608,8 @@ public class SupplierInfoServiceImpl extends ServiceImpl<SupplierInfoMapper, Sup
                 fileStorage.setFileType(byId.getType());
                 fileStorage.setPath(byId.getPath());
                 fileStorage.setAbsolutePath(byId.getAbsolutePath());
-                fileStorage.setOriginalName(byId.getOriginalName());
-                fileStorage.setName(byId.getOriginalName());
+                fileStorage.setOriginalName(byId.getOriginalName()+byId.getType());
+                fileStorage.setName(byId.getOriginalName()+byId.getType());
                 fileStorageService.save(fileStorage);
                 creditDetail.setAuthAddress(fileStorage.getId().toString());
                 creditDetailService.save(creditDetail);
@@ -645,8 +645,8 @@ public class SupplierInfoServiceImpl extends ServiceImpl<SupplierInfoMapper, Sup
                     fileStorage.setFileType(byId.getType());
                     fileStorage.setPath(byId.getPath());
                     fileStorage.setAbsolutePath(byId.getAbsolutePath());
-                    fileStorage.setOriginalName(byId.getOriginalName());
-                    fileStorage.setName(byId.getOriginalName());
+                    fileStorage.setOriginalName(byId.getOriginalName()+byId.getType());
+                    fileStorage.setName(byId.getOriginalName()+byId.getType());
                     fileStorageService.save(fileStorage);
                     creditDetail.setAuthAddress(fileStorage.getId().toString());
                     creditDetailService.save(creditDetail);