|
|
@@ -5396,7 +5396,7 @@ public class ArchivesAutoServiceImpl extends BaseServiceImpl<ArchivesAutoMapper,
|
|
|
if(fileUrl==null){
|
|
|
continue;
|
|
|
}
|
|
|
- String filePath=url+auto.getName()+".pdf";
|
|
|
+ String filePath=url+SnowFlakeUtil.getId()+".pdf";
|
|
|
System.out.println("开始保存:"+fileUrl);
|
|
|
Boolean b = FileUtils.saveInputStreamByUrl(fileUrl, filePath);
|
|
|
System.out.println("保存完成:"+b);
|