diff --git a/service/ticket/ticket_base_service.py b/service/ticket/ticket_base_service.py index 0d68da8d..f1f7b3f7 100644 --- a/service/ticket/ticket_base_service.py +++ b/service/ticket/ticket_base_service.py @@ -719,7 +719,7 @@ def ticket_handle_permission_check(cls, ticket_id, username): ticket_state_id = ticket_obj.state_id transition_queryset, msg = WorkflowTransitionService.get_state_transition_queryset(ticket_state_id) if not transition_queryset: - return False, '工单当前状态无需操作' + return None, '工单当前状态无需操作' state_obj, msg = WorkflowStateService.get_workflow_state_by_id(ticket_state_id) if not state_obj: return False, '工单当前状态id不存在或已被删除'