select id, invoice_plan_id, receivable_bill_id, invoice_time, invoice_amount, invoice_amount_without_tax, invoice_amount_tax, invoice_rate, invoice_bill_code, remark, receivable_detail_type, create_time, create_by, update_time, update_by from oms_receivable_invoice_detail insert into oms_receivable_invoice_detail invoice_plan_id, receivable_bill_id, invoice_time, invoice_amount, invoice_amount_without_tax, invoice_amount_tax, invoice_rate, invoice_bill_code, receivable_detail_type, remark, create_time, create_by, update_time, update_by, #{invoicePlanId}, #{receivableBillId}, #{invoiceTime}, #{invoiceAmount}, #{invoiceAmountWithoutTax}, #{invoiceAmountTax}, #{invoiceRate}, #{invoiceBillCode}, #{receivableDetailType}, #{remark}, #{createTime}, #{createBy}, #{updateTime}, #{updateBy}, update oms_receivable_invoice_detail invoice_plan_id = #{invoicePlanId}, receivable_bill_id = #{receivableBillId}, invoice_time = #{invoiceTime}, invoice_amount = #{invoiceAmount}, invoice_amount_without_tax = #{invoiceAmountWithoutTax}, invoice_amount_tax = #{invoiceAmountTax}, invoice_rate = #{invoiceRate}, invoice_bill_code = #{invoiceBillCode}, receivable_detail_type = #{receivableDetailType}, remark = #{remark}, update_time = #{updateTime}, update_by = #{updateBy}, where id = #{id} delete from oms_receivable_invoice_detail where id = #{id} delete from oms_receivable_invoice_detail where id in #{id}