fix(测试计划): 测试用例自定义ID报错
This commit is contained in:
parent
8a5016501a
commit
9c6311e7e3
|
@ -138,7 +138,6 @@
|
|||
<select id="list" resultType="io.metersphere.track.dto.TestPlanCaseDTO">
|
||||
select test_plan_test_case.id as id, test_case.id as caseId, test_case.name, test_case.priority,
|
||||
test_case.type,test_case.test_id as testId,test_case.node_id, test_case.tags, test_case.maintainer,
|
||||
if(project.custom_num = 0, cast(test_case.num as char), test_case.custom_num) as num,
|
||||
test_case.node_path, test_case.method, if(project.custom_num = 0, cast(test_case.num as char), test_case.custom_num) as customNum, test_plan_test_case.executor, test_plan_test_case.status, test_plan_test_case.actual_result,
|
||||
test_plan_test_case.update_time, test_case_node.name as model, project.name as projectName,
|
||||
test_plan_test_case.plan_id as planId
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
:data="functionalTestCases">
|
||||
|
||||
<el-table-column
|
||||
prop="num"
|
||||
prop="customNum"
|
||||
:label="$t('commons.id')"
|
||||
show-overflow-tooltip>
|
||||
</el-table-column>
|
||||
|
|
Loading…
Reference in New Issue