Merge branch 'dev' into beta

This commit is contained in:
huangsheng 2023-07-27 21:33:25 +08:00
commit 82313a7470

View File

@ -248,7 +248,7 @@ public class ContractService {
//如果是签收单则需要合并单元格
if (Consts.RECEIPT_FORM.equals(templateName)){
List<Object> invoiceResList = (List<Object>) MapUtils.getObject(dataMap, "invoiceResList");
mergeCell(xwpfDocument,0,6,6+invoiceResList.size()-1,Arrays.asList(4,5));
mergeCell(xwpfDocument,0,7,7+invoiceResList.size()-1,Arrays.asList(5,6));
}
String docxFile = "/"+ UUID.randomUUID().toString().replace("-", "") + ".docx";
String pdfName = "/"+ UUID.randomUUID().toString().replace("-", "") + ".pdf";