fix(用例管理): 用例评审高级搜索,按评审人搜索系统报错

--bug=1046668 --user=陈建星 【用例评审】评审详情-高级搜索添加评审人条件后筛选-报SQL异常 https://www.tapd.cn/55049933/s/1580824
This commit is contained in:
AgAngle 2024-09-19 11:23:27 +08:00 committed by 刘瑞斌
parent dd8b3f5c4e
commit cd63f9dcb8
1 changed files with 9 additions and 0 deletions

View File

@ -193,6 +193,15 @@
<property name="condition" value="condition"/> <property name="condition" value="condition"/>
</include> </include>
</if> </if>
<if test="condition.name == 'reviewers'">
<include refid="io.metersphere.system.mapper.BaseMapper.associationCondition">
<property name="mainIdColumn" value="crfc.case_id"/>
<property name="associationTable" value="case_review_functional_case_user"/>
<property name="associationIdColumn" value="case_id"/>
<property name="searchColumn" value="user_id"/>
<property name="condition" value="condition"/>
</include>
</if>
<include refid="io.metersphere.system.mapper.BaseMapper.queryType"> <include refid="io.metersphere.system.mapper.BaseMapper.queryType">
<property name="searchMode" value="${combineSearch}.searchMode"/> <property name="searchMode" value="${combineSearch}.searchMode"/>
</include> </include>