|
@@ -25,7 +25,7 @@ public class PhysicalCheckPDFUtil {
|
|
|
try {
|
|
|
response.setContentType("application/x-download");
|
|
|
response.addHeader("content-disposition", "attachment;filename="
|
|
|
- + URLEncoder.encode("长沙泰和医院体检报告.pdf", "UTF-8"));
|
|
|
+ + URLEncoder.encode("沭阳铭和医院体检报告.pdf", "UTF-8"));
|
|
|
OutputStream outputStream = response.getOutputStream();
|
|
|
makePdfFile(tjIndex, tjResult, outputStream);
|
|
|
} catch (Exception e) {
|
|
@@ -115,7 +115,7 @@ public class PhysicalCheckPDFUtil {
|
|
|
|
|
|
private static Document getDocument() {
|
|
|
Document document = new Document(PageSize.A4);
|
|
|
- document.addAuthor("长沙泰和医院");
|
|
|
+ document.addAuthor("沭阳铭和医院");
|
|
|
document.addCreationDate();
|
|
|
document.addSubject("体检报告");
|
|
|
return document;
|
|
@@ -220,7 +220,7 @@ public class PhysicalCheckPDFUtil {
|
|
|
paragraph.add(line);
|
|
|
paragraph.add(Chunk.NEWLINE);
|
|
|
|
|
|
- Chunk footerLine1 = new Chunk("长沙泰和医院");
|
|
|
+ Chunk footerLine1 = new Chunk("沭阳铭和医院");
|
|
|
footerLine1.setFont(font);
|
|
|
paragraph.add(footerLine1);
|
|
|
paragraph.add(Chunk.NEWLINE);
|
|
@@ -243,7 +243,7 @@ public class PhysicalCheckPDFUtil {
|
|
|
paragraph.setFont(font);
|
|
|
paragraph.add(new Chunk("尊敬的客户:"));
|
|
|
paragraph.add(Chunk.NEWLINE);
|
|
|
- paragraph.add(new Chunk(" 您好!欢迎您莅临长沙泰和医院体检中心。身体健康是学习和工作的基础,注意健康是生活和事业发展的必须。" +
|
|
|
+ paragraph.add(new Chunk(" 您好!欢迎您莅临沭阳铭和医院体检中心。身体健康是学习和工作的基础,注意健康是生活和事业发展的必须。" +
|
|
|
"世界卫生组织(WHO)提出:“健康是人的生理、心里和社会的完美状态,而不仅仅是指无疾病或非体弱的状态”。通过健康体检," +
|
|
|
"检查和发现影响健康的有关因素,成为促进您身心健康的重要措施和保证。为了您的健康,我们真诚的建议您定期进行健康体检。"));
|
|
|
return paragraph;
|