remove demand document auto creation
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
jianxin committed 2026-06-04 15:38:04 +08:00
1 parent e8318db7c5
commit 306eb905d0
2 files changed
+2 -49

No files matched your search

+2 -7
View File
@@ -98,9 +98,8 @@ def do_bitable_record_add(data) -> None:
if not actions:
return data
# 根据不同 "record_edited", "record_added" 的动作执行不同的任务
# 1. 如果包含 record_added 则创建需求文档
# 2. 如果包含 record_edited 并且判断 status 是否为已处理, 如果已处理则通过任务创建应用, 并在分类管理中添加一条记录, 在开发管理添加一条记录
# 如果包含 record_edited 并且判断 status 是否为已处理, 则通过任务创建应用,
# 并在分类管理中添加一条记录, 在开发管理添加一条记录
target_action = actions[0]
record_id = target_action.get("record_id")
@@ -146,10 +145,6 @@ def do_bitable_record_add(data) -> None:
table_id = "tblESHsFZwtiFROB"
if "record_added" in actions_name:
process_new_demand.delay(app_id, app_secret, table_id, record_id, action_data)
return
if "record_edited" in actions_name and action_data["status"] == "optgKzdQp5":
# 映射对应的用户 id
user_name_id_map = {