feat: base handle_ticket 完善transition校验2
This commit is contained in:
parent
5109d6aa22
commit
164ab72d26
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue