This commit is contained in:
linfso 2024-08-24 10:16:22 +08:00
parent 59a5db7814
commit b5ea7a930c

View File

@ -2724,7 +2724,7 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
FileOutputStream os = new FileOutputStream(fileFullPath);
tplPrint.genPNG(order,tplCode,"", os);
SysFileInfo sysFileInfo=sysFileInfoService.ossUploadFile(fileFullPath);
SysFileInfo sysFileInfo=sysFileInfoService.ossUploadLocalFile(fileFullPath,billCode+"-cm.png","寄件底单图片");
String fileUrl = sysFileInfo.getFileRemoteUrl();
goodsPicAttachment.setFileUrl(fileUrl);
emisWaybillAttachmentMapper.insertEmisWaybillAttachment(goodsPicAttachment);