id_, sys_config_id_, tenant_id_, param_value_, create_time_, update_time_
DELETE FROM sys_tenant_config
WHERE id_ = #{id,jdbcType=INTEGER}
DELETE FROM sys_tenant_config WHERE tenant_id_ = #{tenantId}
AND sys_config_id_ IN
#{configId}
insert into sys_tenant_config (sys_config_id_, tenant_id_, param_value_,
create_time_, update_time_)
values (#{sysConfigId,jdbcType=INTEGER}, #{tenantId,jdbcType=INTEGER}, #{paramValue,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
INSERT INTO sys_tenant_config (sys_config_id_, tenant_id_, param_value_,create_time_, update_time_)
VALUES
(#{item.id}, #{tenantId}, #{item.paranValue},NOW(),NOW())
update sys_tenant_config
sys_config_id_ = #{sysConfigId,jdbcType=INTEGER},
tenant_id_ = #{tenantId,jdbcType=INTEGER},
param_value_ = #{paramValue,jdbcType=VARCHAR},
create_time_ = #{createTime,jdbcType=TIMESTAMP},
update_time_ = #{updateTime,jdbcType=TIMESTAMP},
where id_ = #{id,jdbcType=INTEGER}