fix: --bug=1007423 --user=刘瑞斌 【消息设置】-测试计划-执行完成-创建人未收到通知 https://www.tapd.cn/55049933/s/1058838
This commit is contained in:
parent
7d0216aaca
commit
238f482862
|
@ -805,7 +805,11 @@ public class TestPlanReportService {
|
|||
// testPlan.setStatus(TestPlanStatus.Completed.name());
|
||||
testPlanMapper.updateByPrimaryKeySelective(testPlan);
|
||||
}
|
||||
if (testPlan != null && StringUtils.equalsAny(report.getTriggerMode(), ReportTriggerMode.API.name(), ReportTriggerMode.SCHEDULE.name())) {
|
||||
if (testPlan != null && StringUtils.equalsAny(report.getTriggerMode(),
|
||||
ReportTriggerMode.MANUAL.name(),
|
||||
ReportTriggerMode.API.name(),
|
||||
ReportTriggerMode.SCHEDULE.name())
|
||||
) {
|
||||
//发送通知
|
||||
sendMessage(report, testPlan.getProjectId());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue