Skip to content

Commit

Permalink
bugfix:handle permission checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
blackholll committed Aug 26, 2018
1 parent 676903b commit 35f7a24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/ticket/ticket_base_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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不存在或已被删除'
Expand Down

0 comments on commit 35f7a24

Please sign in to comment.