select
t.id,
t.dict_type,
t.dict_label,
t.dict_value,
t.dict_sort,
t.create_time,
t.update_time
from sys_dict_data t
insert into sys_dict_data(
dict_type,
dict_label,
dict_value,
dict_sort
) values
(
#{item.dictType},
#{item.dictLabel},
#{item.dictValue},
#{item.dictSort}
)
update sys_dict_data
dict_type = #{dictType},
dict_label = #{dictLabel},
dict_value = #{dictValue},
dict_sort = #{dictSort},
where id = #{id}
update sys_dict_data
dict_type = #{dictType},
dict_label = #{dictLabel},
dict_value = #{dictValue},
dict_sort = #{dictSort},
where id = #{id}
delete from sys_dict_data where id in
#{item}
delete from sys_dict_data where dict_type in
#{item}