insert into state(state_id, state_name, expectation_id, is_satisfied, condition) values (#{item.stateId}, #{item.stateName}, #{item.expectationId}, #{item.isSatisfied}, #{item.condition}) delete from state where expectation_id = #{expectationId}