select id, tenant_id, tenant_name, config_key, access_key, secret_key, bucket_name, prefix, endpoint, domain, is_https, region, access_policy, status, ext1, del_flag, create_by, create_time, update_by, update_time, remark from oss_config
insert into oss_config
tenant_id,
tenant_name,
config_key,
access_key,
secret_key,
bucket_name,
prefix,
endpoint,
domain,
is_https,
region,
access_policy,
status,
ext1,
del_flag,
create_by,
create_time,
update_by,
update_time,
remark,
#{tenantId},
#{tenantName},
#{configKey},
#{accessKey},
#{secretKey},
#{bucketName},
#{prefix},
#{endpoint},
#{domain},
#{isHttps},
#{region},
#{accessPolicy},
#{status},
#{ext1},
#{delFlag},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{remark},
update oss_config
tenant_id = #{tenantId},
tenant_name = #{tenantName},
config_key = #{configKey},
access_key = #{accessKey},
secret_key = #{secretKey},
bucket_name = #{bucketName},
prefix = #{prefix},
endpoint = #{endpoint},
domain = #{domain},
is_https = #{isHttps},
region = #{region},
access_policy = #{accessPolicy},
status = #{status},
ext1 = #{ext1},
del_flag = #{delFlag},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
where id = #{id}
delete from oss_config where id = #{id}
delete from oss_config where id in
#{id}
update oss_config set status = 1
where status = 0