fix(测试计划): 列表返回标签字段
This commit is contained in:
parent
865c15999e
commit
6ec666b869
|
@ -1,6 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="io.metersphere.plan.mapper.ExtTestPlanFunctionalCaseMapper">
|
||||
<resultMap id="BaseResultMapDTO" type="io.metersphere.plan.dto.response.TestPlanCasePageResponse">
|
||||
<result column="tags" jdbcType="VARCHAR" property="tags" typeHandler="io.metersphere.handler.ListTypeHandler" />
|
||||
</resultMap>
|
||||
|
||||
<update id="updatePos">
|
||||
UPDATE
|
||||
test_plan_functional_case
|
||||
|
@ -89,7 +93,7 @@
|
|||
LIMIT 1
|
||||
</select>
|
||||
|
||||
<select id="getCasePage" resultType="io.metersphere.plan.dto.response.TestPlanCasePageResponse">
|
||||
<select id="getCasePage" resultMap="BaseResultMapDTO">
|
||||
select
|
||||
functional_case.id as caseId,
|
||||
functional_case.num,
|
||||
|
|
Loading…
Reference in New Issue