文档对比 右侧单元格格式bug

This commit is contained in:
CD
2022-10-09 14:40:39 +08:00
parent 79236b57f9
commit b9d529b85d
@@ -303,7 +303,6 @@ public class SarFileCompareItemCommentServiceImpl extends ServiceImpl<SarFileCom
} else {
row.createCell(3).setCellValue(rowDataAndPath);
}
row.setRowStyle(cellStyle);
}
}
String itemIdRight = itemComment.getItemsIdRight();
@@ -337,11 +336,11 @@ public class SarFileCompareItemCommentServiceImpl extends ServiceImpl<SarFileCom
} else {
row.createCell(7).setCellValue(rowDataAndPath);
}
row.setRowStyle(cellStyle);
}
}
row.createCell(8).setCellValue(itemComment.getComment());
for (int j = 0; j < 7; j++) {
row.setRowStyle(cellStyle);
for (int j = 0; j < 9; j++) {
Cell cell = row.getCell(j);
if (null != cell) {
cell.setCellStyle(cellStyle);