fix(测试计划): 修复列表标签未显示问题
--bug=1040841 --user=王旭 【测试计划】测试计划中包含标签但在计划列表中未进行展示 https://www.tapd.cn/55049933/s/1518447
This commit is contained in:
parent
8e098fde41
commit
481bd86b44
|
@ -14,6 +14,10 @@
|
||||||
<result column="group_id" jdbcType="VARCHAR" property="groupId"/>
|
<result column="group_id" jdbcType="VARCHAR" property="groupId"/>
|
||||||
</resultMap>
|
</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 id="updateDefaultGroupId">
|
||||||
UPDATE test_plan
|
UPDATE test_plan
|
||||||
SET group_id = 'NONE'
|
SET group_id = 'NONE'
|
||||||
|
@ -34,7 +38,7 @@
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectByConditions"
|
<select id="selectByConditions"
|
||||||
resultType="io.metersphere.plan.dto.response.TestPlanResponse">
|
resultMap="BaseResultMapDTO">
|
||||||
SELECT
|
SELECT
|
||||||
t.id,t.num,t.name,t.status,t.group_id,
|
t.id,t.num,t.name,t.status,t.group_id,
|
||||||
t.create_user AS createUser,
|
t.create_user AS createUser,
|
||||||
|
|
Loading…
Reference in New Issue