<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                #### 7.4 注解變種Map類型的導出View 作為動態注解存在的 List ,也提供的單獨的View方便大家使用,**AutopoiMapExcelView** 使用方法都是一樣,直接看下例子吧 ~~~ @RequestMapping() public String download(ModelMap modelMap) { List<ExcelExportEntity> entity = new ArrayList<ExcelExportEntity>(); ExcelExportEntity excelentity = new ExcelExportEntity("姓名", "name"); excelentity.setNeedMerge(true); entity.add(excelentity); entity.add(new ExcelExportEntity("性別", "sex")); excelentity = new ExcelExportEntity(null, "students"); List<ExcelExportEntity> temp = new ArrayList<ExcelExportEntity>(); temp.add(new ExcelExportEntity("姓名", "name")); temp.add(new ExcelExportEntity("性別", "sex")); excelentity.setList(temp); entity.add(excelentity); List<Map<String, Object>> list = new ArrayList<Map<String, Object>>(); Map<String, Object> map; for (int i = 0; i < 10; i++) { map = new HashMap<String, Object>(); map.put("name", "1" + i); map.put("sex", "2" + i); List<Map<String, Object>> tempList = new ArrayList<Map<String, Object>>(); tempList.add(map); tempList.add(map); map.put("students", tempList); list.add(map); } ExportParams params = new ExportParams("2412312", "測試", ExcelType.XSSF); params.setFreezeCol(2); modelMap.put(MapExcelConstants.MAP_LIST, list); //數據集合 modelMap.put(MapExcelConstants.ENTITY_LIST, entity); //注解集合 modelMap.put(MapExcelConstants.PARAMS, params);//參數 modelMap.put(MapExcelConstants.FILE_NAME, "EasypoiMapExcelViewTest");//文件名稱 return MapExcelConstants.EASYPOI_MAP_EXCEL_VIEW;//View名稱 } ~~~ 具體案例參考[AutopoiMapExcelViewTest](https://gitee.com/lemur/easypoi-test/blob/master/src/main/java/cn/afterturn/easypoi/view/EasypoiMapExcelViewTest.java)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看