select id, name, parent_id, ancestors, type, remark, create_by, create_time, update_by, update_time from sys_space insert into sys_space id, name, parent_id, ancestors, type, remark, create_by, create_time, update_by, update_time, #{id}, #{name}, #{parentId}, #{ancestors}, #{type}, #{remark}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, update sys_space name = #{name}, parent_id = #{parentId}, ancestors = #{ancestors}, type = #{type}, remark = #{remark}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, where id = #{id} delete from sys_space where id = #{id} delete from sys_space where id in #{id}