feat(测试用例): 新增用例评审操作日志划分
This commit is contained in:
parent
46bc579966
commit
748580a480
|
@ -60,7 +60,7 @@ public class CaseReviewLogService {
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
OperationLogType.ADD.name(),
|
OperationLogType.ADD.name(),
|
||||||
OperationLogModule.CASE_REVIEW,
|
OperationLogModule.CASE_MANAGEMENT_REVIEW_REVIEW,
|
||||||
requests.getName());
|
requests.getName());
|
||||||
|
|
||||||
dto.setPath("/case/review/add");
|
dto.setPath("/case/review/add");
|
||||||
|
@ -82,7 +82,7 @@ public class CaseReviewLogService {
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
OperationLogType.COPY.name(),
|
OperationLogType.COPY.name(),
|
||||||
OperationLogModule.CASE_REVIEW,
|
OperationLogModule.CASE_MANAGEMENT_REVIEW_REVIEW,
|
||||||
requests.getName());
|
requests.getName());
|
||||||
|
|
||||||
dto.setPath("/case/review/copy");
|
dto.setPath("/case/review/copy");
|
||||||
|
@ -108,7 +108,7 @@ public class CaseReviewLogService {
|
||||||
caseReview.getId(),
|
caseReview.getId(),
|
||||||
caseReview.getCreateUser(),
|
caseReview.getCreateUser(),
|
||||||
OperationLogType.UPDATE.name(),
|
OperationLogType.UPDATE.name(),
|
||||||
OperationLogModule.CASE_REVIEW,
|
OperationLogModule.CASE_MANAGEMENT_REVIEW_REVIEW,
|
||||||
caseReview.getName());
|
caseReview.getName());
|
||||||
|
|
||||||
dto.setPath("/case/review/edit");
|
dto.setPath("/case/review/edit");
|
||||||
|
@ -132,7 +132,7 @@ public class CaseReviewLogService {
|
||||||
caseReview.getId(),
|
caseReview.getId(),
|
||||||
null,
|
null,
|
||||||
OperationLogType.DELETE.name(),
|
OperationLogType.DELETE.name(),
|
||||||
OperationLogModule.CASE_REVIEW,
|
OperationLogModule.CASE_MANAGEMENT_REVIEW_REVIEW,
|
||||||
caseReview.getName());
|
caseReview.getName());
|
||||||
|
|
||||||
dto.setPath("/case/review/delete");
|
dto.setPath("/case/review/delete");
|
||||||
|
|
|
@ -7,7 +7,9 @@
|
||||||
package io.metersphere.functional.service;
|
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.CaseReviewModuleMapper;
|
||||||
import io.metersphere.functional.mapper.ExtCaseReviewMapper;
|
import io.metersphere.functional.mapper.ExtCaseReviewMapper;
|
||||||
import io.metersphere.functional.mapper.ExtCaseReviewModuleMapper;
|
import io.metersphere.functional.mapper.ExtCaseReviewModuleMapper;
|
||||||
|
@ -137,7 +139,7 @@ public class CaseReviewModuleService extends ModuleTreeService {
|
||||||
item.getId(),
|
item.getId(),
|
||||||
item.getCreateUser(),
|
item.getCreateUser(),
|
||||||
OperationLogType.DELETE.name(),
|
OperationLogType.DELETE.name(),
|
||||||
OperationLogModule.CASE_REVIEW,
|
OperationLogModule.CASE_MANAGEMENT_REVIEW_REVIEW,
|
||||||
item.getName());
|
item.getName());
|
||||||
|
|
||||||
dto.setPath("/case/review/module/delete/");
|
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_CREATE = "CASE_MANAGEMENT_REVIEW_CREATE";
|
||||||
public static final String CASE_REVIEW_UPDATE = "CASE_MANAGEMENT_REVIEW_UPDATE";
|
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";
|
public static final String CASE_REVIEW_DETAIL = "CASE_MANAGEMENT_REVIEW_DETAIL";
|
||||||
|
|
||||||
//接口调试
|
//接口调试
|
||||||
|
|
Loading…
Reference in New Issue