UPDATE ma_machine SET qr_code = #{qrCode} WHERE ma_code = #{maCode} and type_id = #{typeId}