fixError:修复每一行后面是空格的打表报错

This commit is contained in:
dingxiaowei
2022-08-26 20:10:37 +08:00
parent 4059d7777c
commit 37b382c9d4
11 changed files with 6 additions and 7 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -63,7 +63,7 @@ namespace ExcelTool
{ {
var row = sheet.GetRow(i); var row = sheet.GetRow(i);
var tableExcelRow = new TableExcelRow(); var tableExcelRow = new TableExcelRow();
for (int j = 0; j <= row.LastCellNum; j++) for (int j = 0; j < excelHeader.Count; j++)
{ {
var cellValue = row.GetCell(j); var cellValue = row.GetCell(j);
if (cellValue != null) if (cellValue != null)
-1
View File
@@ -64,7 +64,6 @@
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="avatarguideTest.cs" />
<Compile Include="ConsoleHelper.cs" /> <Compile Include="ConsoleHelper.cs" />
<Compile Include="CsvHelper.cs" /> <Compile Include="CsvHelper.cs" />
<Compile Include="ExcelHelper.cs" /> <Compile Include="ExcelHelper.cs" />
Binary file not shown.
Binary file not shown.
Binary file not shown.
+5 -5
View File
@@ -5,13 +5,13 @@
""lon"":26.081825, ""lon"":26.081825,
""name"":""刘齐衔故居"" ""name"":""刘齐衔故居""
}",0,100,0,1,"[-497.225,17.536,-107.682]","[0,0,0]" }",0,100,0,1,"[-497.225,17.536,-107.682]","[0,0,0]"
2,TcjF8790673,101会议室,101会议室,101会议室,101会议室,"{[""path1"":"""",""path2"":""""]}",1002,"{ 2,TcjF8790673,101会议室,101会议室,东方万国D栋大会议室,东方万国D栋大会议室,可容纳20余人,"{[""path1"":"""",""path2"":""""]}",1002,"{
""lat"":119.299236, ""lat"":121.623633,
""lon"":26.081825, ""lon"":31.255969,
""name"":""刘齐衔故居"" ""name"":""东方万国D栋""
}",0,100,0,1,"[-14243.48, 15.88, -3211.575]","[-14241.71,17.02,-3207.24]" }",0,100,0,1,"[-14243.48, 15.88, -3211.575]","[-14241.71,17.02,-3207.24]"
3,TcjF8790673,外滩广场 ,外滩广场,上海市重要的地标场所之一,看万国建筑,观美丽江景。,外滩是上海市上海重要的地标之一,它全长1.5公里,南起延安东路,北至苏州河上的外白渡桥,东面即黄浦江,西面是旧上海金融、外贸机构的集中地。外滩沿路坐拥二十多幢风格各异的历史建筑,有折衷主义的,也有文艺复兴式的,还有早期现代式的,故而被誉为“万国建筑博览群”。自上海开埠后,外滩就开始成为了上海乃至中国的金融及贸易中心[1],也被称为“东方华尔街”。,"{[""path1"":"""",""path2"":""""]}",1003,"{ 3,TcjF8790673,外滩广场 ,外滩广场,上海市重要的地标场所之一,看万国建筑,观美丽江景。,外滩是上海市上海重要的地标之一,它全长1.5公里,南起延安东路,北至苏州河上的外白渡桥,东面即黄浦江,西面是旧上海金融、外贸机构的集中地。外滩沿路坐拥二十多幢风格各异的历史建筑,有折衷主义的,也有文艺复兴式的,还有早期现代式的,故而被誉为“万国建筑博览群”。自上海开埠后,外滩就开始成为了上海乃至中国的金融及贸易中心[1],也被称为“东方华尔街”。,"{[""path1"":"""",""path2"":""""]}",1003,"{
""lat"":121.492156, ""lat"":121.492156,
""lon"":31.233462, ""lon"":31.233462,
""name"":""外滩"" ""name"":""外滩""
}",1,100,0,1,"[-1632.7,-869,0]","[0,0,0]" }",1,100,0,1,"[-1631.85,13.904,-888.18]","[-1490,0,-1370]"
1 int,Id string,RoomOwner string,Notes string,RoomName string,RoomBriefly string,RoomDetails string,BgPathId string,ScenesId string,Address int,Recommend int,SubLine int,IsCanPackage int,IsMute Vector,BirthPosition Vector,Offset
5 3 TcjF8790673 外滩广场 外滩广场 上海市重要的地标场所之一,看万国建筑,观美丽江景。 外滩是上海市上海重要的地标之一,它全长1.5公里,南起延安东路,北至苏州河上的外白渡桥,东面即黄浦江,西面是旧上海金融、外贸机构的集中地。外滩沿路坐拥二十多幢风格各异的历史建筑,有折衷主义的,也有文艺复兴式的,还有早期现代式的,故而被誉为“万国建筑博览群”。自上海开埠后,外滩就开始成为了上海乃至中国的金融及贸易中心[1],也被称为“东方华尔街”。 {["path1":"","path2":""]} 1003 { "lat":121.492156, "lon":31.233462, "name":"外滩" } 1 100 0 1 [-1632.7,-869,0] [-1631.85,13.904,-888.18] [0,0,0] [-1490,0,-1370]
6
7
8
9
10
11
12
13
14
15
16
17
Binary file not shown.
Binary file not shown.