修改定版bug
This commit is contained in:
@@ -747,8 +747,8 @@ public class ReportServiceImpl implements ReportService {
|
||||
bodyFont.setFontHeightInPoints((short) 9);
|
||||
bodyStyle.setFont(bodyFont);
|
||||
|
||||
sheet2(sheets, cellStyle, bodyStyle, businessParam);
|
||||
sheet3(sheets, cellStyle, bodyStyle, businessParam);
|
||||
sheet2(sheets, cellStyle, bodyStyle, businessParam);
|
||||
sheet4(sheets, cellStyle, bodyStyle, businessParam);
|
||||
sheet5(sheets, cellStyle, bodyStyle, businessParam);
|
||||
sheet6(sheets, cellStyle, bodyStyle, businessParam);
|
||||
@@ -909,7 +909,7 @@ public class ReportServiceImpl implements ReportService {
|
||||
|
||||
public void sheet2(HSSFWorkbook sheets, HSSFCellStyle cellStyle, HSSFCellStyle bodyStyle, DeviceInfoParam.BusinessParam businessParam) {
|
||||
sheets.createSheet("暂态严重度统计");
|
||||
HSSFSheet sheetAt = sheets.getSheetAt(1);
|
||||
HSSFSheet sheetAt = sheets.getSheetAt(2);
|
||||
sheetAt.setColumnWidth(0, 24 * 256);
|
||||
sheetAt.setColumnWidth(1, 24 * 256);
|
||||
sheetAt.setColumnWidth(2, 24 * 256);
|
||||
@@ -1001,7 +1001,7 @@ public class ReportServiceImpl implements ReportService {
|
||||
|
||||
public void sheet3(HSSFWorkbook sheets, HSSFCellStyle cellStyle, HSSFCellStyle bodyStyle, DeviceInfoParam.BusinessParam businessParam) throws TemplateException, IOException {
|
||||
sheets.createSheet("暂态原因统计");
|
||||
HSSFSheet sheetAt = sheets.getSheetAt(2);
|
||||
HSSFSheet sheetAt = sheets.getSheetAt(1);
|
||||
sheetAt.setColumnWidth(0, 40 * 256);
|
||||
sheetAt.setColumnWidth(1, 40 * 256);
|
||||
sheetAt.setColumnWidth(2, 40 * 256);
|
||||
|
||||
Reference in New Issue
Block a user