fix(测试计划): 修复报告功能执行结果未自动更新的问题

--bug=1044091 --user=宋昌昌 【测试计划】测试计划开启允许自动更新状态,执行成功后,接口用例和场景用例相关联的功能用例执行结果没有更新 https://www.tapd.cn/55049933/s/1550345
This commit is contained in:
song-cc-rock 2024-07-18 15:29:21 +08:00 committed by 刘瑞斌
parent ba42588de8
commit 300545a4a5
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ public class TestPlanService extends TestPlanBaseUtilsService {
testPlanFunctionalCaseMapper.updateByExampleSelective(updateRecord, updateExample);
// 报告-功能用例的执行结果同步刷新
TestPlanReportFunctionCaseExample caseExample = new TestPlanReportFunctionCaseExample();
caseExample.createCriteria().andTestPlanReportIdEqualTo(testPlanReportId).andTestPlanFunctionCaseIdIn(funcCaseIds);
caseExample.createCriteria().andTestPlanReportIdEqualTo(testPlanReportId).andFunctionCaseIdIn(funcCaseIds);
TestPlanReportFunctionCase reportFunctionCase = new TestPlanReportFunctionCase();
reportFunctionCase.setFunctionCaseExecuteResult(result);
reportFunctionCase.setFunctionCaseExecuteReportId(null);