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