select config_id, config_name, config_name_i18n, 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_name_i18n, config_key, config_value, config_type, create_by, remark, create_time )values( #{configName}, #{configNameI18n}, #{configKey}, #{configValue}, #{configType}, #{createBy}, #{remark}, now() ) update sys_config config_name = #{configName}, config_name_i18n = #{configNameI18n}, config_key = #{configKey}, config_value = #{configValue}, config_type = #{configType}, update_by = #{updateBy}, remark = #{remark}, update_time = now() where config_id = #{configId} delete from sys_config where config_id = #{configId} delete from sys_config where config_id in #{configId}