fix(测试跟踪): 导入用例缺少的问题 (#18128)

--bug=1017067 --user=宋昌昌 【测试跟踪】github#18013,excel导入13条功能用例,只导入了8条 https://www.tapd.cn/55049933/s/1248430

Co-authored-by: song-cc-rock <changchang.song@fit2cloud.com>
This commit is contained in:
MeterSphere Bot 2022-09-21 16:39:49 +08:00 committed by GitHub
parent 27464c7652
commit 1117f9ae06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ public class TestCaseNoModelDataListener extends AnalysisEventListener<Map<Integ
} }
} }
// 如果合并单元格的最后一个单元格标记下 // 如果合并单元格的最后一个单元格标记下
if (rowIndex == mergeInfo.getLastRowIndex()) { if (rowIndex.equals(mergeInfo.getLastRowIndex())) {
// 根据名称列是否是合并单元格判断是不是同一条用例 // 根据名称列是否是合并单元格判断是不是同一条用例
if (getNameColIndex().equals(col)) { if (getNameColIndex().equals(col)) {
this.isMergeLastRow = true; this.isMergeLastRow = true;