insert into sms_config(
access_key_id,sms_busi,sign_name,template_code,store_id,access_secret,sms_id,obj_id,sms_type,log_switch,region,remarks
) values (
#{accessKeyId},#{smsBusi},#{signName},#{templateCode},#{storeId},#{accessSecret},#{smsId},#{objId},#{smsType},#{logSwitch},#{region},#{remarks}
)
update sms_config t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.access_key_id= #{accessKeyId}
, t.sms_busi= #{smsBusi}
, t.sign_name= #{signName}
, t.template_code= #{templateCode}
, t.store_id= #{storeId}
, t.access_secret= #{accessSecret}
, t.obj_id= #{objId}
, t.sms_type= #{smsType}
, t.log_switch= #{logSwitch}
, t.region= #{region}
, t.remarks= #{remarks}
where 1=1
and t.sms_id= #{smsId}