select thisTab.id, thisTab.head_id, thisTab.create_by, thisTab.create_time, thisTab.operation from receivable_audit_log AS thisTab
select count(0) from receivable_audit_log as thisTab
and thisTab.head_id = #{headId} and thisTab.operation = #{operation}
insert into receivable_audit_log
head_id,create_by,create_time,operation,#{headId},#{createBy},#{createTime},#{operation},
insert into receivable_audit_log
id,head_id,create_by,create_time,operation,
#{item.id},#{item.headId},#{item.createBy},#{item.createTime},#{item.operation},
update receivable_audit_log
head_id = #{headId},create_by = #{createBy},create_time = #{createTime},operation = #{operation},
where id = #{id}
update receivable_audit_log
head_id = #{item.headId},create_by = #{item.createBy},create_time = #{item.createTime},operation = #{item.operation},
where id = #{item.id}
delete from receivable_audit_log where id = #{id}
delete from receivable_audit_log where id in
#{id}