Kaynağa Gözat

Merge remote-tracking branch 'origin/master'

zhengqiang 5 yıl önce
ebeveyn
işleme
30631c6e74

+ 5 - 5
picc-common/src/main/java/com/jpsoft/picc/modules/common/utils/ItextPDFUtil.java

@@ -167,7 +167,7 @@ public class ItextPDFUtil {
     // 生成PDF文件
 
     public void generatePDF(Document document,InsuranceApplication insuranceApplication, List<Map<String,Object>> mapList,List<InsurancePolicyMember> list,String logoUrl) throws Exception {
-     //   Image image1 = Image.getInstance("C:/Users/Administrator/Desktop/picc/logo.png");
+      //  Image image1 = Image.getInstance("C:/Users/Administrator/Desktop/picc/logo.png");
         Image image1 = Image.getInstance(logoUrl);
         Paragraph p1 = new Paragraph("", titlefont);
         //设置文字居中 0靠左   1,居中     2,靠右
@@ -342,8 +342,8 @@ public class ItextPDFUtil {
         table.addCell(PdfTable.createCell("三、特别约定", textfont, Element.ALIGN_LEFT, 7,1,BaseColor.PINK, true));
         table.addCell(PdfTable.createCell("特别约定", textfont, Element.ALIGN_CENTER, 2,1,BaseColor.WHITE, true));
         table.addCell(PdfTable.createCell("1、发生保险事故后,被保险人必须在24小时内拨打95518电话报案,及时通知保险公司,未及时报案造成的损失和后果由被保险人负责。\n" +
-                "2、雇员残疾的,保险人按照《人身保险伤残评定标准》所对应伤残等级的给付比例乘以每人伤亡责任限额赔偿。《人身保险伤残评定标准》指中国保险行业协会发布的人身保险伤残程度评定与保险金给付比例标准,详见《关于印发<人身保险伤残评定标准>的通知》(中保协发【2013】88号)。\n" +
-                "3、本标准对功能和残疾进行了分类和分级,将人身保险伤残程度划分为一至十级,最重为第一级,最轻为第十级。与人身保险伤残程度等级相对应的保险金给付比例分为十档,伤残程度第一级对应的保险金给付比例为100%,伤残程度第十级对应的保险金给付比例为10%,每级相差10%。", textfont, Element.ALIGN_LEFT, new float[]{0,1,1,0},new float[]{5,10},5,1,BaseColor.WHITE, false));
+                "2、每次事故每人医疗费用免赔200元或5%,二者以高者为准。\n" +
+                "3、雇员工种类别以《投保清单》为准。", textfont, Element.ALIGN_LEFT, new float[]{0,1,1,0},new float[]{5,10},5,1,BaseColor.WHITE, false));
 
         table.addCell(PdfTable.createCell("四、投保人声明", textfont, Element.ALIGN_LEFT, 7,1,BaseColor.PINK, true));
         table.addCell(PdfTable.createCell("投保人声明", keyfont, Element.ALIGN_CENTER, 2,2,BaseColor.WHITE, true));
@@ -355,8 +355,8 @@ public class ItextPDFUtil {
 
 
         PdfPTable table2 = PdfTable.createTable(new float[]{70, 70, 70, 70, 70, 110});
-        table2.setSpacingBefore(20F);
-        table2.setSpacingAfter(90F);
+        table2.setSpacingBefore(10F);
+    //    table2.setSpacingAfter(90F);
         table2.addCell(PdfTable.createCell("以下内容由保险公司填写", keyfont, Element.ALIGN_LEFT, new float[]{2,2,2,2},new float[]{0,7},6,1,BaseColor.WHITE, false));
 
         PdfPTable table3 = PdfTable.createTable(new float[]{70, 70, 70, 70, 80, 100});