内部码

pro
wangwei 2 years ago
parent b44bbc53b0
commit f6d2ed3816

@ -62,6 +62,8 @@ public class InvInnerOrderPrintController {
private IoOrderService ioOrderService; private IoOrderService ioOrderService;
@Resource @Resource
private InnerOrderService innerOrderService; private InnerOrderService innerOrderService;
@Value("${file_path}")
private String filePath;
@GetMapping("/udiwms/innerOrderPrint/filter") @GetMapping("/udiwms/innerOrderPrint/filter")
@ -182,7 +184,7 @@ public class InvInnerOrderPrintController {
} else { } else {
Map<String, Object> data = new HashMap<String, Object>(); Map<String, Object> data = new HashMap<String, Object>();
data.put("data", printEntities); data.put("data", printEntities);
JasperUtils.jasperReport(request, response, data, systemPDFTemplateEntity.getPath(), "pdf"); JasperUtils.jasperReport(request, response, data, filePath + "/pdf/template/"+systemPDFTemplateEntity.getPath(), "pdf");
} }

Loading…
Cancel
Save