Skip to content

Commit

Permalink
bugfix: participant type for ticket multi field is not work
Browse files Browse the repository at this point in the history
  • Loading branch information
blackholll committed Jun 6, 2020
1 parent 713c226 commit e71725a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service/ticket/ticket_base_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -1953,9 +1953,9 @@ def get_ticket_state_participant_info(cls, state_id: int, ticket_id: int=0, tick
destination_participant_list = []
for participant0 in participant_list:

if participant in update_field_list and ticket_req_dict.get(participant):
if participant0 in update_field_list and ticket_req_dict.get(participant0):
# 请求数据中包含需要的字段则从请求数据中获取
destination_participant_list.append(ticket_req_dict.get(participant))
destination_participant_list.append(ticket_req_dict.get(participant0))
else:
# 处理工单时未提供字段的值,则从工单当前字段值中获取
destination_participant_list.append(ticket_value_info.get(participant0))
Expand Down

0 comments on commit e71725a

Please sign in to comment.