md
This commit is contained in:
parent
8742944aa5
commit
8f7917b56c
@ -124,6 +124,8 @@ public class Oms2cWarehouseInController extends BaseController
|
|||||||
// servletResponse.setHeader(key.toString(), val);
|
// servletResponse.setHeader(key.toString(), val);
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
|
servletResponse.setContentType("application/octet-stream");
|
||||||
|
servletResponse.setHeader("Content-Disposition", "attachment;fileName=" + orderSn + ".pdf");
|
||||||
InputStream inputStream = null;
|
InputStream inputStream = null;
|
||||||
OutputStream outputStream = null;
|
OutputStream outputStream = null;
|
||||||
try {
|
try {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user