数据源递归死循环修复

This commit is contained in:
gaoqr
2025-05-29 09:31:26 +08:00
parent 5b660cd9a9
commit 83030b3f93
@@ -11,8 +11,8 @@
* from system_data_source_field
where
<foreach item="ids" collection="ids" open="(" separator="OR" close=")">
source_id LIKE CONCAT('%', #{ids}, '%')
<foreach item="id" collection="ids" open="(" separator="OR" close=")">
source_id LIKE CONCAT('%', #{id}, '%')
</foreach>
</select>
@@ -25,13 +25,13 @@
where
<foreach item="sourceFields" collection="sourceFields" open="(" separator="OR" close=")">
source_id LIKE CONCAT('%', #{sourceFields.parentId}, '%')
<foreach item="sourceField" collection="sourceFields" open="(" separator="OR" close=")">
source_id LIKE CONCAT('%', #{sourceField.parentId}, '%')
</foreach>
and
`key` in
<foreach collection="sourceFields" item="sourceFields" open="(" close=")" separator=",">
#{sourceFields.key}
<foreach collection="sourceFields" item="sourceField" open="(" close=")" separator=",">
#{sourceField.key}
</foreach>
</select>
@@ -44,8 +44,8 @@
where
`key` in
<foreach collection="keyList" item="keyList" open="(" close=")" separator=",">
#{keyList}
<foreach collection="keyList" item="key" open="(" close=")" separator=",">
#{key}
</foreach>
</select>