public static void loadTemplate(SheetTemplate template, int sheetIndex) {

        if (sheetIndex < 0) sheetIndex = 0;
        template.sheetIndex = sheetIndex;
        template.sheet = template.workbook.getSheetAt(sheetIndex);
        initModuleConfig(template);
        template.currentRowIndex = template.initRowIndex;
        template.currentColumnIndex = template.initColumnIndex;
        template.lastRowIndex = template.sheet.getLastRowNum();
    }
public static void loadTemplate ( SheetTemplate template , int sheetIndex ) { if ( sheetIndex < 0 ) sheetIndex = 0 ; template . sheetIndex = sheetIndex ; template . sheet = template . workbook . getSheetAt ( sheetIndex ) ; initModuleConfig ( template ) ; template . currentRowIndex = template . initRowIndex ; template . currentColumnIndex = template . initColumnIndex ; template . lastRowIndex = template . sheet . getLastRowNum ( ) ; }
/*-----------------------------------初始化模板开始-----------------------------------