feat(测试用例): 新增用例评审操作日志划分
This commit is contained in:
parent
46bc579966
commit
748580a480
|
@ -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");
|
||||
|
|
|
@ -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/");
|
||||
|
|
|
@ -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";
|
||||
|
||||
//接口调试
|
||||
|
|
Loading…
Reference in New Issue