fix(测试跟踪): 评审率统计不准确
--bug=1007589 --user=lyh 【测试跟踪】首页-用例数量统计-评审率统计不准确 https://www.tapd.cn/55049933/s/1062385
This commit is contained in:
parent
e23ec17f13
commit
13fb6979de
|
@ -412,7 +412,8 @@
|
||||||
AND create_time BETWEEN #{firstDayTimestamp} AND #{lastDayTimestamp}
|
AND create_time BETWEEN #{firstDayTimestamp} AND #{lastDayTimestamp}
|
||||||
</select>
|
</select>
|
||||||
<select id="countStatus" resultType="io.metersphere.track.response.TrackCountResult">
|
<select id="countStatus" resultType="io.metersphere.track.response.TrackCountResult">
|
||||||
SELECT review_status AS groupField,count(id) AS countNumber FROM test_case WHERE project_id = #{projectId} and test_case.status != 'Trash'
|
SELECT review_status AS groupField,count(id) AS countNumber FROM test_case
|
||||||
|
WHERE project_id = #{projectId} and (test_case.status != 'Trash' or test_case.status is null)
|
||||||
GROUP BY test_case.review_status
|
GROUP BY test_case.review_status
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue