fix(测试跟踪): 功能用例责任人筛选不生效

--bug=1015202 --user=陈建星 【测试跟踪】功能用例列表页-责任人筛选不生效 https://www.tapd.cn/55049933/s/1208304
This commit is contained in:
AnAngle 2022-07-24 00:31:45 +08:00 committed by jianxing
parent 1f6e250c8f
commit a04d3906cb
1 changed files with 4 additions and 0 deletions

View File

@ -574,6 +574,10 @@
and test_case.version_id in
<include refid="io.metersphere.base.mapper.ext.ExtBaseMapper.filterInWrapper"/>
</when>
<when test="key=='maintainer'">
and test_case.maintainer in
<include refid="io.metersphere.base.mapper.ext.ExtBaseMapper.filterInWrapper"/>
</when>
<when test="key.startsWith('custom')">
and test_case.id in (
select resource_id from custom_field_test_case where concat('custom',field_id) = #{key}