fix(测试跟踪): 修复发送测试计划通知时未判断测试计划是否存在的问题
修复发送测试计划通知时未判断测试计划是否存在的问题
This commit is contained in:
parent
8efcfeec2a
commit
ebff7072aa
|
@ -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