mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
数据源递归死循环修复
This commit is contained in:
+8
-8
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user