code: 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();
      }
docs: /*-----------------------------------初始化模板开始-----------------------------------