select customer_priceset_id, price_set_id, customer_id, customer_code, customer_name, bind_priority, pr_begindate, pr_enddate, price_set_note, created_by, create_time, updated_by, update_time from prc_customer_price_set insert into prc_customer_price_set ( price_set_id, customer_id, customer_code, customer_name, bind_priority, pr_begindate, pr_enddate, price_set_note, created_by, create_time ) values ( #{priceSetId}, #{customerId}, #{customerCode}, #{customerName}, #{bindPriority}, #{prBegindate}, #{prEnddate}, #{priceSetNote}, #{createBy}, sysdate() ) update prc_customer_price_set price_set_id = #{priceSetId}, customer_id = #{customerId}, customer_code = #{customerCode}, customer_name = #{customerName}, bind_priority = #{bindPriority}, pr_begindate = #{prBegindate}, pr_enddate = #{prEnddate}, price_set_note = #{priceSetNote}, updated_by = #{updateBy}, update_time = sysdate() where customer_priceset_id = #{customerPricesetId} delete from prc_customer_price_set where customer_priceset_id in #{id} delete from prc_customer_price_set where price_set_id = #{priceSetId}