insert into payment_key(
name,key_id,remark,column_key,payment_type
) values (
#{name},#{keyId},#{remark},#{columnKey},#{paymentType}
)
update payment_key t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.name= #{name}
, t.remark= #{remark}
, t.column_key= #{columnKey}
where 1=1
and t.key_id= #{keyId}
and t.payment_type= #{paymentType}