md
This commit is contained in:
parent
59a5db7814
commit
b5ea7a930c
@ -2724,7 +2724,7 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
|||||||
FileOutputStream os = new FileOutputStream(fileFullPath);
|
FileOutputStream os = new FileOutputStream(fileFullPath);
|
||||||
tplPrint.genPNG(order,tplCode,"", os);
|
tplPrint.genPNG(order,tplCode,"", os);
|
||||||
|
|
||||||
SysFileInfo sysFileInfo=sysFileInfoService.ossUploadFile(fileFullPath);
|
SysFileInfo sysFileInfo=sysFileInfoService.ossUploadLocalFile(fileFullPath,billCode+"-cm.png","寄件底单图片");
|
||||||
String fileUrl = sysFileInfo.getFileRemoteUrl();
|
String fileUrl = sysFileInfo.getFileRemoteUrl();
|
||||||
goodsPicAttachment.setFileUrl(fileUrl);
|
goodsPicAttachment.setFileUrl(fileUrl);
|
||||||
emisWaybillAttachmentMapper.insertEmisWaybillAttachment(goodsPicAttachment);
|
emisWaybillAttachmentMapper.insertEmisWaybillAttachment(goodsPicAttachment);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user