feat(消息通知): 测试计划增加执行结果变量

--story=1009289 --user=刘瑞斌 【系统设置】消息通知-测试计划新增通知字段 https://www.tapd.cn/55049933/s/1241750
This commit is contained in:
CaptainB 2022-09-20 13:58:43 +08:00 committed by 刘瑞斌
parent 0ad64f6c85
commit 7bf8ae201f
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
package io.metersphere.track.service; package io.metersphere.track.service;
import com.alibaba.fastjson.JSON;
import io.metersphere.api.dto.automation.TestPlanFailureApiDTO; import io.metersphere.api.dto.automation.TestPlanFailureApiDTO;
import io.metersphere.api.dto.automation.TestPlanFailureScenarioDTO; import io.metersphere.api.dto.automation.TestPlanFailureScenarioDTO;
import io.metersphere.api.service.ShareInfoService; import io.metersphere.api.service.ShareInfoService;
@ -334,6 +335,7 @@ public class TestPlanMessageService {
result.put("uiScenarioFailedCount", v); result.put("uiScenarioFailedCount", v);
break; break;
case "unexecute": case "unexecute":
case "stop":
result.put("uiScenarioUnExecuteCount", v); result.put("uiScenarioUnExecuteCount", v);
break; break;
default: default: