From c49bb1c7569fec5b3d23af0f8bf2a97977e4d701 Mon Sep 17 00:00:00 2001 From: ymq Date: Mon, 24 Aug 2026 12:09:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20pipeline=5Fhuman=5Ftasks=20=E5=8A=A0=20?= =?UTF-8?q?project=5Fid/iteration=5Fid/bug=5Fid/qc=5Fstatus/qc=5Fcomment?= =?UTF-8?q?=20=E5=AD=97=E6=AE=B5(SDLC=E9=A1=B9=E7=9B=AE=E7=BA=A7=E4=BA=BA?= =?UTF-8?q?=E7=B1=BB=E4=BB=BB=E5=8A=A1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/pipeline_human_tasks.json | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/models/pipeline_human_tasks.json b/models/pipeline_human_tasks.json index 60a39a6..3822a38 100644 --- a/models/pipeline_human_tasks.json +++ b/models/pipeline_human_tasks.json @@ -22,14 +22,21 @@ {"name": "submitted_at", "title": "提交时间", "type": "timestamp"}, {"name": "comments", "title": "备注", "type": "text"}, {"name": "created_at", "title": "创建时间", "type": "timestamp", "nullable": "no"}, - {"name": "expired_at", "title": "过期时间", "type": "timestamp"} + {"name": "expired_at", "title": "过期时间", "type": "timestamp"}, + {"name": "project_id", "title": "项目ID", "type": "str", "length": 32}, + {"name": "iteration_id", "title": "迭代ID", "type": "str", "length": 32}, + {"name": "bug_id", "title": "关联BugID", "type": "str", "length": 32}, + {"name": "qc_status", "title": "QC状态", "type": "str", "length": 20, "default": "pending"}, + {"name": "qc_comment", "title": "QC意见", "type": "str", "length": 500} ], "indexes": [ {"name": "idx_pht_task", "idxtype": "index", "idxfields": ["task_id"]}, {"name": "idx_pht_step", "idxtype": "index", "idxfields": ["task_id", "step_name"]}, {"name": "idx_pht_role", "idxtype": "index", "idxfields": ["assignee_role"]}, {"name": "idx_pht_assignee", "idxtype": "index", "idxfields": ["assignee_id"]}, - {"name": "idx_pht_status", "idxtype": "index", "idxfields": ["status"]} + {"name": "idx_pht_status", "idxtype": "index", "idxfields": ["status"]}, + {"name": "idx_pht_project", "idxtype": "index", "idxfields": ["project_id"]}, + {"name": "idx_pht_iteration", "idxtype": "index", "idxfields": ["iteration_id"]} ], "codes": [ {"field": "task_type", "table": "appcodes_kv", "valuefield": "k", "textfield": "v", "cond": "parentid='human_task_type'"},