fix(测试计划): 停止计划任务执行更新用例状态

This commit is contained in:
song-cc-rock 2024-06-24 16:47:34 +08:00 committed by 刘瑞斌
parent fff5f6e574
commit f0b0e02459
1 changed files with 3 additions and 1 deletions

View File

@ -62,7 +62,9 @@ public class TestPlanExecuteSupportService {
LogUtils.info("开始合并报告: --- 报告ID[{}],是否是报告组[{}]", reportId, isGroupReport); LogUtils.info("开始合并报告: --- 报告ID[{}],是否是报告组[{}]", reportId, isGroupReport);
try { try {
// 如果是停止的计划任务, 报告用例状态改成STOPPED // 如果是停止的计划任务, 报告用例状态改成STOPPED
updateReportDetailStopped(reportId); if (isStop) {
updateReportDetailStopped(reportId);
}
if (isGroupReport) { if (isGroupReport) {
testPlanReportService.summaryGroupReport(reportId); testPlanReportService.summaryGroupReport(reportId);