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