fix(测试计划): 修复模块取消关联失败问题
This commit is contained in:
parent
3521ff0a3a
commit
3d095f7cc5
|
@ -181,7 +181,14 @@
|
||||||
<if test="request.moduleIds != null and request.moduleIds.size() > 0">
|
<if test="request.moduleIds != null and request.moduleIds.size() > 0">
|
||||||
and functional_case.module_id in
|
and functional_case.module_id in
|
||||||
<foreach collection="request.moduleIds" item="moduleId" separator="," open="(" close=")">
|
<foreach collection="request.moduleIds" item="moduleId" separator="," open="(" close=")">
|
||||||
|
<choose>
|
||||||
|
<when test="moduleId.contains('_root')">
|
||||||
|
'root'
|
||||||
|
</when>
|
||||||
|
<otherwise>
|
||||||
#{moduleId}
|
#{moduleId}
|
||||||
|
</otherwise>
|
||||||
|
</choose>
|
||||||
</foreach>
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
<if test="request.condition.keyword != null">
|
<if test="request.condition.keyword != null">
|
||||||
|
|
Loading…
Reference in New Issue