select id, name, pid, guid, del_flag, create_by, create_time, update_by, update_time, orgid, seqno from svy_lib_template_category insert into svy_lib_template_category name, pid, guid, del_flag, create_by, create_time, update_by, update_time, orgid, seqno, #{name}, #{pid}, #{guid}, #{delFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{orgid}, #{seqno}, update svy_lib_template_category name = #{name}, pid = #{pid}, guid = #{guid}, del_flag = #{delFlag}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, orgid = #{orgid}, seqno = #{seqno}, where id = #{id} update svy_lib_template_category del_flag = 1 where id = #{id} delete from svy_lib_template_category where id in #{id}