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