From 5d8978b78d87c42839df39a794bccb1452412881 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sat, 29 Aug 2026 08:38:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20resolve=5Fapproval=E6=BC=8F=E6=9F=A5proj?= =?UTF-8?q?ect=5Fid=E5=88=97=E2=86=92=E4=BA=BA=E5=B7=A5=E5=AE=A1=E6=89=B9?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E6=B0=B8=E8=BF=9Cpending(=E9=98=BB=E5=A1=9E?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E6=B3=84=E6=BC=8F)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pipeline_opportunity/opp_report_capability.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipeline_opportunity/opp_report_capability.py b/pipeline_opportunity/opp_report_capability.py index edcfb53..06b7932 100644 --- a/pipeline_opportunity/opp_report_capability.py +++ b/pipeline_opportunity/opp_report_capability.py @@ -208,7 +208,7 @@ async def resolve_approval(approval_id, result, operator=""): db, dbname = get_db() async with db.sqlorContext(dbname) as sor: recs = await sor.sqlExe( - "SELECT id, report_id, status FROM opp_approvals WHERE id=${i}$", + "SELECT id, report_id, project_id, status FROM opp_approvals WHERE id=${i}$", {"i": approval_id}) await sor.sqlExe("COMMIT", {}) if not recs: