fix(测试跟踪 ): 修复功能用例首页与模块统计不一致
--bug=1009862 --user=王孝刚 功能用例首页与模块统计不一致 https://www.tapd.cn/55049933/s/1097187
This commit is contained in:
parent
5a96bf5c46
commit
d3bc1d98a6
|
@ -680,8 +680,10 @@
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<select id="countPriority" resultType="io.metersphere.track.response.TrackCountResult">
|
<select id="countPriority" resultType="io.metersphere.track.response.TrackCountResult">
|
||||||
SELECT test_case.priority as groupField,count(id) AS countNumber FROM test_case
|
SELECT test_case.priority as groupField, count(DISTINCT ref_id) AS countNumber
|
||||||
WHERE project_id = #{projectId} AND (test_case.status IS NULL OR test_case.status != 'Trash')
|
FROM test_case
|
||||||
|
WHERE project_id = #{projectId}
|
||||||
|
AND (test_case.status IS NULL OR test_case.status != 'Trash')
|
||||||
GROUP BY test_case.priority
|
GROUP BY test_case.priority
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue