select io.id, io.algorithm_sub_id, io.`type`, io.`name`, io.`index`, io.create_by, io.create_time, io.update_by, io.update_time, io.remark, sub.name as sub_name from t_algorithm_io_field as io left join t_algorithm_sub_type as sub on io.algorithm_sub_id = sub.id
insert into t_algorithm_io_field
algorithm_sub_id,`type`,`name`,`index`,create_by,create_time,update_by,update_time,remark,#{algorithmSubId},#{type},#{name},#{index},#{createBy},#{createTime},#{updateBy},#{updateTime},#{remark},
update t_algorithm_io_field
algorithm_sub_id = #{algorithmSubId},`type` = #{type},`name` = #{name},`index` = #{index},create_by = #{createBy},create_time = #{createTime},update_by = #{updateBy},update_time = #{updateTime},remark = #{remark},
where id = #{id}
delete from t_algorithm_io_field where id = #{id}
delete from t_algorithm_io_field where id in
#{id}