diff --git a/backend/services/case-management/src/main/java/io/metersphere/functional/service/CaseReviewLogService.java b/backend/services/case-management/src/main/java/io/metersphere/functional/service/CaseReviewLogService.java index a8d66990e1..1672175e07 100644 --- a/backend/services/case-management/src/main/java/io/metersphere/functional/service/CaseReviewLogService.java +++ b/backend/services/case-management/src/main/java/io/metersphere/functional/service/CaseReviewLogService.java @@ -60,7 +60,7 @@ public class CaseReviewLogService { null, null, OperationLogType.ADD.name(), - OperationLogModule.CASE_REVIEW, + OperationLogModule.CASE_MANAGEMENT_REVIEW_REVIEW, requests.getName()); dto.setPath("/case/review/add"); @@ -82,7 +82,7 @@ public class CaseReviewLogService { null, null, OperationLogType.COPY.name(), - OperationLogModule.CASE_REVIEW, + OperationLogModule.CASE_MANAGEMENT_REVIEW_REVIEW, requests.getName()); dto.setPath("/case/review/copy"); @@ -108,7 +108,7 @@ public class CaseReviewLogService { caseReview.getId(), caseReview.getCreateUser(), OperationLogType.UPDATE.name(), - OperationLogModule.CASE_REVIEW, + OperationLogModule.CASE_MANAGEMENT_REVIEW_REVIEW, caseReview.getName()); dto.setPath("/case/review/edit"); @@ -132,7 +132,7 @@ public class CaseReviewLogService { caseReview.getId(), null, OperationLogType.DELETE.name(), - OperationLogModule.CASE_REVIEW, + OperationLogModule.CASE_MANAGEMENT_REVIEW_REVIEW, caseReview.getName()); dto.setPath("/case/review/delete"); diff --git a/backend/services/case-management/src/main/java/io/metersphere/functional/service/CaseReviewModuleService.java b/backend/services/case-management/src/main/java/io/metersphere/functional/service/CaseReviewModuleService.java index 60439d6e1a..e4efd8b38f 100644 --- a/backend/services/case-management/src/main/java/io/metersphere/functional/service/CaseReviewModuleService.java +++ b/backend/services/case-management/src/main/java/io/metersphere/functional/service/CaseReviewModuleService.java @@ -7,7 +7,9 @@ package io.metersphere.functional.service; -import io.metersphere.functional.domain.*; +import io.metersphere.functional.domain.CaseReview; +import io.metersphere.functional.domain.CaseReviewModule; +import io.metersphere.functional.domain.CaseReviewModuleExample; import io.metersphere.functional.mapper.CaseReviewModuleMapper; import io.metersphere.functional.mapper.ExtCaseReviewMapper; import io.metersphere.functional.mapper.ExtCaseReviewModuleMapper; @@ -137,7 +139,7 @@ public class CaseReviewModuleService extends ModuleTreeService { item.getId(), item.getCreateUser(), OperationLogType.DELETE.name(), - OperationLogModule.CASE_REVIEW, + OperationLogModule.CASE_MANAGEMENT_REVIEW_REVIEW, item.getName()); dto.setPath("/case/review/module/delete/"); diff --git a/backend/services/system-setting/src/main/java/io/metersphere/system/log/constants/OperationLogModule.java b/backend/services/system-setting/src/main/java/io/metersphere/system/log/constants/OperationLogModule.java index a8462dfe32..d14922474e 100644 --- a/backend/services/system-setting/src/main/java/io/metersphere/system/log/constants/OperationLogModule.java +++ b/backend/services/system-setting/src/main/java/io/metersphere/system/log/constants/OperationLogModule.java @@ -147,6 +147,9 @@ public class OperationLogModule { public static final String CASE_REVIEW_CREATE = "CASE_MANAGEMENT_REVIEW_CREATE"; public static final String CASE_REVIEW_UPDATE = "CASE_MANAGEMENT_REVIEW_UPDATE"; + //用例评审 + public static final String CASE_MANAGEMENT_REVIEW_REVIEW = "CASE_MANAGEMENT_REVIEW_REVIEW"; + //评审详情 public static final String CASE_REVIEW_DETAIL = "CASE_MANAGEMENT_REVIEW_DETAIL"; //接口调试