### Question:
Excel2CodeUtil { public static void generatorZjmiecOACode(String url,String modelName){ File file = new File(url); List<ExcelApi2Code> excelApi2Codes = EasypoiUtil.importExcel(file, ExcelApi2Code.class,new ImportParams()); System.out.println("WorkflowRequestTableField[] wrtf = new WorkflowRequestTableField[" + excelApi2Codes.size() +"]"); int i = 0; for (ExcelApi2Code excelApi2Code: excelApi2Codes) { System.out.println(""); System.out.println("wrti["+i+"] = new WorkflowRequestTableField();"); System.out.println("wrti["+i+"].setFieldName(\""+excelApi2Code.getLocalFild()+"\");"); System.out.println("wrti["+i+"].setFieldValue("+excelApi2Code.getLocalFild()+");"); System.out.println("wrti["+i+"].setView(true); System.out.println("wrti["+i+"].setEdit(true); System.out.println(" "); i++; } }  static void generatorCode(String url,String modelName); static void generatorModelCode(String url,String modelName); static void generatorZjmiecOACode(String url,String modelName);  }### Answer:
@Test public void generatorZjmiecOACode() throws Exception { Excel2CodeUtil.generatorZjmiecOACode("C:\\Users\\zsn\\Desktop\\2code.xlsx","taxArrivedIncomeInvoiceManage"); }