资质打印

pro
wangwei 2 years ago
parent f6d2ed3816
commit 6153bc7907

@ -431,7 +431,7 @@ public class SupCertController {
supData.put("status", obj.getStatus() == 0 ? "有效" : "失效"); supData.put("status", obj.getStatus() == 0 ? "有效" : "失效");
supData.put("auditStatus", getAuditStatus(obj.getAuditStatus())); supData.put("auditStatus", getAuditStatus(obj.getAuditStatus()));
supData.put("remark", obj.getRemark() == null ? ' ' : obj.getRemark()); supData.put("remark", obj.getRemark() == null ? ' ' : obj.getRemark());
supData.put("filePath", filePath + "register/file/image2/" + url); supData.put("filePath", filePath + "register/image2/" + url);
list.add(supData); list.add(supData);
i++; i++;
} }
@ -440,7 +440,7 @@ public class SupCertController {
} }
String param = JSON.toJSONString(list); String param = JSON.toJSONString(list);
JasperUtils.jasperReport(request, response, param, systemPDFTemplateEntity.getPath(), "pdf"); JasperUtils.jasperReport(request, response, param, filePath+"pdf/template/"+systemPDFTemplateEntity.getPath(), "pdf");
} }
/** /**
@ -547,7 +547,7 @@ public class SupCertController {
supData.put("status", obj.getStatus() == 0 ? "有效" : "失效"); supData.put("status", obj.getStatus() == 0 ? "有效" : "失效");
supData.put("auditStatus", getAuditStatus(obj.getAuditStatus())); supData.put("auditStatus", getAuditStatus(obj.getAuditStatus()));
supData.put("remark2", obj.getRemark() == null ? ' ' : obj.getRemark()); supData.put("remark2", obj.getRemark() == null ? ' ' : obj.getRemark());
supData.put("filePath", filePath + "register/file/image2/" + url); supData.put("filePath", filePath + "register/image2/" + url);
list.add(supData); list.add(supData);
i++; i++;
} }
@ -555,7 +555,7 @@ public class SupCertController {
} }
String param = JSON.toJSONString(list); String param = JSON.toJSONString(list);
JasperUtils.jasperReport(request, response, param, systemPDFTemplateEntity.getPath(), "pdf"); JasperUtils.jasperReport(request, response, param, filePath+"pdf/template/"+systemPDFTemplateEntity.getPath(), "pdf");
} }
/** /**
@ -613,7 +613,7 @@ public class SupCertController {
supData.put("status", obj.getStatus() == 0 ? "有效" : "失效"); supData.put("status", obj.getStatus() == 0 ? "有效" : "失效");
supData.put("auditStatus", getAuditStatus(obj.getAuditStatus())); supData.put("auditStatus", getAuditStatus(obj.getAuditStatus()));
supData.put("remark2", obj.getRemark() == null ? ' ' : obj.getRemark()); supData.put("remark2", obj.getRemark() == null ? ' ' : obj.getRemark());
supData.put("filePath", filePath + "register/file/image2/" + url); supData.put("filePath", filePath + "register/image2/" + url);
list.add(supData); list.add(supData);
i++; i++;
} }
@ -621,7 +621,7 @@ public class SupCertController {
} }
String param = JSON.toJSONString(list); String param = JSON.toJSONString(list);
JasperUtils.jasperReport(request, response, param, systemPDFTemplateEntity.getPath(), "pdf"); JasperUtils.jasperReport(request, response, param, filePath+"pdf/template/"+systemPDFTemplateEntity.getPath(), "pdf");
} }
//首营预览文件 //首营预览文件

Loading…
Cancel
Save