select id, dict_text, dict_value, pid, dept_id, dict_sort, status, remark, update_by, update_time, create_by, create_time from sys_tree_dict
insert into sys_tree_dict
dict_text,
dict_value,
pid,
dept_id,
dict_sort,
status,
remark,
update_by,
update_time,
create_by,
create_time,
#{dictText},
#{dictValue},
#{pid},
#{deptId},
#{dictSort},
#{status},
#{remark},
#{updateBy},
#{updateTime},
#{createBy},
#{createTime},
update sys_tree_dict
dict_text = #{dictText},
dict_value = #{dictValue},
pid = #{pid},
dept_id = #{deptId},
dict_sort = #{dictSort},
status = #{status},
remark = #{remark},
update_by = #{updateBy},
update_time = #{updateTime},
create_by = #{createBy},
create_time = #{createTime},
where id = #{id}
delete from sys_tree_dict where id = #{id}
delete from sys_tree_dict where id in
#{id}