Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ming zheng
Metersphere
Commits
98b64776
Commit
98b64776
authored
4 years ago
by
chenjianxing
Committed by
BugKing
4 years ago
Browse files
Options
Download
Email Patches
Plain Diff
fix: 测试计划和评审关联用例列表没有去掉已经关联的用例
parent
b5c79b79
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml
+2
-2
...java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml
frontend/src/business/components/track/plan/view/comonents/functional/TestCaseFunctionalRelevance.vue
+1
-1
...view/comonents/functional/TestCaseFunctionalRelevance.vue
with
3 additions
and
3 deletions
+3
-3
backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml
+
2
-
2
View file @
98b64776
...
...
@@ -79,8 +79,8 @@
select test_case.id, test_case.name, test_case.priority, test_case.type, test_case.review_status from test_case
as test_case
left join test_case_review_test_case as T2 on test_case.id=T2.case_id and T2.review_id =#{request.reviewId}
<include
refid=
"notInQueryWhereCondition"
/>
and T2.case_id is null
<include
refid=
"notInQueryWhereCondition"
></include>
ORDER BY test_case.update_time DESC
</select>
...
...
@@ -119,8 +119,8 @@
select test_case.id, test_case.name, test_case.priority, test_case.type, test_case.review_status from test_case
as test_case
left join test_plan_test_case as T2 on test_case.id=T2.case_id and T2.plan_id =#{request.planId}
and T2.case_id is null
<include
refid=
"notInQueryWhereCondition"
></include>
and T2.case_id is null
ORDER BY test_case.update_time DESC
</select>
...
...
This diff is collapsed.
Click to expand it.
frontend/src/business/components/track/plan/view/comonents/functional/TestCaseFunctionalRelevance.vue
+
1
-
1
View file @
98b64776
...
...
@@ -197,7 +197,7 @@ export default {
}
if
(
this
.
projectId
)
{
this
.
condition
.
projectId
=
this
.
projectId
;
this
.
result
=
this
.
$post
(
this
.
buildPagePath
(
'
/test/case/
list
'
),
this
.
condition
,
response
=>
{
this
.
result
=
this
.
$post
(
this
.
buildPagePath
(
'
/test/case/
relate
'
),
this
.
condition
,
response
=>
{
let
data
=
response
.
data
;
this
.
total
=
data
.
itemCount
;
let
tableData
=
data
.
listObject
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help