fix(工作台): 我的待办功能用例列表展示数据问题

--bug=1025573 --user=宋昌昌 【我的工作台】我的待办-功能用例数统计错误-用例状态是已完成,仍统计在我的待办中。 https://www.tapd.cn/55049933/s/1367288
This commit is contained in:
song-cc-rock 2023-04-26 18:41:49 +08:00 committed by fit2-zhao
parent f20411ed9c
commit 5ac3d2fec9
3 changed files with 9 additions and 0 deletions

View File

@ -653,6 +653,9 @@
<if test="request.notEqStatus != null">
and test_case.status != #{request.notEqStatus}
</if>
<if test="request.unComing">
and (test_case.status is null or test_case.status not in ('Trash', 'Completed'))
</if>
<if test="request.casePublic != null and request.casePublic == true">
and test_case.case_public = true
</if>

View File

@ -68,4 +68,9 @@ public class QueryTestCaseRequest extends BaseQueryRequest {
* 是否查询UI
*/
private boolean queryUi;
/**
* 是否待办状态
*/
private boolean unComing;
}

View File

@ -454,6 +454,7 @@ export default {
if (ids) {
this.condition.ids = ids;
}
this.condition.unComing = true;
this.initTableData();
this.condition.ids = null;
},