diff --git a/report-core/src/main/java/com/anjiplus/template/gaea/business/enums/ExcelCenterStyleEnum.java b/report-core/src/main/java/com/anjiplus/template/gaea/business/enums/ExcelCenterStyleEnum.java new file mode 100644 index 00000000..b0efbc6e --- /dev/null +++ b/report-core/src/main/java/com/anjiplus/template/gaea/business/enums/ExcelCenterStyleEnum.java @@ -0,0 +1,73 @@ +package com.anjiplus.template.gaea.business.enums; + +/** + * @author zhouhang + * @description EXCEL居中方式 + * @date 2021/4/26 + */ +public enum ExcelCenterStyleEnum { + /** + * 左对齐 + */ + LEFT((short) 1, 1, "左对齐"), + /** + * 右对齐 + */ + RIGHT((short) 3, 2, "右对齐"), + /** + * 居中 + */ + CENTER((short) 2, 0, "居中"), + ; + + /** + * excel居中code + */ + private final short excelCode; + + /** + * 在线文档居中code + */ + private final Integer onlineExcelCode; + + /** + * 名称 + */ + private final String name; + + + public Integer getOnlineExcelCode() { + return onlineExcelCode; + } + + public String getName() { + return name; + } + + public short getExcelCode() { + return excelCode; + } + + ExcelCenterStyleEnum(short excelCode, Integer onlineExcelCode, String name) { + this.excelCode = excelCode; + this.onlineExcelCode = onlineExcelCode; + this.name = name; + } + + /** + * @param code excel居中样式code + * @return Enum_ExcelCenterStyle + * @description 根据excel居中样式获取在线文档居中样式 + * @author zhouhang + * @date 2021/4/26 + */ + public static ExcelCenterStyleEnum getExcelCenterStyleByExcelCenterCode(short code) { + for (ExcelCenterStyleEnum value : ExcelCenterStyleEnum.values()) { + if (code == value.getExcelCode()) { + return value; + } + } + return CENTER; + } + +} diff --git a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/controller/dto/GridRecordDataModel.java b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/controller/dto/GridRecordDataModel.java index 457ed443..b7041439 100644 --- a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/controller/dto/GridRecordDataModel.java +++ b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/controller/dto/GridRecordDataModel.java @@ -8,6 +8,7 @@ import java.util.List; /** * 存储对象类 + * * @author Administrator */ @Data diff --git a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/controller/dto/ReportExcelDto.java b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/controller/dto/ReportExcelDto.java index 22c273e7..df92b09f 100644 --- a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/controller/dto/ReportExcelDto.java +++ b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/controller/dto/ReportExcelDto.java @@ -13,31 +13,49 @@ import java.io.Serializable; */ @Data public class ReportExcelDto extends GaeaBaseDTO implements Serializable { - /** 报表名称 */ + /** + * 报表名称 + */ private String reportName; - /** 报表编码 */ + /** + * 报表编码 + */ private String reportCode; - /**数据集编码,以|分割*/ + /** + * 数据集编码,以|分割 + */ private String setCodes; - /** 分组 */ + /** + * 分组 + */ private String reportGroup; - /** 数据集查询参数 */ + /** + * 数据集查询参数 + */ private String setParam; - /** 报表json字符串 */ + /** + * 报表json字符串 + */ private String jsonStr; - /** 报表类型 */ + /** + * 报表类型 + */ private String reportType; - /** 数据总计 */ + /** + * 数据总计 + */ private long total; - /**导出类型*/ + /** + * 导出类型 + */ private String exportType; } diff --git a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/controller/param/ReportExcelParam.java b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/controller/param/ReportExcelParam.java index e4d85806..13202587 100644 --- a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/controller/param/ReportExcelParam.java +++ b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/controller/param/ReportExcelParam.java @@ -12,7 +12,7 @@ import java.io.Serializable; * @date 2021/4/13 15:12 */ @Data -public class ReportExcelParam extends PageParam implements Serializable{ +public class ReportExcelParam extends PageParam implements Serializable { } diff --git a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/dao/entity/ReportExcel.java b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/dao/entity/ReportExcel.java index ea55d556..2fa43ec7 100644 --- a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/dao/entity/ReportExcel.java +++ b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/dao/entity/ReportExcel.java @@ -9,7 +9,7 @@ import lombok.Data; * @author chenkening * @date 2021/4/13 15:11 */ -@TableName(value="gaea_report_excel") +@TableName(value = "gaea_report_excel") @Data public class ReportExcel extends GaeaBaseEntity { diff --git a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/service/impl/ReportExcelServiceImpl.java b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/service/impl/ReportExcelServiceImpl.java index ae663ee8..4c83c6b9 100644 --- a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/service/impl/ReportExcelServiceImpl.java +++ b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/service/impl/ReportExcelServiceImpl.java @@ -18,7 +18,6 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; /** @@ -48,11 +47,11 @@ public class ReportExcelServiceImpl implements ReportExcelService { @Override public ReportExcelDto detailByReportCode(String reportCode) { QueryWrapper queryWrapper = new QueryWrapper<>(); - queryWrapper.eq("report_code" , reportCode); + queryWrapper.eq("report_code", reportCode); ReportExcel reportExcel = reportExcelMapper.selectOne(queryWrapper); - if(reportExcel != null){ + if (reportExcel != null) { ReportExcelDto dto = new ReportExcelDto(); - BeanUtils.copyProperties(reportExcel , dto); + BeanUtils.copyProperties(reportExcel, dto); return dto; } return null; @@ -84,13 +83,13 @@ public class ReportExcelServiceImpl implements ReportExcelService { // 根据id查询 报表详情 ReportExcel reportExcel = selectOne("report_code", reportExcelDto.getReportCode()); QueryWrapper queryWrapper = new QueryWrapper<>(); - queryWrapper.eq("report_code" , reportExcelDto.getReportCode()); + queryWrapper.eq("report_code", reportExcelDto.getReportCode()); Report report = reportMapper.selectOne(queryWrapper); GaeaAssert.notNull(reportExcel, ResponseCode.RULE_CONTENT_NOT_EXIST, "reportExcel"); String setParam = reportExcelDto.getSetParam(); - GaeaBeanUtils.copyAndFormatter(reportExcel , reportExcelDto); - if(StringUtils.isNotBlank(setParam)){ + GaeaBeanUtils.copyAndFormatter(reportExcel, reportExcelDto); + if (StringUtils.isNotBlank(setParam)) { reportExcelDto.setSetParam(setParam); } reportExcelDto.setReportName(report.getReportName()); diff --git a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/util/ColorUtil.java b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/util/ColorUtil.java index 2868a0a2..5e9037e3 100644 --- a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/util/ColorUtil.java +++ b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/util/ColorUtil.java @@ -1,7 +1,6 @@ package com.anjiplus.template.gaea.business.modules.reportexcel.util; - import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.StringUtils; import org.apache.poi.hssf.usermodel.HSSFPalette; @@ -15,6 +14,7 @@ import org.apache.poi.xssf.usermodel.XSSFColor; /** * 来自:https://github.com/mengshukeji/LuckysheetServer + * * @author Administrator */ @Slf4j @@ -22,22 +22,22 @@ public class ColorUtil { private static final String S = "0123456789ABCDEF"; - public static Short getColorByStr(String colorStr){ + public static Short getColorByStr(String colorStr) { HSSFWorkbook workbook = new HSSFWorkbook(); HSSFPalette palette = workbook.getCustomPalette(); - if(colorStr.toLowerCase().startsWith("rgb")){ - colorStr=colorStr.toLowerCase().replace("rgb(","").replace(")",""); - String[] colors=colorStr.split(","); - if(colors.length==3){ - try{ - int red = Integer.parseInt(colors[0].trim(),16); - int green = Integer.parseInt(colors[1].trim(),16); - int blue = Integer.parseInt(colors[2].trim(),16); + if (colorStr.toLowerCase().startsWith("rgb")) { + colorStr = colorStr.toLowerCase().replace("rgb(", "").replace(")", ""); + String[] colors = colorStr.split(","); + if (colors.length == 3) { + try { + int red = Integer.parseInt(colors[0].trim(), 16); + int green = Integer.parseInt(colors[1].trim(), 16); + int blue = Integer.parseInt(colors[2].trim(), 16); - HSSFColor hssfColor=palette.findSimilarColor(red,green,blue); + HSSFColor hssfColor = palette.findSimilarColor(red, green, blue); return hssfColor.getIndex(); - }catch (Exception ex){ + } catch (Exception ex) { log.error(ex.toString()); return null; } @@ -45,27 +45,27 @@ public class ColorUtil { return null; } - if(colorStr.equals("#000")){ - colorStr="#000000"; + if (colorStr.equals("#000")) { + colorStr = "#000000"; } - if(colorStr!=null && colorStr.length()>=6){ - try{ - if(colorStr.length()==8){ - colorStr=colorStr.substring(2); + if (colorStr != null && colorStr.length() >= 6) { + try { + if (colorStr.length() == 8) { + colorStr = colorStr.substring(2); } - if(colorStr.length()==7){ - colorStr=colorStr.substring(1); + if (colorStr.length() == 7) { + colorStr = colorStr.substring(1); } - String str2 = colorStr.substring(0,2); - String str3 = colorStr.substring(2,4); - String str4 = colorStr.substring(4,6); - int red = Integer.parseInt(str2,16); - int green = Integer.parseInt(str3,16); - int blue = Integer.parseInt(str4,16); + String str2 = colorStr.substring(0, 2); + String str3 = colorStr.substring(2, 4); + String str4 = colorStr.substring(4, 6); + int red = Integer.parseInt(str2, 16); + int green = Integer.parseInt(str3, 16); + int blue = Integer.parseInt(str4, 16); - HSSFColor hssfColor=palette.findSimilarColor(red,green,blue); + HSSFColor hssfColor = palette.findSimilarColor(red, green, blue); return hssfColor.getIndex(); - }catch (Exception ex){ + } catch (Exception ex) { log.error(ex.toString()); return null; } diff --git a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/util/XlsSheetUtil.java b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/util/XlsSheetUtil.java index 07df115d..cf03020f 100644 --- a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/util/XlsSheetUtil.java +++ b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/util/XlsSheetUtil.java @@ -346,7 +346,7 @@ public class XlsSheetUtil { if ("border-outside".equals(borderType)) { //外圈边框 - if (row_ == rowList.getInteger(0) ) { + if (row_ == rowList.getInteger(0)) { style.setBorderTop(BorderStyle.valueOf(style_)); //顶部边框 style.setTopBorderColor(color);//顶部边框颜色 } @@ -365,49 +365,34 @@ public class XlsSheetUtil { } - if ("border-inside".equals(borderType)) { - //所有内边框 - if (row_ >= rowList.getInteger(0) && row_ < rowList.getInteger(rowList.size() - 1)) { - style.setBorderRight(BorderStyle.valueOf(style_)); //右边框 - style.setRightBorderColor(color);//右边框颜色 - style.setBorderBottom(BorderStyle.valueOf(style_)); //底部边框 - style.setBottomBorderColor(color);//底部边框颜色 } - } - - if (col_ >= columnList.getInteger(0) && col_ < columnList.getInteger(columnList.size() - 1)) { - style.setBorderRight(BorderStyle.valueOf(style_)); //右边框 - style.setRightBorderColor(color);//右边框颜色 - style.setBorderBottom(BorderStyle.valueOf(style_)); //底部边框 - style.setBottomBorderColor(color);//底部边框颜色 } - } - - } - - if ("border-horizontal".equals(borderType)) { + if ("border-horizontal".equals(borderType) || "border-inside".equals(borderType)) { //内部横线 - if (row_ >= rowList.getInteger(0) && row_ < rowList.getInteger(rowList.size() - 1)) { - style.setBorderBottom(BorderStyle.valueOf(style_)); //底部边框 - style.setBottomBorderColor(color);//底部边框颜色 } - } - if (col_ >= columnList.getInteger(0) && col_ < columnList.getInteger(columnList.size() - 1)) { + if (row_ >= rowList.getInteger(0) + && row_ < rowList.getInteger(rowList.size() - 1) + && col_ >= columnList.getInteger(0) + && col_ <= columnList.getInteger(columnList.size() - 1)) { style.setBorderBottom(BorderStyle.valueOf(style_)); //底部边框 style.setBottomBorderColor(color);//底部边框颜色 } } } - if ("border-vertical".equals(borderType)) { + if ("border-vertical".equals(borderType) || "border-inside".equals(borderType)) { //内部竖线 - if (row_ >= rowList.getInteger(0) && row_ < rowList.getInteger(rowList.size() - 1)) { - style.setBorderRight(BorderStyle.valueOf(style_)); //右边框 - style.setRightBorderColor(color);//右边框颜色 - } - if (col_ >= columnList.getInteger(0) && col_ < columnList.getInteger(columnList.size() - 1)) { + if (row_ >= rowList.getInteger(0) + && row_ <= rowList.getInteger(rowList.size() - 1) + && col_ >= columnList.getInteger(0) + && col_ < columnList.getInteger(columnList.size() - 1)) { style.setBorderRight(BorderStyle.valueOf(style_)); //右边框 style.setRightBorderColor(color);//右边框颜色 } } - + if ("border-none".equals(borderType)) { + style.setBorderLeft(BorderStyle.NONE); //左边框 + style.setBorderRight(BorderStyle.NONE); //左边框 + style.setBorderTop(BorderStyle.NONE); //左边框 + style.setBorderBottom(BorderStyle.NONE); //左边框 + } } } diff --git a/report-core/src/test/java/com/anjiplus/template/gaea/business/modules/reportexcel/util/XlsSheetUtilTest.java b/report-core/src/test/java/com/anjiplus/template/gaea/business/modules/reportexcel/util/XlsSheetUtilTest.java new file mode 100644 index 00000000..332129e0 --- /dev/null +++ b/report-core/src/test/java/com/anjiplus/template/gaea/business/modules/reportexcel/util/XlsSheetUtilTest.java @@ -0,0 +1,39 @@ +package com.anjiplus.template.gaea.business.modules.reportexcel.util; + +import com.alibaba.fastjson.JSON; +import com.alibaba.fastjson.JSONObject; +import org.junit.Test; + +import java.io.FileNotFoundException; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.OutputStream; +import java.util.List; + + +/** + * Created by raodeming on 2021/8/30. + */ +public class XlsSheetUtilTest { + + + @Test + public void test1(){ + String str="[{\"row\":199,\"name\":\"Sheet1\",\"chart\":[],\"color\":\"\",\"index\":\"1\",\"order\":0,\"column\":70,\"config\":{\"merge\":{},\"rowlen\":{\"118\":19},\"colhidden\":{},\"columnlen\":{},\"customHeight\":{\"3\":1}},\"images\":{},\"status\":1,\"ch_width\":4748,\"rowsplit\":[],\"calcChain\":[],\"hyperlink\":{},\"rh_height\":1790,\"scrollTop\":0,\"scrollLeft\":0,\"visibledatarow\":[],\"dataVerification\":{},\"visibledatacolumn\":[],\"jfgird_select_save\":[{\"row\":[3,3],\"top\":60,\"left\":222,\"width\":73,\"column\":[3,3],\"height\":19,\"top_move\":60,\"left_move\":222,\"row_focus\":3,\"width_move\":73,\"height_move\":19,\"column_focus\":3}],\"jfgrid_selection_range\":{},\"luckysheet_alternateformat_save\":[],\"luckysheet_conditionformat_save\":[],\"id\":4852,\"block_id\":\"fblock\",\"list_id\":\"xc79500#-8803#7c45f52b7d01486d88bc53cb17dcd2c3\",\"celldata\":[{\"c\":2,\"r\":2,\"v\":{\"m\":\"3\",\"v\":3,\"ct\":{\"t\":\"n\",\"fa\":\"General\"}}},{\"c\":1,\"r\":1,\"v\":{\"m\":\"2\",\"v\":2,\"ct\":{\"t\":\"n\",\"fa\":\"General\"}}},{\"c\":0,\"r\":0,\"v\":{\"m\":\"1\",\"v\":1,\"ct\":{\"t\":\"n\",\"fa\":\"General\"}}},{\"c\":2,\"r\":101,\"v\":{\"m\":\"1111\",\"v\":1111,\"ct\":{\"t\":\"n\",\"fa\":\"General\"}}}]},{\"row\":84,\"name\":\"Sheet2\",\"chart\":[],\"color\":\"\",\"index\":\"2\",\"order\":1,\"column\":60,\"config\":{},\"status\":0,\"ch_width\":4748,\"rowsplit\":[],\"rh_height\":1790,\"scrollTop\":0,\"scrollLeft\":0,\"visibledatarow\":[],\"visibledatacolumn\":[],\"jfgird_select_save\":[{\"row\":[1,1],\"top\":20,\"left\":74,\"width\":73,\"column\":[1,1],\"height\":19,\"top_move\":20,\"left_move\":74,\"row_focus\":1,\"width_move\":73,\"height_move\":19,\"column_focus\":1}],\"jfgrid_selection_range\":{},\"id\":4712,\"block_id\":\"fblock\",\"list_id\":\"xc79500#-8803#7c45f52b7d01486d88bc53cb17dcd2c3\",\"celldata\":[{\"c\":1,\"r\":3,\"v\":{\"m\":\"qwe\",\"v\":\"qwe\",\"ct\":{\"t\":\"g\",\"fa\":\"General\"}}},{\"c\":1,\"r\":1,\"v\":{\"m\":\"qwe\",\"v\":\"qwe\",\"ct\":{\"t\":\"g\",\"fa\":\"General\"}}}]},{\"row\":84,\"name\":\"Sheet3\",\"chart\":[],\"color\":\"\",\"index\":\"3\",\"order\":2,\"column\":60,\"config\":{},\"status\":0,\"ch_width\":4748,\"rowsplit\":[],\"rh_height\":1790,\"scrollTop\":0,\"scrollLeft\":0,\"visibledatarow\":[],\"visibledatacolumn\":[],\"jfgird_select_save\":[{\"row\":[13,13],\"top\":260,\"left\":296,\"width\":73,\"column\":[4,4],\"height\":19,\"top_move\":260,\"left_move\":296,\"row_focus\":13,\"width_move\":73,\"height_move\":19,\"column_focus\":4}],\"jfgrid_selection_range\":{},\"id\":4713,\"block_id\":\"fblock\",\"list_id\":\"xc79500#-8803#7c45f52b7d01486d88bc53cb17dcd2c3\",\"celldata\":[{\"c\":5,\"r\":2,\"v\":{\"m\":\"请问王企鹅全文\",\"v\":\"请问王企鹅全文\",\"bl\":1,\"ct\":{\"t\":\"g\",\"fa\":\"General\"}}},{\"c\":2,\"r\":8,\"v\":{\"m\":\"请问请问\",\"v\":\"请问请问\",\"ct\":{\"t\":\"g\",\"fa\":\"General\"},\"it\":1}}]}]"; + str = "[{\"index\":\"Sheet_MeHeksAaWCLh_1630550132889\",\"status\":1,\"jfgird_select_save\":[],\"luckysheet_select_save\":[{\"left\":518,\"width\":73,\"top\":320,\"height\":19,\"left_move\":518,\"width_move\":73,\"top_move\":320,\"height_move\":19,\"row\":[16,16],\"column\":[7,7],\"row_focus\":16,\"column_focus\":7}],\"data\":[[{\"mc\":{\"r\":0,\"c\":0,\"rs\":2,\"cs\":2}},{\"mc\":{\"r\":0,\"c\":0}},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[{\"mc\":{\"r\":0,\"c\":0}},{\"mc\":{\"r\":0,\"c\":0}},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,{\"m\":\"哈哈\",\"ct\":{\"fa\":\"General\",\"t\":\"g\"},\"v\":\"哈哈\"},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,{\"m\":\"哈哈\",\"ct\":{\"fa\":\"General\",\"t\":\"g\"},\"v\":\"哈哈\",\"ht\":\"0\"},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,{\"m\":\"哈哈\",\"ct\":{\"fa\":\"General\",\"t\":\"g\"},\"v\":\"哈哈\",\"ht\":\"0\"},null,{\"m\":\"请求\",\"ct\":{\"fa\":\"General\",\"t\":\"g\"},\"v\":\"请求\"},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,{\"m\":\"哈哈\",\"ct\":{\"fa\":\"General\",\"t\":\"g\"},\"v\":\"哈哈\",\"ht\":\"0\"},{\"v\":\"333\",\"ct\":{\"fa\":\"General\",\"t\":\"n\"},\"m\":\"333\"},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,{\"m\":\"哈哈\",\"ct\":{\"fa\":\"General\",\"t\":\"g\"},\"v\":\"哈哈\"},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,{\"m\":\"哈哈\",\"ct\":{\"fa\":\"General\",\"t\":\"g\"},\"v\":\"哈哈\",\"bl\":1,\"ht\":\"2\"},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]],\"config\":{\"merge\":{\"0_0\":{\"r\":0,\"c\":0,\"rs\":2,\"cs\":2}},\"borderInfo\":[{\"rangeType\":\"range\",\"borderType\":\"border-all\",\"color\":\"#000\",\"style\":\"1\",\"range\":[{\"left\":0,\"width\":147,\"top\":-1,\"height\":40,\"left_move\":0,\"width_move\":147,\"top_move\":0,\"height_move\":39,\"row\":[0,1],\"column\":[0,1],\"row_focus\":0,\"column_focus\":0}]},{\"rangeType\":\"range\",\"borderType\":\"border-outside\",\"color\":\"#000\",\"style\":\"1\",\"range\":[{\"left\":74,\"width\":73,\"top\":80,\"height\":19,\"left_move\":74,\"width_move\":221,\"top_move\":80,\"height_move\":79,\"row\":[4,7],\"column\":[1,3],\"row_focus\":4,\"column_focus\":1}]},{\"rangeType\":\"range\",\"borderType\":\"border-inside\",\"color\":\"#000\",\"style\":\"1\",\"range\":[{\"left\":74,\"width\":73,\"top\":200,\"height\":19,\"left_move\":74,\"width_move\":221,\"top_move\":200,\"height_move\":119,\"row\":[10,15],\"column\":[1,3],\"row_focus\":10,\"column_focus\":1}]},{\"rangeType\":\"range\",\"borderType\":\"border-all\",\"color\":\"#000\",\"style\":\"1\",\"range\":[{\"left\":370,\"width\":73,\"top\":40,\"height\":19,\"left_move\":370,\"width_move\":295,\"top_move\":40,\"height_move\":119,\"row\":[2,7],\"column\":[5,8],\"row_focus\":2,\"column_focus\":5}]},{\"rangeType\":\"cell\",\"value\":{\"row_index\":3,\"col_index\":5,\"l\":{\"color\":\"#000\",\"style\":\"1\"},\"r\":{\"color\":\"#000\",\"style\":\"1\"},\"t\":{\"color\":\"#000\",\"style\":\"1\"},\"b\":{\"color\":\"#000\",\"style\":\"1\"}}},{\"rangeType\":\"cell\",\"value\":{\"row_index\":4,\"col_index\":5,\"l\":{\"color\":\"#000\",\"style\":\"1\"},\"r\":{\"color\":\"#000\",\"style\":\"1\"},\"t\":{\"color\":\"#000\",\"style\":\"1\"},\"b\":{\"color\":\"#000\",\"style\":\"1\"}}},{\"rangeType\":\"cell\",\"value\":{\"row_index\":5,\"col_index\":5,\"l\":{\"color\":\"#000\",\"style\":\"1\"},\"r\":{\"color\":\"#000\",\"style\":\"1\"},\"t\":{\"color\":\"#000\",\"style\":\"1\"},\"b\":{\"color\":\"#000\",\"style\":\"1\"}}},{\"rangeType\":\"cell\",\"value\":{\"row_index\":6,\"col_index\":5,\"l\":{\"color\":\"#000\",\"style\":\"1\"},\"r\":{\"color\":\"#000\",\"style\":\"1\"},\"t\":{\"color\":\"#000\",\"style\":\"1\"},\"b\":{\"color\":\"#000\",\"style\":\"1\"}}},{\"rangeType\":\"cell\",\"value\":{\"row_index\":7,\"col_index\":5,\"l\":{\"color\":\"#000\",\"style\":\"1\"},\"r\":{\"color\":\"#000\",\"style\":\"1\"},\"t\":{\"color\":\"#000\",\"style\":\"1\"},\"b\":{\"color\":\"#000\",\"style\":\"1\"}}}]},\"visibledatarow\":[20,40,60,80,100,120,140,160,180,200,220,240,260,280,300,320,340,360,380,400,420,440,460,480,500,520,540,560,580,600,620,640,660,680,700,720,740,760,780,800,820,840,860,880,900,920,940,960,980,1000,1020,1040,1060,1080,1100,1120,1140,1160,1180,1200,1220,1240,1260,1280,1300,1320,1340,1360,1380,1400,1420,1440,1460,1480,1500,1520,1540,1560,1580,1600,1620,1640,1660,1680],\"visibledatacolumn\":[74,148,222,296,370,444,518,592,666,740,814,888,962,1036,1110,1184,1258,1332,1406,1480,1554,1628,1702,1776,1850,1924,1998,2072,2146,2220,2294,2368,2442,2516,2590,2664,2738,2812,2886,2960,3034,3108,3182,3256,3330,3404,3478,3552,3626,3700,3774,3848,3922,3996,4070,4144,4218,4292,4366,4440],\"ch_width\":4560,\"rh_height\":1760,\"luckysheet_selection_range\":[],\"zoomRatio\":1,\"celldata\":[{\"r\":0,\"c\":0,\"v\":{\"mc\":{\"r\":0,\"c\":0,\"rs\":2,\"cs\":2}}},{\"r\":0,\"c\":1,\"v\":{\"mc\":{\"r\":0,\"c\":0}}},{\"r\":1,\"c\":0,\"v\":{\"mc\":{\"r\":0,\"c\":0}}},{\"r\":1,\"c\":1,\"v\":{\"mc\":{\"r\":0,\"c\":0}}},{\"r\":2,\"c\":5,\"v\":{\"m\":\"哈哈\",\"ct\":{\"fa\":\"General\",\"t\":\"g\"},\"v\":\"哈哈\"}},{\"r\":3,\"c\":5,\"v\":{\"m\":\"哈哈\",\"ct\":{\"fa\":\"General\",\"t\":\"g\"},\"v\":\"哈哈\",\"ht\":\"0\"}},{\"r\":4,\"c\":5,\"v\":{\"m\":\"哈哈\",\"ct\":{\"fa\":\"General\",\"t\":\"g\"},\"v\":\"哈哈\",\"ht\":\"0\"}},{\"r\":4,\"c\":7,\"v\":{\"m\":\"请求\",\"ct\":{\"fa\":\"General\",\"t\":\"g\"},\"v\":\"请求\"}},{\"r\":5,\"c\":5,\"v\":{\"m\":\"哈哈\",\"ct\":{\"fa\":\"General\",\"t\":\"g\"},\"v\":\"哈哈\",\"ht\":\"0\"}},{\"r\":5,\"c\":6,\"v\":{\"v\":\"333\",\"ct\":{\"fa\":\"General\",\"t\":\"n\"},\"m\":\"333\"}},{\"r\":6,\"c\":5,\"v\":{\"m\":\"哈哈\",\"ct\":{\"fa\":\"General\",\"t\":\"g\"},\"v\":\"哈哈\"}},{\"r\":7,\"c\":5,\"v\":{\"m\":\"哈哈\",\"ct\":{\"fa\":\"General\",\"t\":\"g\"},\"v\":\"哈哈\",\"bl\":1,\"ht\":\"2\"}}]}]"; + //DBObject dbObject=(DBObject) JSON.parse(str); + List lists=(List ) JSON.parse(str); + + OutputStream out = null; + try { + out = new FileOutputStream("D:\\test.xlsx"); + XlsUtil.exportXlsFile(out, true, lists); + } catch (FileNotFoundException e) { + e.printStackTrace(); + } catch (IOException e) { + e.printStackTrace(); + } + System.out.println("start"); + } + +}