select customer_priceset_id, price_set_id, customer_id, customer_name, bind_priority, pr_begindate, pr_enddate, price_set_note, created_by, created_at, updated_by, updated_at from prc_customer_price_set insert into prc_customer_price_set ( price_set_id, customer_id, customer_name, bind_priority, pr_begindate, pr_enddate, price_set_note, created_by, created_at ) values ( #{priceSetId}, #{customerId}, #{customerName}, #{bindPriority}, #{prBegindate}, #{prEnddate}, #{priceSetNote}, #{createBy}, sysdate() ) update prc_customer_price_set customer_id = #{customerId}, customer_name = #{customerName}, bind_priority = #{bindPriority}, pr_begindate = #{prBegindate}, pr_enddate = #{prEnddate}, price_set_note = #{priceSetNote}, updated_by = #{updateBy}, updated_at = 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}