Skip to content

Commit

Permalink
bugfix: get_next_state_id_by_transition_and_ticket_info
Browse files Browse the repository at this point in the history
  • Loading branch information
blackholll committed Mar 18, 2019
1 parent 4cac8b7 commit c142c80
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions service/ticket/ticket_base_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -1662,8 +1662,10 @@ def get_next_state_id_by_transition_and_ticket_info(cls, ticket_id=0, ticket_req
if condition_expression and json.loads(condition_expression):
# 存在条件表达式,需要根据表达式计算下个状态
condition_expression_list = json.loads(condition_expression)
# 获取工单所有字段的值
ticket_all_value_dict, msg = cls.get_ticket_all_field_value(ticket_id)
ticket_all_value_dict = {}
if ticket_id:
# 获取工单所有字段的值
ticket_all_value_dict, msg = cls.get_ticket_all_field_value(ticket_id)
# 更新当前更新的字段的值
ticket_all_value_dict.update(ticket_req_dict)

Expand Down

0 comments on commit c142c80

Please sign in to comment.