fix(用例评审): 用例评审列表用户ID修改为用户名
This commit is contained in:
parent
f3f496b484
commit
5b305a288a
|
@ -6,11 +6,11 @@
|
||||||
parameterType="io.metersphere.track.request.testreview.QueryCaseReviewRequest">
|
parameterType="io.metersphere.track.request.testreview.QueryCaseReviewRequest">
|
||||||
select distinct test_case_review.id, test_case_review.name, test_case_review.creator, test_case_review.status,
|
select distinct test_case_review.id, test_case_review.name, test_case_review.creator, test_case_review.status,
|
||||||
test_case_review.create_time, test_case_review.update_time, test_case_review.end_time,
|
test_case_review.create_time, test_case_review.update_time, test_case_review.end_time,
|
||||||
test_case_review.description
|
test_case_review.description, user.name as creatorName
|
||||||
from test_case_review, project, test_case_review_project
|
from test_case_review join test_case_review_project on test_case_review.id = test_case_review_project.review_id
|
||||||
|
join project on test_case_review_project.project_id = project.id
|
||||||
|
left join user on test_case_review.creator = user.id
|
||||||
<where>
|
<where>
|
||||||
test_case_review.id = test_case_review_project.review_id
|
|
||||||
and test_case_review_project.project_id = project.id
|
|
||||||
<if test="request.name != null">
|
<if test="request.name != null">
|
||||||
and test_case_review.name like CONCAT('%', #{request.name},'%')
|
and test_case_review.name like CONCAT('%', #{request.name},'%')
|
||||||
</if>
|
</if>
|
||||||
|
|
|
@ -10,4 +10,5 @@ public class TestCaseReviewDTO extends TestCaseReview {
|
||||||
|
|
||||||
private String projectName;
|
private String projectName;
|
||||||
private String reviewerName;
|
private String reviewerName;
|
||||||
|
private String creatorName;
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
show-overflow-tooltip>
|
show-overflow-tooltip>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="creator"
|
prop="creatorName"
|
||||||
:label="$t('test_track.review.review_creator')"
|
:label="$t('test_track.review.review_creator')"
|
||||||
show-overflow-tooltip>
|
show-overflow-tooltip>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
@ -66,10 +66,6 @@
|
||||||
<template v-slot:default="scope">
|
<template v-slot:default="scope">
|
||||||
<ms-table-operator :is-tester-permission="true" @editClick="handleEdit(scope.row)"
|
<ms-table-operator :is-tester-permission="true" @editClick="handleEdit(scope.row)"
|
||||||
@deleteClick="handleDelete(scope.row)">
|
@deleteClick="handleDelete(scope.row)">
|
||||||
<!-- <template v-slot:middle>-->
|
|
||||||
<!-- <ms-table-operator-button :isTesterPermission="true" type="success" tip="重新发起" icon="el-icon-document"-->
|
|
||||||
<!-- @exec="reCreate(scope.row)"/>-->
|
|
||||||
<!-- </template>-->
|
|
||||||
</ms-table-operator>
|
</ms-table-operator>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
Loading…
Reference in New Issue