diff --git a/platform-operate-api/src/main/java/com/lyms/hospitalapi/lcdcf/LcdcfHisService.java b/platform-operate-api/src/main/java/com/lyms/hospitalapi/lcdcf/LcdcfHisService.java index e4b4f7e..46c291f 100644 --- a/platform-operate-api/src/main/java/com/lyms/hospitalapi/lcdcf/LcdcfHisService.java +++ b/platform-operate-api/src/main/java/com/lyms/hospitalapi/lcdcf/LcdcfHisService.java @@ -203,7 +203,7 @@ public class LcdcfHisService { } public void createFile(Document doc, JSONObject jsonObject) throws DocumentException { - String reportName = jsonObject.getString("title"); + String reportName = jsonObject.getString("listTypeName"); String hospitalName = jsonObject.get("hospitalName").toString(); String age = jsonObject.get("age").toString(); String sexCode = jsonObject.get("sex").toString(); @@ -263,23 +263,23 @@ public class LcdcfHisService { private static void setTitle( String age, String sex, String name, String checkDept, String doctor, PdfPTable table) throws DocumentException { PdfPCell cell; - cell = new PdfPCell(new Phrase(getFont(5, "年龄:" + age))); + cell = new PdfPCell(new Phrase(getFont(5, "年龄:" + age))); cell.setColspan(6); cell.setBorder(0); table.addCell(cell); - cell = new PdfPCell(new Phrase(getFont(5, "性别:" + sex))); + cell = new PdfPCell(new Phrase(getFont(5, "性别:" + sex))); cell.setColspan(5); cell.setBorder(0); table.addCell(cell); - cell = new PdfPCell(new Phrase(getFont(5, "姓名:" + name))); + cell = new PdfPCell(new Phrase(getFont(5, "姓名:" + name))); cell.setColspan(6); cell.setBorder(0); table.addCell(cell); - cell = new PdfPCell(new Phrase(getFont(5, "申请科室:" + checkDept))); + cell = new PdfPCell(new Phrase(getFont(5, "申请科室:" + checkDept))); cell.setColspan(10); cell.setBorder(0); table.addCell(cell); - cell = new PdfPCell(new Phrase(getFont(5, "申请医生:" + doctor))); + cell = new PdfPCell(new Phrase(getFont(5, "申请医生:" + doctor))); cell.setColspan(8); cell.setBorder(0); table.addCell(cell);