delete from CU_MEMBER_BONUS_DELAY where PK_BONUS in ( select pk_id from cu_member_bonus where period = #{period} and grant_status <= 2) insert ALL into cu_member_bonus_delay ( pk_member, period, pk_country, pk_creator, before_grant_income, grant_income, after_grant_income, pk_bonus ) values ( #{item.pkMember}, #{item.period}, #{item.pkCountry}, #{item.pkCreator}, #{item.beforeGrantIncome}, #{item.grantIncome}, #{item.afterGrantIncome}, #{item.pkBonus} ) SELECT 1 FROM dual