fix(接口测试): 任务中心查询资源池列表报错

This commit is contained in:
AgAngle 2024-10-22 16:42:05 +08:00 committed by Craftsman
parent d440688cbf
commit dead5c92c2
1 changed files with 5 additions and 4 deletions

View File

@ -66,7 +66,8 @@
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 (
all_org = true or id in
<foreach collection="poolIds" item="poolId" open="(" separator="," close=")"> <foreach collection="poolIds" item="poolId" open="(" separator="," close=")">
#{poolId} #{poolId}
</foreach> </foreach>