refactor(通用功能): 版本置新加最新版本标识

--bug=1020900 --user=郭雨琦
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001020900
This commit is contained in:
guoyuqi 2022-12-16 10:25:49 +08:00 committed by xiaomeinvG
parent a274642793
commit 8439cd8b11
2 changed files with 2 additions and 2 deletions

View File

@ -189,7 +189,7 @@
<select id="list" resultMap="BaseResultMap">
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.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">
api_scenario.environment_json as env,
</if>

View File

@ -271,7 +271,7 @@
test_case.review_status, test_case.tags,
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.ref_id
test_case.ref_id,test_case.latest
</if>
from test_case
left join project_version on project_version.id = test_case.version_id