select id, patient_id, patient_name, task_partition_dict_id, task_partition_dict_name, task_type_id, task_type_name, route_id, route_name, route_node_id, route_node_name, sn, param_name, param_key, param_value, create_time, update_by, update_time, create_by from patient_node_params_current insert into patient_node_params_current patient_id, patient_name, task_partition_dict_id, task_partition_dict_name, task_type_id, task_type_name, route_id, route_name, route_node_id, route_node_name, sn, param_name, param_key, param_value, create_time, update_by, update_time, create_by, #{patientId}, #{patientName}, #{taskPartitionDictId}, #{taskPartitionDictName}, #{taskTypeId}, #{taskTypeName}, #{routeId}, #{routeName}, #{routeNodeId}, #{routeNodeName}, #{sn}, #{paramName}, #{paramKey}, #{paramValue}, #{createTime}, #{updateBy}, #{updateTime}, #{createBy}, update patient_node_params_current patient_id = #{patientId}, patient_name = #{patientName}, task_partition_dict_id = #{taskPartitionDictId}, task_partition_dict_name = #{taskPartitionDictName}, task_type_id = #{taskTypeId}, task_type_name = #{taskTypeName}, route_id = #{routeId}, route_name = #{routeName}, route_node_id = #{routeNodeId}, route_node_name = #{routeNodeName}, sn = #{sn}, param_name = #{paramName}, param_key = #{paramKey}, param_value = #{paramValue}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, create_by = #{createBy}, where id = #{id} delete from patient_node_params_current where id = #{id} delete from patient_node_params_current where id in #{id}