政企WPS
This commit is contained in:
@ -736,7 +736,7 @@ public class WpsServiceImpl implements WpsService {
|
||||
Optional<byte[]> optional1 = attachmentClient.downloadFileByObjectId(entityList.get(0).getId());
|
||||
if(optional1!=null&&optional1.isPresent()) {
|
||||
byte buf[] = optional1.get();
|
||||
Optional<UploadObject> op=attachmentClient.upload(fileid,fileName+"."+fileExtension,buf);
|
||||
Optional<UploadObject> op=attachmentClient.upload(fileid,fileName,buf);
|
||||
}
|
||||
}catch (Exception e){
|
||||
log.error("读取异常",e);
|
||||
|
Reference in New Issue
Block a user