update basic_param_join_template
set sort = #{ew.sort}
where technology_operation_param_id = #{ew.technologyOperationParamId}
and technology_operation_template_id = #{ew.technologyOperationTemplateId}
update basic_param_join_template
set default_value = #{defaultValue}
where technology_operation_param_id = #{technologyOperationParamId}
and technology_operation_template_id = #{technologyOperationTemplateId}
DELETE
FROM basic_param_join_template
WHERE technology_operation_param_id = #{paramId}
and technology_operation_template_id = #{templateId}