select id, effective_date, time_period, price from time_period_price
insert into time_period_price
id,effective_date,time_period,price,#{id},#{effectiveDate},#{timePeriod},#{price},
update time_period_price
effective_date = #{effectiveDate},time_period = #{timePeriod},price = #{price},
where id = #{id}
delete from time_period_price where id = #{id}
delete from time_period_price where id in
#{id}