### Question:
Excel2CodeUtil { public static void generatorModelCode(String url,String modelName){ File file = new File(url); List<ExcelApi2Code> excelApi2Codes = EasypoiUtil.importExcel(file, ExcelApi2Code.class,new ImportParams()); for (ExcelApi2Code excelApi2Code: excelApi2Codes) { System.out.println(""); if(excelApi2Code.getFieldType()==null || excelApi2Code.getFieldType().equals("String")){ System.out.println("private "+ "String "+excelApi2Code.getLocalFild().toString()+";"); }else{ System.out.println("private "+ excelApi2Code.getFieldType().toString()+" "+excelApi2Code.getLocalFild().toString()+";"); } } }  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 generatorModelCode() throws Exception { Excel2CodeUtil.generatorModelCode("C:\\Users\\zsn\\Desktop\\2code.xlsx","taxArrivedIncomeInvoiceManage"); }