bind_rpj bug
This commit is contained in:
parent
711368bd9b
commit
838bbc4014
|
@ -197,9 +197,7 @@ class WfService(object):
|
||||||
depts = get_parent_queryset(handler.belong_dept)
|
depts = get_parent_queryset(handler.belong_dept)
|
||||||
user_queryset = user_queryset.filter(depts__in=depts)
|
user_queryset = user_queryset.filter(depts__in=depts)
|
||||||
destination_participant = list(user_queryset.values_list('id', flat=True))
|
destination_participant = list(user_queryset.values_list('id', flat=True))
|
||||||
if destination_participant:
|
if destination_participant_type != 0 and (not destination_participant):
|
||||||
pass
|
|
||||||
else:
|
|
||||||
raise ParseError('未找到处理人,工单无法继续')
|
raise ParseError('未找到处理人,工单无法继续')
|
||||||
if type(destination_participant) == list:
|
if type(destination_participant) == list:
|
||||||
destination_participant_type = State.PARTICIPANT_TYPE_MULTI
|
destination_participant_type = State.PARTICIPANT_TYPE_MULTI
|
||||||
|
|
Loading…
Reference in New Issue