refactor(通用功能): 版本置新加最新版本标识
--bug=1020900 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001020900
This commit is contained in:
parent
a274642793
commit
8439cd8b11
|
@ -189,7 +189,7 @@
|
||||||
<select id="list" resultMap="BaseResultMap">
|
<select id="list" resultMap="BaseResultMap">
|
||||||
select api_scenario.id, api_scenario.project_id, api_scenario.tags, api_scenario.user_id, api_scenario.num,
|
select api_scenario.id, api_scenario.project_id, api_scenario.tags, api_scenario.user_id, api_scenario.num,
|
||||||
api_scenario.custom_num, api_scenario.version, api_scenario.environment_type, api_scenario.environment_group_id,
|
api_scenario.custom_num, api_scenario.version, api_scenario.environment_type, api_scenario.environment_group_id,
|
||||||
api_scenario.version_id, api_scenario.ref_id, project_version.name as version_name,
|
api_scenario.version_id, api_scenario.ref_id,api_scenario.latest, project_version.name as version_name,
|
||||||
<if test="request.selectEnvironment == true">
|
<if test="request.selectEnvironment == true">
|
||||||
api_scenario.environment_json as env,
|
api_scenario.environment_json as env,
|
||||||
</if>
|
</if>
|
||||||
|
|
|
@ -271,7 +271,7 @@
|
||||||
test_case.review_status, test_case.tags,
|
test_case.review_status, test_case.tags,
|
||||||
test_case.demand_id, test_case.demand_name, test_case.`status`,
|
test_case.demand_id, test_case.demand_name, test_case.`status`,
|
||||||
test_case.custom_num, test_case.step_model, test_case.create_user,
|
test_case.custom_num, test_case.step_model, test_case.create_user,
|
||||||
test_case.ref_id
|
test_case.ref_id,test_case.latest
|
||||||
</if>
|
</if>
|
||||||
from test_case
|
from test_case
|
||||||
left join project_version on project_version.id = test_case.version_id
|
left join project_version on project_version.id = test_case.version_id
|
||||||
|
|
Loading…
Reference in New Issue