select count(inter_item_check_id) as maps from as_param_map where parameter_id=:parameter_id delete from as_action_params where parameter_id =:parameter_id select count(inter_item_check_id) as maps from as_action_map where action_id=:action_id delete from as_action_params where action_id =:action_id