报表打印wps改造
This commit is contained in:
@ -441,8 +441,7 @@ public class WpsController {
|
|||||||
|
|
||||||
InputStream videoStream = connection.getInputStream();
|
InputStream videoStream = connection.getInputStream();
|
||||||
response.setCharacterEncoding("UTF-8");
|
response.setCharacterEncoding("UTF-8");
|
||||||
response.setHeader("Content-Length", "9999");
|
response.setHeader("Content-Disposition", "attachment; filename=".concat(new String((dict.getDicName()+"."+dict.getQueryType()).getBytes(StandardCharsets.UTF_8), "ISO8859-1")));
|
||||||
response.setHeader("Content-Disposition", "attachment; filename=".concat(new String(dict.getDicName().getBytes(StandardCharsets.UTF_8), "ISO8859-1")));
|
|
||||||
|
|
||||||
try (InputStream inputStream = videoStream;
|
try (InputStream inputStream = videoStream;
|
||||||
ServletOutputStream outputStream = response.getOutputStream()) {
|
ServletOutputStream outputStream = response.getOutputStream()) {
|
||||||
|
@ -916,7 +916,7 @@ public class WpsServiceImpl implements WpsService {
|
|||||||
wpsService.appName = "biz-service-ebtp-extend";
|
wpsService.appName = "biz-service-ebtp-extend";
|
||||||
wpsService.kswTimeLimit = "20000";
|
wpsService.kswTimeLimit = "20000";
|
||||||
|
|
||||||
String jm = wpsService.getDownloadEncrypt2("1743166333208461312","100001","9f07d66a-9b09-41ea-8d51-149b5ba677b0");
|
String jm = wpsService.getDownloadEncrypt2("1740185231086813184","100001","74ebf317-0f48-46e2-9857-cc1ac440723e");
|
||||||
String[] values = wpsService.downloadDecrypt2(jm);
|
String[] values = wpsService.downloadDecrypt2(jm);
|
||||||
for(String value : values){
|
for(String value : values){
|
||||||
System.out.println(value);
|
System.out.println(value);
|
||||||
|
Reference in New Issue
Block a user