Commit d2b008a4 by 宋珺琪

修改可视化返回结构

parent 2b0d4982
......@@ -19,6 +19,8 @@ public class HnTbStRygxDTO implements Serializable {
private String id;
private String label;
private int x;
private int y;
private Kshpropertice properties;
......
......@@ -16,36 +16,5 @@ public class Kshpropertice implements Serializable {
private String imgType;
private String boderColor;
/* @ApiModelProperty(value = "标签")
private String describe;
@ApiModelProperty(value = "标识")
private String name;
*//* @ApiModelProperty(value = "姓名")
private String xm;
@ApiModelProperty(value = "身份证号")
private String sfzh;*//*
@ApiModelProperty(value = "ID随机")
private String id;
@ApiModelProperty(value = "图片")
private String img;
@ApiModelProperty(value = "类型")
private String type;
private String value;
*//**
* 是否为黑色节点
*//*
private Boolean gen;
*//**
* 是否为黄色节点
*//*
private Boolean yellow;*/
}
......@@ -103,7 +103,7 @@ public class SkServiceController extends ApiController {
String postfix = filename.substring(filename.lastIndexOf(".") + 1);
//根据Excel文件后缀读取数据
if (postfix.equals("xls")) {
Map xlsExcelMap = ExcelUtil.readXLSXExcel(file.getInputStream(), SkService.class, abandonFields);
Map xlsExcelMap = ExcelUtil.readXLSExcel(file.getInputStream(), SkService.class, abandonFields);
resultList = (List) xlsExcelMap.get("dataList");
} else if (postfix.equals("xlsx")){
Map xlsxExcelMap = ExcelUtil.readXLSXExcel(file.getInputStream(), SkService.class, abandonFields);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment