main
黄海 2 years ago
parent 86ea6fcb6b
commit 06b706ca4b

@ -51,7 +51,7 @@ public class PoiUtil {
} }
/** /**
* * ,
* *
* @param wb * @param wb
* @param cell * @param cell
@ -78,6 +78,12 @@ public class PoiUtil {
cell.setCellStyle(style); cell.setCellStyle(style);
} }
/**
*
*
* @param cell
* @param colorIdx
*/
public static void changeColor(Cell cell, short colorIdx) { public static void changeColor(Cell cell, short colorIdx) {
// 创建单元格样式 // 创建单元格样式
CellStyle style = cell.getCellStyle(); CellStyle style = cell.getCellStyle();

Loading…
Cancel
Save