select id, name, type, code_path, description, algo_config, algo_config_list from algorithm insert into algorithm name, type, code_path, description, algo_config, algo_config_list, #{name}, #{type}, #{codePath}, #{description}, #{algoConfig}, #{algoConfigList,typeHandler=com.solution.algo.AlgorithmConfigTypeHandler}, update algorithm name = #{name}, type = #{type}, code_path = #{codePath}, description = #{description}, algo_config = #{algoConfig}, algo_config_list = #{algoConfigList,typeHandler=com.solution.algo.AlgorithmConfigTypeHandler}, 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})