fix(测试跟踪): 修复导入用例后进行修改,变更记录无数据且接口报错问题
--bug=1033456 --user=王旭 【测试跟踪】github #27867导入excle的功能用例后,修改用例进行保存后,在变更记录里没有记录,接口和后台均有抛异常 https://www.tapd.cn/55049933/s/1444616
This commit is contained in:
parent
f0e7e49402
commit
7b1e51cb1f
|
@ -1354,6 +1354,7 @@ public class TestCaseService {
|
||||||
testCase.setRefId(testCase.getId());
|
testCase.setRefId(testCase.getId());
|
||||||
testCase.setVersionId(request.getVersionId());
|
testCase.setVersionId(request.getVersionId());
|
||||||
testCase.setLatest(true);
|
testCase.setLatest(true);
|
||||||
|
testCase.setType("functional");
|
||||||
mapper.insert(testCase);
|
mapper.insert(testCase);
|
||||||
nextOrder += ServiceUtils.ORDER_STEP;
|
nextOrder += ServiceUtils.ORDER_STEP;
|
||||||
batchInsertCustomFieldTestCase(testCaseCustomFieldMap, customFieldTestCaseMapper, testCase);
|
batchInsertCustomFieldTestCase(testCaseCustomFieldMap, customFieldTestCaseMapper, testCase);
|
||||||
|
|
Loading…
Reference in New Issue