|
@@ -608,8 +608,8 @@ public class SupplierInfoServiceImpl extends ServiceImpl<SupplierInfoMapper, Sup
|
|
fileStorage.setFileType(byId.getType());
|
|
fileStorage.setFileType(byId.getType());
|
|
fileStorage.setPath(byId.getPath());
|
|
fileStorage.setPath(byId.getPath());
|
|
fileStorage.setAbsolutePath(byId.getAbsolutePath());
|
|
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);
|
|
fileStorageService.save(fileStorage);
|
|
creditDetail.setAuthAddress(fileStorage.getId().toString());
|
|
creditDetail.setAuthAddress(fileStorage.getId().toString());
|
|
creditDetailService.save(creditDetail);
|
|
creditDetailService.save(creditDetail);
|
|
@@ -645,8 +645,8 @@ public class SupplierInfoServiceImpl extends ServiceImpl<SupplierInfoMapper, Sup
|
|
fileStorage.setFileType(byId.getType());
|
|
fileStorage.setFileType(byId.getType());
|
|
fileStorage.setPath(byId.getPath());
|
|
fileStorage.setPath(byId.getPath());
|
|
fileStorage.setAbsolutePath(byId.getAbsolutePath());
|
|
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);
|
|
fileStorageService.save(fileStorage);
|
|
creditDetail.setAuthAddress(fileStorage.getId().toString());
|
|
creditDetail.setAuthAddress(fileStorage.getId().toString());
|
|
creditDetailService.save(creditDetail);
|
|
creditDetailService.save(creditDetail);
|