insert into register_protocol( merchant_protocol,user_protocol,protolcol_id ) values ( #{merchantProtocol},#{userProtocol},#{protolcolId} ) update register_protocol t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.merchant_protocol= #{merchantProtocol} , t.user_protocol= #{userProtocol} where 1=1 and t.protolcol_id= #{protolcolId}