feat: pipeline_human_tasks 加 project_id/iteration_id/bug_id/qc_status/qc_comment 字段(SDLC项目级人类任务)

This commit is contained in:
ymq 2026-08-24 12:09:29 +08:00
parent 434ab76d88
commit c49bb1c756

View File

@ -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'"},