fix(测试计划): 修复列表标签未显示问题

--bug=1040841 --user=王旭 【测试计划】测试计划中包含标签但在计划列表中未进行展示 https://www.tapd.cn/55049933/s/1518447
This commit is contained in:
WangXu10 2024-05-22 16:16:06 +08:00 committed by 刘瑞斌
parent 8e098fde41
commit 481bd86b44
1 changed files with 5 additions and 1 deletions

View File

@ -14,6 +14,10 @@
<result column="group_id" jdbcType="VARCHAR" property="groupId"/>
</resultMap>
<resultMap id="BaseResultMapDTO" type="io.metersphere.plan.dto.response.TestPlanResponse">
<result column="tags" jdbcType="VARCHAR" property="tags" typeHandler="io.metersphere.handler.ListTypeHandler" />
</resultMap>
<update id="updateDefaultGroupId">
UPDATE test_plan
SET group_id = 'NONE'
@ -34,7 +38,7 @@
</select>
<select id="selectByConditions"
resultType="io.metersphere.plan.dto.response.TestPlanResponse">
resultMap="BaseResultMapDTO">
SELECT
t.id,t.num,t.name,t.status,t.group_id,
t.create_user AS createUser,