|
@@ -547,7 +547,7 @@ public class ExcelTabController extends BladeController {
|
|
// 复制模版htmlURL
|
|
// 复制模版htmlURL
|
|
File file_in = ResourceUtil.getFile(excelTab.getHtmlUrl());
|
|
File file_in = ResourceUtil.getFile(excelTab.getHtmlUrl());
|
|
String filecode = SnowFlakeUtil.getId() + "";
|
|
String filecode = SnowFlakeUtil.getId() + "";
|
|
- String thmlUrl = file_path + "/privateUrlCopy/" + aPrivate.getProjectId()+"/"+filecode + ".html";
|
|
|
|
|
|
+ String thmlUrl = file_path + "privateUrlCopy/" + aPrivate.getProjectId()+"/"+filecode + ".html";
|
|
File file_out = ResourceUtil.getFile(thmlUrl);
|
|
File file_out = ResourceUtil.getFile(thmlUrl);
|
|
if(!file_out.exists()){
|
|
if(!file_out.exists()){
|
|
FileUtils.ensureFileExists(thmlUrl);
|
|
FileUtils.ensureFileExists(thmlUrl);
|
|
@@ -2865,7 +2865,7 @@ public class ExcelTabController extends BladeController {
|
|
reData.put(key + "__" + tabData[1], strings);
|
|
reData.put(key + "__" + tabData[1], strings);
|
|
} else {
|
|
} else {
|
|
if (tabVal.contains("[") && tabVal.contains("]")) {
|
|
if (tabVal.contains("[") && tabVal.contains("]")) {
|
|
- reData.put(key + "__" + tabData[1], tabData);
|
|
|
|
|
|
+ reData.put(key + "__" + tabData[1], tabData[0]);
|
|
} else {
|
|
} else {
|
|
reData.put(key + "__" + tabData[1], tabData[0]);
|
|
reData.put(key + "__" + tabData[1], tabData[0]);
|
|
}
|
|
}
|