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