From 748580a480a3b03921b8ebeb19676dafbff5200f Mon Sep 17 00:00:00 2001 From: WangXu10 Date: Wed, 6 Nov 2024 10:21:33 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B):=20?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=94=A8=E4=BE=8B=E8=AF=84=E5=AE=A1=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E6=97=A5=E5=BF=97=E5=88=92=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../functional/service/CaseReviewLogService.java | 8 ++++---- .../functional/service/CaseReviewModuleService.java | 6 ++++-- .../system/log/constants/OperationLogModule.java | 3 +++ 3 files changed, 11 insertions(+), 6 deletions(-) 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"; //接口调试