INSERT INTO hf_merchant_config
(id_,app_id_,mer_key_,api_key_,mock_api_key_,rsa_private_key_,rsa_public_key_,expend_params_,wx_app_id_,wx_app_secret_,create_time_,update_time_,tenant_id_,platform_payee_member_id_)
VALUES(#{id},#{appId},#{merKey},#{apiKey},#{mockApiKey},#{rsaPrivateKey},#{rsaPublicKey},#{expendParams},#{wxAppId},#{wxAppSecret},#{createTime},#{updateTime},#{tenantId},#{platformPayeeMemberId})
UPDATE hf_merchant_config
api_key_ = #{apiKey},
app_id_ = #{appId},
rsa_public_key_ = #{rsaPublicKey},
mock_api_key_ = #{mockApiKey},
expend_params_ = #{expendParams},
id_ = #{id},
tenant_id_ = #{tenantId},
update_time_ = #{updateTime},
mer_key_ = #{merKey},
rsa_private_key_ = #{rsaPrivateKey},
platform_payee_member_id_ = #{platformPayeeMemberId},
create_time_ = #{createTime},
wx_app_id_ = #{wxAppId},
wx_app_secret_ = #{wxAppSecret},
WHERE id_ = #{id}
DELETE FROM hf_merchant_config WHERE id_ = #{id}
AND tenant_id_ = #{tenantId}