update quality_test_standard_param set active=true where id=#{id} delete from quality_test_standard_param where test_standard_id in #{id}