fix(测试计划): 修复批量编辑标签问题
--bug=1041279 --user=王旭 【测试计划】计划列表-批量编辑标签-开启追加标签-原标签被覆盖了 https://www.tapd.cn/55049933/s/1521807
This commit is contained in:
parent
c792eb55e2
commit
8e9c8d9411
|
@ -18,6 +18,11 @@
|
|||
<result column="tags" jdbcType="VARCHAR" property="tags" typeHandler="io.metersphere.handler.ListTypeHandler" />
|
||||
</resultMap>
|
||||
|
||||
<resultMap id="BaseResultMap" type="io.metersphere.plan.domain.TestPlan">
|
||||
<result column="tags" jdbcType="VARCHAR" property="tags" typeHandler="io.metersphere.handler.ListTypeHandler" />
|
||||
</resultMap>
|
||||
|
||||
|
||||
<update id="updateDefaultGroupId">
|
||||
UPDATE test_plan
|
||||
SET group_id = 'NONE'
|
||||
|
@ -385,7 +390,7 @@
|
|||
</foreach>
|
||||
</update>
|
||||
|
||||
<select id="getTagsByIds" resultType="io.metersphere.plan.domain.TestPlan">
|
||||
<select id="getTagsByIds" resultMap="BaseResultMap">
|
||||
select id, tags from test_plan
|
||||
where id in
|
||||
<foreach collection="ids" item="id" open="(" separator="," close=")">
|
||||
|
|
Loading…
Reference in New Issue