fix(我的仪表盘): 修改我创建的用例的查询sql

--user=郭雨琦 我的工作台——我的仪表盘-我创建的用例-查询条件修改
This commit is contained in:
guoyuqi 2021-11-22 14:35:13 +08:00 committed by 刘瑞斌
parent f8c193d297
commit 0ee2cd7b61
3 changed files with 5 additions and 2 deletions

View File

@ -113,7 +113,7 @@
</include> </include>
</if> </if>
<if test="${condition}.creator != null"> <if test="${condition}.creator != null">
and api_scenario.user_id and api_scenario.create_user
<include refid="condition"> <include refid="condition">
<property name="object" value="${condition}.creator"/> <property name="object" value="${condition}.creator"/>
</include> </include>

View File

@ -691,6 +691,9 @@
<if test="request.workspaceId != null"> <if test="request.workspaceId != null">
AND project.workspace_id = #{request.workspaceId} AND project.workspace_id = #{request.workspaceId}
</if> </if>
<if test="request.filters == null || request.filters.size() == 0 ">
and (api_test_case.status is null or api_test_case.status != 'Trash')
</if>
</where> </where>
</sql> </sql>

View File

@ -92,7 +92,7 @@
</include> </include>
</if> </if>
<if test="${condition}.creator != null"> <if test="${condition}.creator != null">
AND load_test.user_id AND load_test.create_user
<include refid="condition"> <include refid="condition">
<property name="object" value="${condition}.creator"/> <property name="object" value="${condition}.creator"/>
</include> </include>