Commit a296951e1c6a458b5a95a75184e5b954e2efc926

Authored by 房远帅
1 parent fc63c4ec

试样订单:产品试样确单-导出

@@ -273,7 +273,8 @@ public class ProductSampleConfirmationSlipController extends DefaultBaseControll @@ -273,7 +273,8 @@ public class ProductSampleConfirmationSlipController extends DefaultBaseControll
273 int brandRow = startRow + (i * 2); // 5, 7, 9, ... 273 int brandRow = startRow + (i * 2); // 5, 7, 9, ...
274 int specRow = startRow + (i * 2) + 1; // 6, 8, 10, ... 274 int specRow = startRow + (i * 2) + 1; // 6, 8, 10, ...
275 ExcelUtil.setCellValue(sheet, brandRow, 1, bo.getBrand()); 275 ExcelUtil.setCellValue(sheet, brandRow, 1, bo.getBrand());
276 - ExcelUtil.setCellValue(sheet, specRow, 3, bo.getStatus()); 276 + String cleanStatus = StringUtils.trimToEmpty(bo.getStatus());
  277 + ExcelUtil.setCellValue(sheet, specRow, 3, cleanStatus);
277 String latex = LatexFormulaExcelExporterUtil.convertToLatex(formulaComponentList); 278 String latex = LatexFormulaExcelExporterUtil.convertToLatex(formulaComponentList);
278 if (StringUtils.isNotBlank(latex)) { 279 if (StringUtils.isNotBlank(latex)) {
279 LatexFormulaExcelExporterUtil.insertLatexImageToCell(workbook, sheet, latex, specRow, 1, 1, 2); 280 LatexFormulaExcelExporterUtil.insertLatexImageToCell(workbook, sheet, latex, specRow, 1, 1, 2);