fix(测试跟踪): 功能用例关联性能测试弹窗数据查询不对
--bug=1034443 --user=宋昌昌 【测试跟踪】功能用例-关联性能用例-高级搜索-创建人属于a-查询结果和性能列表数据不一致 https://www.tapd.cn/55049933/s/1629194
This commit is contained in:
parent
28bf181a8d
commit
7fc99c2f63
|
@ -151,9 +151,9 @@
|
||||||
FROM load_test
|
FROM load_test
|
||||||
LEFT JOIN project ON load_test.project_id = project.id
|
LEFT JOIN project ON load_test.project_id = project.id
|
||||||
LEFT JOIN user ON load_test.user_id = user.id
|
LEFT JOIN user ON load_test.user_id = user.id
|
||||||
LEFT JOIN project_version on project.id = project_version.project_id AND project_version.id =
|
LEFT JOIN project_version on project.id = project_version.project_id AND project_version.id = load_test.version_id
|
||||||
load_test.version_id
|
|
||||||
<where>
|
<where>
|
||||||
|
(load_test.status is null or load_test.status != 'Trash')
|
||||||
<if test="request.combine != null">
|
<if test="request.combine != null">
|
||||||
<include refid="combine">
|
<include refid="combine">
|
||||||
<property name="condition" value="request.combine"/>
|
<property name="condition" value="request.combine"/>
|
||||||
|
@ -192,7 +192,7 @@
|
||||||
</foreach>
|
</foreach>
|
||||||
</when>
|
</when>
|
||||||
<when test="key == 'user_id'">
|
<when test="key == 'user_id'">
|
||||||
AND load_test.user_id IN
|
AND load_test.create_user IN
|
||||||
<foreach collection="values" item="value" separator="," open="(" close=")">
|
<foreach collection="values" item="value" separator="," open="(" close=")">
|
||||||
#{value}
|
#{value}
|
||||||
</foreach>
|
</foreach>
|
||||||
|
|
|
@ -82,10 +82,12 @@ import {TEST_CASE_RELEVANCE_LOAD_CASE} from "metersphere-frontend/src/components
|
||||||
import MxVersionSelect from "metersphere-frontend/src/components/version/MxVersionSelect";
|
import MxVersionSelect from "metersphere-frontend/src/components/version/MxVersionSelect";
|
||||||
import {getVersionFilters} from "@/business/utils/sdk-utils";
|
import {getVersionFilters} from "@/business/utils/sdk-utils";
|
||||||
import {getTestCaseRelevanceLoadList} from "@/api/testCase";
|
import {getTestCaseRelevanceLoadList} from "@/api/testCase";
|
||||||
|
import MsPerformanceTestStatus from "@/business/performance/PerformanceTestStatus.vue";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "TestCaseRelateLoadList",
|
name: "TestCaseRelateLoadList",
|
||||||
components: {
|
components: {
|
||||||
|
MsPerformanceTestStatus,
|
||||||
MsTablePagination,
|
MsTablePagination,
|
||||||
MsTable,
|
MsTable,
|
||||||
MsTableColumn,
|
MsTableColumn,
|
||||||
|
|
|
@ -109,10 +109,12 @@ import MxVersionSelect from "metersphere-frontend/src/components/version/MxVersi
|
||||||
import { getVersionFilters } from "@/business/utils/sdk-utils";
|
import { getVersionFilters } from "@/business/utils/sdk-utils";
|
||||||
import { getTestCaseRelevanceLoadList } from "@/api/testCase";
|
import { getTestCaseRelevanceLoadList } from "@/api/testCase";
|
||||||
import {getCurrentProjectID} from "metersphere-frontend/src/utils/token";
|
import {getCurrentProjectID} from "metersphere-frontend/src/utils/token";
|
||||||
|
import MsPerformanceTestStatus from "@/business/performance/PerformanceTestStatus.vue";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "CaseRelateLoadList",
|
name: "CaseRelateLoadList",
|
||||||
components: {
|
components: {
|
||||||
|
MsPerformanceTestStatus,
|
||||||
MsTablePagination,
|
MsTablePagination,
|
||||||
MsTable,
|
MsTable,
|
||||||
MsTableColumn,
|
MsTableColumn,
|
||||||
|
|
Loading…
Reference in New Issue