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 fbc295fc07..dfd800dd79 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 @@ -165,7 +165,7 @@ public class CaseReviewLogService { caseReview.getProjectId(), null, caseReview.getId(), - caseReview.getCreateUser(), + null, OperationLogType.ASSOCIATE.name(), OperationLogModule.CASE_REVIEW_DETAIL, functionalCase.getName()); diff --git a/backend/services/test-plan/src/main/java/io/metersphere/plan/controller/TestPlanCollectionMinderController.java b/backend/services/test-plan/src/main/java/io/metersphere/plan/controller/TestPlanCollectionMinderController.java index dfc633a5f1..52f013b235 100644 --- a/backend/services/test-plan/src/main/java/io/metersphere/plan/controller/TestPlanCollectionMinderController.java +++ b/backend/services/test-plan/src/main/java/io/metersphere/plan/controller/TestPlanCollectionMinderController.java @@ -44,8 +44,7 @@ public class TestPlanCollectionMinderController { }, logical = Logical.OR) @CheckOwner(resourceId = "#request.planId", resourceType = "test_plan") public void editMindTestPlanCase(@Validated @RequestBody TestPlanCollectionMinderEditRequest request) { - String userId = SessionUtils.getUserId(); - testPlanCollectionMinderService.editMindTestPlanCase(request, userId); + testPlanCollectionMinderService.editMindTestPlanCase(request, SessionUtils.getUser()); } diff --git a/backend/services/test-plan/src/main/java/io/metersphere/plan/mapper/ExtTestPlanApiCaseMapper.xml b/backend/services/test-plan/src/main/java/io/metersphere/plan/mapper/ExtTestPlanApiCaseMapper.xml index 1252890b8e..5833c8dc94 100644 --- a/backend/services/test-plan/src/main/java/io/metersphere/plan/mapper/ExtTestPlanApiCaseMapper.xml +++ b/backend/services/test-plan/src/main/java/io/metersphere/plan/mapper/ExtTestPlanApiCaseMapper.xml @@ -684,8 +684,10 @@