处理问题
This commit is contained in:
parent
fa11707377
commit
6fc1042717
@ -80,10 +80,10 @@
|
|||||||
modifier = #{modifier},
|
modifier = #{modifier},
|
||||||
gmt_modified = #{gmtModified}
|
gmt_modified = #{gmtModified}
|
||||||
WHERE
|
WHERE
|
||||||
<if test="oaFileIds != null and oaFileIds.size > 0">
|
<if test="onFileIds != null and onFileIds.size > 0">
|
||||||
oa_file_id IN
|
on_file_id IN
|
||||||
<foreach collection="oaFileIds" index="index" open="(" separator="," close=")">
|
<foreach collection="onFileIds" index="index" open="(" separator="," close=")">
|
||||||
#{oaFileIds[${index}]}
|
#{onFileIds[${index}]}
|
||||||
</foreach>
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
</update>
|
</update>
|
||||||
@ -93,10 +93,10 @@
|
|||||||
DELETE FROM
|
DELETE FROM
|
||||||
oa_on_file
|
oa_on_file
|
||||||
WHERE
|
WHERE
|
||||||
<if test="oaFileIds != null and oaFileIds.size > 0">
|
<if test="onFileIds != null and onFileIds.size > 0">
|
||||||
oa_file_id IN
|
on_file_id IN
|
||||||
<foreach collection="oaFileIds" index="index" open="(" separator="," close=")">
|
<foreach collection="onFileIds" index="index" open="(" separator="," close=")">
|
||||||
#{oaFileIds[${index}]}
|
#{onFileIds[${index}]}
|
||||||
</foreach>
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
</delete>
|
</delete>
|
||||||
@ -118,9 +118,9 @@
|
|||||||
oa_on_file
|
oa_on_file
|
||||||
WHERE
|
WHERE
|
||||||
is_delete = 0
|
is_delete = 0
|
||||||
<if test="oaFileId != null and oaFileId != ''">
|
<if test="onFileId != null and onFileId != ''">
|
||||||
AND
|
AND
|
||||||
oa_file_id = #{oaFileId}
|
on_file_id = #{onFileId}
|
||||||
</if>
|
</if>
|
||||||
<if test="processInstanceId != null and processInstanceId != ''">
|
<if test="processInstanceId != null and processInstanceId != ''">
|
||||||
AND
|
AND
|
||||||
@ -151,7 +151,7 @@
|
|||||||
is_delete = 0
|
is_delete = 0
|
||||||
<if test="oaFileId != null and oaFileId != ''">
|
<if test="oaFileId != null and oaFileId != ''">
|
||||||
AND
|
AND
|
||||||
oa_file_id = #{oaFileId}
|
on_file_id = #{oaFileId}
|
||||||
</if>
|
</if>
|
||||||
<if test="processInstanceId != null and processInstanceId != ''">
|
<if test="processInstanceId != null and processInstanceId != ''">
|
||||||
AND
|
AND
|
||||||
|
Loading…
Reference in New Issue
Block a user