feat(测试用例): 新增用例评审操作日志划分

This commit is contained in:
WangXu10 2024-11-06 10:21:33 +08:00 committed by Craftsman
parent 46bc579966
commit 748580a480
3 changed files with 11 additions and 6 deletions

View File

@ -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");

View File

@ -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/");

View File

@ -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";
//接口调试