select dict_id, dict_name, dict_type, status, create_by, create_time, remark
from sys_dict_type
delete from sys_dict_type where dict_id = #{dictId}
delete from sys_dict_type where dict_id in
#{dictId}
update sys_dict_type
dict_name = #{dictName},
dict_type = #{dictType},
status = #{status},
remark = #{remark},
update_by = #{updateBy},
update_time = getdate()
where dict_id = #{dictId}
insert into sys_dict_type(
dict_name,
dict_type,
status,
remark,
create_by,
create_time
)values(
#{dictName},
#{dictType},
#{status},
#{remark},
#{createBy},
getdate()
)