|
|
|
@ -90,10 +90,10 @@ public class DownloadController {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@GetMapping(value = "/udiwms/donwload/printFile")
|
|
|
|
|
public void printFile(HttpServletResponse response, @RequestParam String fileName) throws IOException {
|
|
|
|
|
|
|
|
|
|
String url="D:\\udi\\udiwms\\udiwmsfile\\pdf\\template\\"+fileName;
|
|
|
|
|
String url = filePath + "pdf/template/" + fileName;
|
|
|
|
|
OutputStream os = null;
|
|
|
|
|
try {
|
|
|
|
|
FileInputStream input = new FileInputStream(new File(url));
|
|
|
|
|