Commit d8c0b10d378628883d4bfa65e5546e0f72445e38
Merge branch 'master_after0423' into master_after0506
# Conflicts: # xingyun-sc/src/main/resources/templates/purchaseOrderTemplate.xlsx # xingyun-sc/src/main/resources/templates/purchaseOrderTemplateForProduction.xlsx
Showing
3 changed files
with
4 additions
and
4 deletions
| ... | ... | @@ -190,9 +190,9 @@ public class BusinessDataExportHandler implements ExportHandler { |
| 190 | 190 | BigDecimal totalQuantity = BigDecimal.ZERO; |
| 191 | 191 | List<PurchaseOrderLine> purchaseOrderLineList = orderLineMap.get(orderInfo.getId()); |
| 192 | 192 | if (CollectionUtils.isNotEmpty(purchaseOrderLineList)) { |
| 193 | - for (int i = startRow + 1; i < startRow + purchaseOrderLineList.size(); i++) { | |
| 194 | - ExcelUtil.copyRow(workbook, sheet, startRow, i); | |
| 195 | - } | |
| 193 | +// for (int i = startRow + 1; i < startRow + purchaseOrderLineList.size(); i++) { | |
| 194 | +// ExcelUtil.copyRow(workbook, sheet, startRow, i); | |
| 195 | +// } | |
| 196 | 196 | for (PurchaseOrderLine currentOrderLine : purchaseOrderLineList) { |
| 197 | 197 | ExcelUtil.setCellValue(sheet, startRow, 1, currentOrderLine.getIndustry()); |
| 198 | 198 | ExcelUtil.setCellValue(sheet, startRow, 2, currentOrderLine.getQuality()); |
| ... | ... | @@ -219,7 +219,7 @@ public class BusinessDataExportHandler implements ExportHandler { |
| 219 | 219 | formulaComponent.setSub(currentOrderLine.getLengthTolNeg()); |
| 220 | 220 | formulaComponentList.add(formulaComponent); |
| 221 | 221 | } |
| 222 | - String latex = LatexFormulaExcelExporterUtil.convertToLatex(formulaComponentList); | |
| 222 | + String latex = LatexFormulaExcelExporterUtil.convertToContractSpecLatexSingleLineFixed3(formulaComponentList); | |
| 223 | 223 | if (StringUtils.isNotBlank(latex)) { |
| 224 | 224 | LatexFormulaExcelExporterUtil.insertLatexImageToCell(workbook, sheet, latex, startRow, 4, 1, 7); |
| 225 | 225 | } | ... | ... |
No preview for this file type
No preview for this file type