select id, name, type, code_path, description, algo_config from algorithm
insert into algorithm
name,type,code_path,description,algo_config,#{name},#{type},#{codePath},#{description},#{algoConfig},
update algorithm
name = #{name},type = #{type},code_path = #{codePath},description = #{description},algo_config = #{algoConfig},
where id = #{id}
delete from algorithm where id = #{id}
delete from algorithm where id in
#{id}
delete from algorithm_param where algorithm_id in
#{algorithmId}
delete from algorithm_param where algorithm_id = #{algorithmId}
insert into algorithm_param( id, algorithm_id, param_name, default_value, description) values
( #{item.id}, #{item.algorithmId}, #{item.paramName}, #{item.defaultValue}, #{item.description})