fix(接口测试): 任务中心查询资源池列表报错
This commit is contained in:
parent
d440688cbf
commit
dead5c92c2
|
@ -66,10 +66,11 @@
|
||||||
FROM test_resource_pool
|
FROM test_resource_pool
|
||||||
where deleted = false
|
where deleted = false
|
||||||
<if test="poolIds != null and poolIds.size() > 0 ">
|
<if test="poolIds != null and poolIds.size() > 0 ">
|
||||||
and (all_org = true or id
|
and (
|
||||||
<foreach collection="poolIds" item="poolId" open="(" separator="," close=")">
|
all_org = true or id in
|
||||||
#{poolId}
|
<foreach collection="poolIds" item="poolId" open="(" separator="," close=")">
|
||||||
</foreach>
|
#{poolId}
|
||||||
|
</foreach>
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
<if test="poolIds == null or poolIds.size() == 0">
|
<if test="poolIds == null or poolIds.size() == 0">
|
||||||
|
|
Loading…
Reference in New Issue