md
This commit is contained in:
parent
f8c027b3f8
commit
41bc175e8d
@ -2336,11 +2336,11 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
|||||||
|
|
||||||
ByteArrayOutputStream bos = new ByteArrayOutputStream();
|
ByteArrayOutputStream bos = new ByteArrayOutputStream();
|
||||||
// 写入流
|
// 写入流
|
||||||
// template.write(bos);
|
template.write(bos);
|
||||||
template.write(outputStream);
|
// template.write(outputStream);
|
||||||
|
|
||||||
// ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
|
ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
|
||||||
// DocUtils.wordToPdf(bis, outputStream);
|
DocUtils.wordToPdf(bis, outputStream);
|
||||||
|
|
||||||
response.flushBuffer();
|
response.flushBuffer();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user