Skip to content

Commit

Permalink
修改当前节点获取审批用户列表逻辑
Browse files Browse the repository at this point in the history
  • Loading branch information
nieen authored Oct 10, 2024
1 parent 073560e commit bb4c832
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sql/utils/workflow_audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,8 @@ def get_review_info(self) -> ReviewInfo:
)
continue
group_in_db = Group.objects.get(id=g)
current_audit_users = auth_group_users([group_in_db.name], self.resource_group_id)
group_in_db.user_set.set(current_audit_users)
if self.audit.current_status != WorkflowStatus.WAITING:
# 总体状态不是待审核, 不设置详细的属性
review_nodes.append(
Expand Down

0 comments on commit bb4c832

Please sign in to comment.