fix(测试跟踪): 修复发送测试计划通知时未判断测试计划是否存在的问题
修复发送测试计划通知时未判断测试计划是否存在的问题
This commit is contained in:
parent
ef53b38816
commit
f6b59cb946
|
@ -52,6 +52,9 @@ public class TestPlanMessageService {
|
||||||
|
|
||||||
@Async
|
@Async
|
||||||
public void checkTestPlanStatusAndSendMessage(TestPlanReport report, TestPlanReportContentWithBLOBs testPlanReportContent, boolean sendMessage) {
|
public void checkTestPlanStatusAndSendMessage(TestPlanReport report, TestPlanReportContentWithBLOBs testPlanReportContent, boolean sendMessage) {
|
||||||
|
if (report == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (testPlanReportContent != null) {
|
if (testPlanReportContent != null) {
|
||||||
report = testPlanReportService.checkTestPlanReportHasErrorCase(report, testPlanReportContent);
|
report = testPlanReportService.checkTestPlanReportHasErrorCase(report, testPlanReportContent);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue