fix(测试计划): 修复模块取消关联失败问题

This commit is contained in:
WangXu10 2024-08-09 10:24:08 +08:00 committed by 刘瑞斌
parent 3521ff0a3a
commit 3d095f7cc5
1 changed files with 8 additions and 1 deletions

View File

@ -181,7 +181,14 @@
<if test="request.moduleIds != null and request.moduleIds.size() > 0">
and functional_case.module_id in
<foreach collection="request.moduleIds" item="moduleId" separator="," open="(" close=")">
<choose>
<when test="moduleId.contains('_root')">
'root'
</when>
<otherwise>
#{moduleId}
</otherwise>
</choose>
</foreach>
</if>
<if test="request.condition.keyword != null">