fix(接口测试): 修复场景删除时日志记录错误的问题
--bug=1043114 --user=宋天阳 【接口测试】场景列表-批量删除生成系统日志-操作对象为空 https://www.tapd.cn/55049933/s/1536496
This commit is contained in:
parent
04ebd8118b
commit
444c40533c
|
@ -2030,7 +2030,7 @@ public class ApiScenarioService extends MoveNodeService {
|
|||
scenarioIds,
|
||||
sublist -> operationGC(sublist, isDeleteOperation, deleteTime, logInsertModule.getOperator()));
|
||||
apiScenarioLogService.saveBatchOperationLog(response, request.getProjectId(),
|
||||
isDeleteOperation ? OperationLogType.DELETE.name() : OperationLogType.RECOVER.name(), logInsertModule, OperationLogModule.API_TEST_SCENARIO_RECYCLE, false);
|
||||
isDeleteOperation ? OperationLogType.DELETE.name() : OperationLogType.RECOVER.name(), logInsertModule, OperationLogModule.API_SCENARIO_MANAGEMENT_SCENARIO, false);
|
||||
apiScenarioNoticeService.batchSendNotice(scenarioIds, logInsertModule.getOperator(), request.getProjectId(), NoticeConstants.Event.DELETE);
|
||||
return response;
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@ public class OperationLogModule {
|
|||
// 场景管理
|
||||
public static final String API_SCENARIO_MANAGEMENT_SCENARIO = "API_TEST_SCENARIO_MANAGEMENT_SCENARIO";
|
||||
public static final String API_SCENARIO_MANAGEMENT_MODULE = "API_TEST_SCENARIO_MANAGEMENT_MODULE";
|
||||
public static final String API_TEST_SCENARIO_RECYCLE = "API_TEST_SCENARIO_RECYCLE";
|
||||
public static final String API_TEST_SCENARIO_RECYCLE = "API_TEST_SCENARIO_MANAGEMENT_RECYCLE";
|
||||
public static final String API_TEST_MANAGEMENT_RECYCLE = "API_TEST_MANAGEMENT_RECYCLE";
|
||||
|
||||
public static final String API_REPORT = "API_TEST_REPORT_CASE";
|
||||
|
|
Loading…
Reference in New Issue