From cf68e6104bbff465f421d0108bbb8790a7d0f994 Mon Sep 17 00:00:00 2001 From: chengkai3 Date: Sat, 27 Jun 2026 22:15:42 +0800 Subject: [PATCH] =?UTF-8?q?[fix]:[FL-197][=E4=BF=AE=E5=A4=8D=20import-batc?= =?UTF-8?q?hes=20=E6=8E=A5=E5=8F=A3=E6=97=A0=E6=95=B0=E6=8D=AE=E6=97=B6?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=20404=20=E7=9A=84=E9=97=AE=E9=A2=98]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 Co-authored-by: multica-agent --- api/app/services/lightning_service.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api/app/services/lightning_service.py b/api/app/services/lightning_service.py index 81c4a85..56fad28 100644 --- a/api/app/services/lightning_service.py +++ b/api/app/services/lightning_service.py @@ -2582,6 +2582,7 @@ def list_lightning_import_batches( # 获取总数 total_query = ( select(func.count(func.distinct(batch_key))) + .select_from(LightningCurrentEvent) .where(*filters) ) total = db.execute(total_query).scalar() or 0