select id, apply_seq_no, pay_id, bill_no, money, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_settle_invoice_rel insert into emis_settle_invoice_rel apply_seq_no, pay_id, bill_no, money, del_flag, create_by, create_time, update_by, update_time, create_site, update_site, #{applySeqNo}, #{payId}, #{billNo}, #{money}, #{delFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{createSite}, #{updateSite}, update emis_settle_invoice_rel apply_seq_no = #{applySeqNo}, pay_id = #{payId}, bill_no = #{billNo}, money = #{money}, del_flag = #{delFlag}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, create_site = #{createSite}, update_site = #{updateSite}, where id = #{id} delete from emis_settle_invoice_rel where id = #{id} delete from emis_settle_invoice_rel where id in #{id}