feat:test
This commit is contained in:
@@ -1,15 +1,6 @@
|
|||||||
package com.ruoyi.jysystem.utils;
|
package com.ruoyi.jysystem.utils;
|
||||||
|
|
||||||
import java.io.ByteArrayOutputStream;
|
import com.itextpdf.text.*;
|
||||||
import java.math.BigDecimal;
|
|
||||||
import java.util.List;
|
|
||||||
import com.itextpdf.text.BaseColor;
|
|
||||||
import com.itextpdf.text.Document;
|
|
||||||
import com.itextpdf.text.Element;
|
|
||||||
import com.itextpdf.text.Font;
|
|
||||||
import com.itextpdf.text.PageSize;
|
|
||||||
import com.itextpdf.text.Paragraph;
|
|
||||||
import com.itextpdf.text.Phrase;
|
|
||||||
import com.itextpdf.text.pdf.BaseFont;
|
import com.itextpdf.text.pdf.BaseFont;
|
||||||
import com.itextpdf.text.pdf.PdfPCell;
|
import com.itextpdf.text.pdf.PdfPCell;
|
||||||
import com.itextpdf.text.pdf.PdfPTable;
|
import com.itextpdf.text.pdf.PdfPTable;
|
||||||
@@ -18,6 +9,10 @@ import com.ruoyi.common.exception.ServiceException;
|
|||||||
import com.ruoyi.jysystem.domain.JySysFeeSettlementItem;
|
import com.ruoyi.jysystem.domain.JySysFeeSettlementItem;
|
||||||
import com.ruoyi.jysystem.vo.FeeSettlementDetailVO;
|
import com.ruoyi.jysystem.vo.FeeSettlementDetailVO;
|
||||||
|
|
||||||
|
import java.io.ByteArrayOutputStream;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 费用结算单 PDF 导出
|
* 费用结算单 PDF 导出
|
||||||
*/
|
*/
|
||||||
@@ -150,6 +145,7 @@ public final class FeeSettlementPdfExporter
|
|||||||
PdfPCell cell = new PdfPCell(new Phrase(text, font));
|
PdfPCell cell = new PdfPCell(new Phrase(text, font));
|
||||||
cell.setPadding(6f);
|
cell.setPadding(6f);
|
||||||
table.addCell(cell);
|
table.addCell(cell);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void addHeadCell(PdfPTable table, String text, Font font)
|
private static void addHeadCell(PdfPTable table, String text, Font font)
|
||||||
|
|||||||
Reference in New Issue
Block a user