解决财务单据删除逻辑的bug

This commit is contained in:
季圣华
2020-10-05 20:32:12 +08:00
parent ce3fbfb557
commit 3534c26ae3
5 changed files with 19 additions and 38 deletions

View File

@@ -96,4 +96,14 @@
)
and ifnull(delete_flag,'0') !='1'
</select>
<update id="batchDeleteAccountItemByHeadIds">
update jsh_account_item
set delete_flag='1'
where 1=1
and header_id in (
<foreach collection="ids" item="id" separator=",">
#{id}
</foreach>
)
</update>
</mapper>