refactor(测试计划): 优化报告手动生成功能

This commit is contained in:
song-cc-rock 2024-07-05 15:12:33 +08:00 committed by 刘瑞斌
parent 90dfd84a4e
commit 00f55cea42
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ public class TestPlanReportService {
TestPlanReport record = new TestPlanReport();
record.setId(genReportId);
record.setDefaultLayout(false);
testPlanReportMapper.updateByPrimaryKey(record);
testPlanReportMapper.updateByPrimaryKeySelective(record);
// 处理富文本文件
transferRichTextTmpFile(genReportId, request.getProjectId(), request.getRichTextTmpFileIds(), currentUser, TestPlanReportAttachmentSourceType.RICH_TEXT.name());
}