wf报错优化
This commit is contained in:
parent
f34b40ed3c
commit
90f79a7c99
|
@ -204,7 +204,7 @@ class WfService(object):
|
|||
# user_queryset = user_queryset.filter(depts__in=depts)
|
||||
destination_participant = list(user_queryset.values_list('id', flat=True))
|
||||
if destination_participant_type != 0 and (not destination_participant):
|
||||
raise ParseError('未找到处理人,工单无法继续')
|
||||
raise ParseError('下一步未找到处理人,工单无法继续')
|
||||
if type(destination_participant) == list:
|
||||
destination_participant_type = State.PARTICIPANT_TYPE_MULTI
|
||||
destination_participant = list(set(destination_participant))
|
||||
|
|
Loading…
Reference in New Issue