|
@@ -319,9 +319,7 @@ public class ExcelTabServiceImpl extends BaseServiceImpl<ExcelTabMapper, ExcelTa
|
|
Object o = dataInfo2.get(dataMap.get(k).get(0));
|
|
Object o = dataInfo2.get(dataMap.get(k).get(0));
|
|
dataVal = JSON.toJSONString(o).replace("\"", "");
|
|
dataVal = JSON.toJSONString(o).replace("\"", "");
|
|
}
|
|
}
|
|
- if(dataVal.startsWith("[")&&dataVal.endsWith("]")){
|
|
|
|
- dataVal=dataVal.substring(1, dataVal.length() - 1);
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
|
|
|
|
dataMap2.put(k, dataVal + "_^_" + dataMap.get(k).get(0).split("__")[1]);
|
|
dataMap2.put(k, dataVal + "_^_" + dataMap.get(k).get(0).split("__")[1]);
|
|
}
|
|
}
|
|
@@ -1557,14 +1555,8 @@ public class ExcelTabServiceImpl extends BaseServiceImpl<ExcelTabMapper, ExcelTa
|
|
String[] ss = tabData[0].split(",");
|
|
String[] ss = tabData[0].split(",");
|
|
ss[0]=StringUtils.deleteWhitespace(ss[0]);
|
|
ss[0]=StringUtils.deleteWhitespace(ss[0]);
|
|
ss[1]=StringUtils.deleteWhitespace(ss[1]);
|
|
ss[1]=StringUtils.deleteWhitespace(ss[1]);
|
|
- if(ss[0].equals(ss[1])){
|
|
|
|
- reData.put(key + "__" + tabData[1],ss);
|
|
|
|
- }
|
|
|
|
|
|
+ reData.put(key + "__" + tabData[1],ss);
|
|
}
|
|
}
|
|
- else {
|
|
|
|
- reData.put(key + "__" + tabData[1], tabData[0]);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|