select id, template_id, param_key, data_type, default_value, description, template_type from templateparameterdef
insert into templateparameterdef
template_id,param_key,data_type,default_value,description,template_type,#{templateId},#{paramKey},#{dataType},#{defaultValue},#{description},#{templateType},
update templateparameterdef
template_id = #{templateId},param_key = #{paramKey},data_type = #{dataType},default_value = #{defaultValue},description = #{description},template_type = #{templateType},
where id = #{id}
delete from templateparameterdef where id = #{id}
delete from templateparameterdef where id in
#{id}