select id, com_id, project_id, tem_name, tem_type, tem_path, is_del, create_by, create_time, update_by, update_time, remark from bas_template insert into bas_template com_id, project_id, tem_name, tem_type, tem_path, is_del, create_by, create_time, update_by, update_time, remark, #{comId}, #{projectId}, #{temName}, #{temType}, #{temPath}, #{isDel}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark}, update bas_template com_id = #{comId}, project_id = #{projectId}, tem_name = #{temName}, tem_type = #{temType}, tem_path = #{temPath}, is_del = #{isDel}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, remark = #{remark}, where id = #{id} delete from bas_template where id = #{id} delete from bas_template where id in #{id}