Skip to content

Commit

Permalink
bugfix: ticket record have not update act_state_id after be retreated
Browse files Browse the repository at this point in the history
  • Loading branch information
blackholll committed Aug 9, 2020
1 parent 45d434b commit 8f8d401
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/ticket/ticket_base_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -2411,6 +2411,7 @@ def retreat_ticket(cls, ticket_id: int, username: str='', suggestion: str='')->t
ticket_result.state_id = result.id
ticket_result.participant_type_id = constant_service_ins.PARTICIPANT_TYPE_PERSONAL
ticket_result.participant = ticket_result.creator
ticket_result.act_state_id = constant_service_ins.TICKET_ACT_STATE_RETREAT
ticket_result.save()
# 新增操作记录
flag, result = cls.get_ticket_all_field_value_json(ticket_result.id)
Expand Down

0 comments on commit 8f8d401

Please sign in to comment.