From 09af403809dc179b786260a270b9af0f5ae670e6 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 16 Sep 2026 12:05:23 +0800 Subject: [PATCH] =?UTF-8?q?fix(bid=5Fflow):=20C1=E6=AE=B5=E5=8A=A8?= =?UTF-8?q?=E6=80=81IN=E5=8D=A0=E4=BD=8D=E7=AC=A6=E5=8E=BB=E6=89=8B?= =?UTF-8?q?=E5=B7=A5=E5=BC=95=E5=8F=B7=E2=80=94=E2=80=94sqlor=20${X}$?= =?UTF-8?q?=E6=9B=BF=E6=8D=A2=E4=B8=BA%s=E5=8F=82=E6=95=B0=E5=8C=96(?= =?UTF-8?q?=E5=80=BC=E8=B5=B0=E5=8F=82=E6=95=B0=E7=BB=91=E5=AE=9A),?= =?UTF-8?q?=E6=89=8B=E5=B7=A5=E5=8C=85=E5=8D=95=E5=BC=95=E5=8F=B7=E5=8F=98?= =?UTF-8?q?''value''=E8=87=B41064(2026-09-16=E5=AE=9E=E6=B5=8B:=E9=87=8D?= =?UTF-8?q?=E5=90=AF=E5=90=8E=E5=AF=B9=E8=B4=A6=E5=99=A8C1=E5=B4=A9?= =?UTF-8?q?=E6=BA=83,=E4=B8=8Eticket=E6=A8=A1=E5=9D=97sqlor=E8=A3=B8?= =?UTF-8?q?=E5=8D=A0=E4=BD=8D=E7=AC=A6=E9=93=81=E5=BE=8B=E5=90=8C=E6=AC=BE?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pipeline_bidding/bid_flow.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pipeline_bidding/bid_flow.py b/pipeline_bidding/bid_flow.py index 2e991f6..2a49ba7 100644 --- a/pipeline_bidding/bid_flow.py +++ b/pipeline_bidding/bid_flow.py @@ -1119,7 +1119,9 @@ async def reconcile_project(sor, project_id, project_name=""): continue _titles = ("章节反复不达标需人工介入:%s %s" % (c.get("chapter_no"), c.get("title")), "章节实体材料缺口(信息流):%s %s" % (c.get("chapter_no"), c.get("title"))) - _in = ",".join("'${t%d}$'" % i for i in range(len(_titles))) + # ⚠ sqlor 的 ${key}$ 替换自带引号——动态 IN 列表占位符必须裸写, + # 手工包单引号会变成 ''value'' 1064(2026-09-16 实测触雷) + _in = ",".join("${t%d}$" % i for i in range(len(_titles))) _p = {"pid": project_id} for i, t in enumerate(_titles): _p["t%d" % i] = t[:480]