|
@@ -84,7 +84,7 @@ public class DataService {
|
|
String fileStorePath =getFileWithUrl(newUrl, fileName);
|
|
String fileStorePath =getFileWithUrl(newUrl, fileName);
|
|
File file =new File(fileStorePath);
|
|
File file =new File(fileStorePath);
|
|
String eTag = getFileMd5(file);
|
|
String eTag = getFileMd5(file);
|
|
- String key = PropKit.get("institution_id")+"/"+eTag;
|
|
|
|
|
|
+ String key = PropKit.get("institution_id")+"/"+eTag+".pdf";
|
|
|
|
|
|
Boolean eBoolean = OSS_CLIENT.doesObjectExist(PropKit.get("oss_bucketName"), key);
|
|
Boolean eBoolean = OSS_CLIENT.doesObjectExist(PropKit.get("oss_bucketName"), key);
|
|
if (!eBoolean) {
|
|
if (!eBoolean) {
|