mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-14 05:42:06 +08:00
数据源递归死循环修复
This commit is contained in:
+8
-8
@@ -11,8 +11,8 @@
|
|||||||
* from system_data_source_field
|
* from system_data_source_field
|
||||||
|
|
||||||
where
|
where
|
||||||
<foreach item="ids" collection="ids" open="(" separator="OR" close=")">
|
<foreach item="id" collection="ids" open="(" separator="OR" close=")">
|
||||||
source_id LIKE CONCAT('%', #{ids}, '%')
|
source_id LIKE CONCAT('%', #{id}, '%')
|
||||||
</foreach>
|
</foreach>
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
@@ -25,13 +25,13 @@
|
|||||||
|
|
||||||
where
|
where
|
||||||
|
|
||||||
<foreach item="sourceFields" collection="sourceFields" open="(" separator="OR" close=")">
|
<foreach item="sourceField" collection="sourceFields" open="(" separator="OR" close=")">
|
||||||
source_id LIKE CONCAT('%', #{sourceFields.parentId}, '%')
|
source_id LIKE CONCAT('%', #{sourceField.parentId}, '%')
|
||||||
</foreach>
|
</foreach>
|
||||||
and
|
and
|
||||||
`key` in
|
`key` in
|
||||||
<foreach collection="sourceFields" item="sourceFields" open="(" close=")" separator=",">
|
<foreach collection="sourceFields" item="sourceField" open="(" close=")" separator=",">
|
||||||
#{sourceFields.key}
|
#{sourceField.key}
|
||||||
</foreach>
|
</foreach>
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
@@ -44,8 +44,8 @@
|
|||||||
|
|
||||||
where
|
where
|
||||||
`key` in
|
`key` in
|
||||||
<foreach collection="keyList" item="keyList" open="(" close=")" separator=",">
|
<foreach collection="keyList" item="key" open="(" close=")" separator=",">
|
||||||
#{keyList}
|
#{key}
|
||||||
</foreach>
|
</foreach>
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Reference in New Issue
Block a user