select config_id,
config_name,
config_key,
config_value,
config_type,
create_by,
create_time,
update_by,
update_time,
remark
from sys_config
and config_id = #{configId}
and config_key = #{configKey}
insert into sys_config (
config_name,
config_key,
config_value,
config_type,
create_by,
remark,
create_time
)values(
#{configName},
#{configKey},
#{configValue},
#{configType},
#{createBy},
#{remark},
sysdate()
)
update sys_config
config_name = #{configName},
config_key = #{configKey},
config_value = #{configValue},
config_type = #{configType},
update_by = #{updateBy},
remark = #{remark},
update_time = sysdate()
where config_id = #{configId}
delete
from sys_config
where config_id = #{configId}
delete from sys_config where config_id in
#{configId}