feat: base handle_ticket 完善transition校验2

This commit is contained in:
caoqianming 2025-11-11 15:44:31 +08:00
parent 5109d6aa22
commit 164ab72d26
1 changed files with 2 additions and 1 deletions

View File

@ -307,7 +307,8 @@ class WfService(object):
if workflow and transition.workflow.id != workflow.id:
raise ParseError("当前流转不属于该工作流")
workflow = transition.workflow
if not workflow:
raise ParseError("未找到工作流")
start_state = WfService.get_workflow_start_state(workflow)
save_ticket_data = {}
if transition and transition.field_require_check: