试验管理修改
This commit is contained in:
parent
77cddf5cd5
commit
2a61fc213e
|
|
@ -616,8 +616,10 @@ public class TestReportManageServiceImpl implements TestReportManageService {
|
|||
* @param sheet 创建的sheet页
|
||||
*/
|
||||
public static void addMergedRegion(int startRow,int endRow,int startCol,int endCol,Sheet sheet){
|
||||
CellRangeAddress cra = new CellRangeAddress(startRow,endRow,startCol,endCol);
|
||||
sheet.addMergedRegion(cra);
|
||||
if(startCol!=endCol){
|
||||
CellRangeAddress cra = new CellRangeAddress(startRow,endRow,startCol,endCol);
|
||||
sheet.addMergedRegion(cra);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue