diff --git a/backend/services/case-management/src/main/java/io/metersphere/functional/service/CaseReviewFunctionalCaseService.java b/backend/services/case-management/src/main/java/io/metersphere/functional/service/CaseReviewFunctionalCaseService.java index 630fa4d284..4518428fc2 100644 --- a/backend/services/case-management/src/main/java/io/metersphere/functional/service/CaseReviewFunctionalCaseService.java +++ b/backend/services/case-management/src/main/java/io/metersphere/functional/service/CaseReviewFunctionalCaseService.java @@ -164,8 +164,21 @@ public class CaseReviewFunctionalCaseService { list.forEach(item -> { item.setModuleName(moduleMap.get(item.getModuleId())); item.setVersionName(versionMap.get(item.getVersionId())); - item.setReviewers(Collections.singletonList(userIdMap.get(item.getCaseId()))); - item.setReviewNames(Collections.singletonList(userNameMap.get(item.getCaseId()))); + String reviewer = userIdMap.get(item.getCaseId()); + if (StringUtils.isNotBlank(reviewer)) { + item.setReviewers(new ArrayList<>(Arrays.asList(reviewer.split(",")))); + } + if (StringUtils.isNotBlank(reviewer)) { + item.setReviewers(new ArrayList<>(Arrays.asList(reviewer.split(",")))); + } else { + item.setReviewers(new ArrayList<>()); + } + String reviewName = userNameMap.get(item.getCaseId()); + if (StringUtils.isNotBlank(reviewName)) { + item.setReviewNames(new ArrayList<>(Arrays.asList(reviewName.split(",")))); + } else { + item.setReviewNames(new ArrayList<>()); + } item.setCustomFields(collect.get(item.getCaseId())); if (request.isViewStatusFlag()) { List histories = caseStatusMap.get(item.getCaseId()); diff --git a/frontend/src/views/case-management/caseReview/components/detail/caseTable.vue b/frontend/src/views/case-management/caseReview/components/detail/caseTable.vue index 492ffd161c..399a61dfb9 100644 --- a/frontend/src/views/case-management/caseReview/components/detail/caseTable.vue +++ b/frontend/src/views/case-management/caseReview/components/detail/caseTable.vue @@ -92,9 +92,31 @@