mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-03 20:49:56 +08:00
fix(工作台):修复工作台我的待办中测试计划数据统计有误问题
--bug=1024415 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001024415
This commit is contained in:
parent
1d124b57f4
commit
11c3a222a1
@ -213,6 +213,7 @@
|
||||
test_plan_test_case.status in
|
||||
<include refid="io.metersphere.base.mapper.ext.ExtBaseMapper.filterInWrapper"/>
|
||||
))
|
||||
and (test_plan.status is null or test_plan.status != 'Trash')
|
||||
</when>
|
||||
<otherwise>
|
||||
and test_plan.status in
|
||||
|
@ -216,11 +216,11 @@
|
||||
and (tp.status is null or tp.status != 'Trash');
|
||||
</select>
|
||||
<select id="getCountUpcoming" resultType="java.lang.Integer">
|
||||
select count(*) from test_plan
|
||||
select COUNT(DISTINCT(test_plan.id)) from test_plan
|
||||
left join test_plan_principal ON test_plan_principal.test_plan_id = test_plan.id
|
||||
left join test_plan_test_case on test_plan_test_case.plan_id = test_plan.id
|
||||
where
|
||||
test_plan.project_id in
|
||||
test_plan.project_id in
|
||||
<foreach collection="projectIds" item="projectId" separator="," open="(" close=")">
|
||||
#{projectId}
|
||||
</foreach>
|
||||
|
Loading…
Reference in New Issue
Block a user