fix(测试跟踪): 修复测试计划执行结果变更,日志记录重复缺陷

--bug=1028385 --user=王旭 【测试跟踪】测试计划-关联功能用例-执行结果变更-查看功能用例变更记录-每次会产生两条记录 https://www.tapd.cn/55049933/s/1403878
This commit is contained in:
WangXu10 2023-08-15 15:49:56 +08:00 committed by 刘瑞斌
parent 1250c36793
commit a6d3f9e16b

View File

@ -484,8 +484,6 @@ public class TestPlanTestCaseService {
if (planTestCaseWithBLOBs != null) {
TestCase testCase = testCaseMapper.selectByPrimaryKey(planTestCaseWithBLOBs.getCaseId());
List<DetailColumn> columns = new LinkedList<>();
DetailColumn executeStatusColumn = new DetailColumn("状态", "lastExecuteResult", StatusReference.statusMap.get(testCase.getLastExecuteResult()), null);
columns.add(executeStatusColumn);
// 增加评论内容
List<TestCaseCommentDTO> dtos = testCaseCommentService.getCaseComments(planTestCaseWithBLOBs.getCaseId());
if (CollectionUtils.isNotEmpty(dtos)) {