From 76b0f2ae21e00b2351d422fcfaa6174a57be1261 Mon Sep 17 00:00:00 2001 From: lz8878 Date: Mon, 23 Oct 2023 11:00:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Healthbeat.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Healthbeat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Healthbeat.py b/Healthbeat.py index 68561c3..0c9c5ea 100644 --- a/Healthbeat.py +++ b/Healthbeat.py @@ -57,7 +57,7 @@ if __name__ == '__main__': with conn: with conn.cursor() as cursor: - cursor.execute("SELECT id, status, extends FROM devices WHERE type = 1 AND status in (1, 2) ORDER BY id ASC") + cursor.execute("SELECT id, status, extends FROM devices WHERE type = 1 AND status in (1, 2) AND supplier_key not in ('device-supplier-biang', 'device-supplier-yunfei') ORDER BY id ASC") rows = cursor.fetchall() for row in rows: