chore(测试跟踪): 增加日志

This commit is contained in:
song-tianyang 2024-01-17 11:36:03 +08:00 committed by 建国
parent f234ba6bb4
commit ce8ad81e4e
1 changed files with 4 additions and 1 deletions

View File

@ -1747,11 +1747,14 @@ public class TestPlanReportService {
@Async
public void deleteIllegalityResourceReport() {
LogUtil.info(" check illegality resource report start");
List<String> deletedTestPlanReportIds = new ArrayList<>();
deletedTestPlanReportIds.addAll(extTestPlanMapper.selectDeletedTestPlanReportIdsFromApiCaseReport());
deletedTestPlanReportIds.addAll(extTestPlanMapper.selectDeletedTestPlanReportIdsFromApiScenarioReport());
deletedTestPlanReportIds.addAll(extTestPlanMapper.selectDeletedTestPlanReportIdsFromUiReport());
deletedTestPlanReportIds = deletedTestPlanReportIds.stream().distinct().toList();
deletedTestPlanReportIds = new ArrayList<>(deletedTestPlanReportIds.stream().distinct().toList());
LogUtil.info(" check illegality resource report size: " + deletedTestPlanReportIds.size());
BatchProcessingUtil.consumerByStringList(deletedTestPlanReportIds, this::deleteReportBatch);
LogUtil.info(" check illegality resource report over");
}
}