From ac1b029e249bdb17829b31f86d2ab326d20c7eed Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 16 Sep 2026 17:29:25 +0800 Subject: [PATCH] =?UTF-8?q?fix(review):=20pipeline=5Fhuman=5Ftasks?= =?UTF-8?q?=E6=97=A0updated=5Fat=E5=88=97,=E5=8F=96=E6=B6=88=E5=BE=85?= =?UTF-8?q?=E5=8A=9ESQL=E4=BF=AE=E6=AD=A3(=E5=AE=9E=E6=B5=8Bschema)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pipeline_bidding/bid_review_capability.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pipeline_bidding/bid_review_capability.py b/pipeline_bidding/bid_review_capability.py index 07e4cfe..20d30e8 100644 --- a/pipeline_bidding/bid_review_capability.py +++ b/pipeline_bidding/bid_review_capability.py @@ -175,8 +175,9 @@ async def review_chapter(chapter_id, score, max_score="", comments="", detail="" "WHERE project_id=${pid}$ AND status IN ('draft','reviewing','passed')", {"pid": pid}) # 交付确认待办同步取消(指向旧版标书,留着=僵尸待办误导用户确认旧版) + # 注:pipeline_human_tasks 无 updated_at 列(2026-09-16 实测 schema) await sor.sqlExe( - "UPDATE pipeline_human_tasks SET status='cancelled', updated_at=NOW() " + "UPDATE pipeline_human_tasks SET status='cancelled' " "WHERE project_id=${pid}$ AND task_type=${tt}$ AND status='pending'", {"pid": pid, "tt": "bid_delivery_confirm"}) await sor.sqlExe("COMMIT", {})