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