feat(测试计划): 计划组的执行历史列表功能
--story=1015333 --user=宋昌昌 【测试计划】完成剩余功能 https://www.tapd.cn/55049933/s/1540855
This commit is contained in:
parent
f87bfd1c1a
commit
239c662190
|
@ -9,6 +9,6 @@ import lombok.EqualsAndHashCode;
|
||||||
@EqualsAndHashCode(callSuper = false)
|
@EqualsAndHashCode(callSuper = false)
|
||||||
public class TestPlanExecuteHisPageRequest extends BasePageRequest {
|
public class TestPlanExecuteHisPageRequest extends BasePageRequest {
|
||||||
|
|
||||||
@Schema(description = "测试计划ID", requiredMode = Schema.RequiredMode.REQUIRED)
|
@Schema(description = "测试计划/计划组ID", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
private String testPlanId;
|
private String testPlanId;
|
||||||
}
|
}
|
||||||
|
|
|
@ -462,10 +462,11 @@
|
||||||
|
|
||||||
<select id="listHis" resultType="io.metersphere.plan.dto.TestPlanExecuteHisDTO">
|
<select id="listHis" resultType="io.metersphere.plan.dto.TestPlanExecuteHisDTO">
|
||||||
select tpr.id, from_unixtime(tpr.create_time / 1000, '%Y%m%d%H%i%s') as num, tpr.trigger_mode triggerMode, tpr.exec_status execStatus, tpr.result_status execResult,
|
select tpr.id, from_unixtime(tpr.create_time / 1000, '%Y%m%d%H%i%s') as num, tpr.trigger_mode triggerMode, tpr.exec_status execStatus, tpr.result_status execResult,
|
||||||
tpr.create_user operationUser, tpr.start_time startTime, tpr.end_time endTime, tpr.deleted deleted from test_plan_report tpr
|
tpr.create_user operationUser, tpr.start_time startTime, tpr.end_time endTime, tpr.deleted as deleted from test_plan_report tpr
|
||||||
where tpr.test_plan_id = #{request.testPlanId}
|
where tpr.test_plan_id = #{request.testPlanId}
|
||||||
<include refid="filter"/>
|
<include refid="filter"/>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectGroupIdByKeyword" resultType="java.lang.String">
|
<select id="selectGroupIdByKeyword" resultType="java.lang.String">
|
||||||
SELECT t.group_id
|
SELECT t.group_id
|
||||||
FROM test_plan t
|
FROM test_plan t
|
||||||
|
|
Loading…
Reference in New Issue