Skip to content

Commit

Permalink
perf: 优化工单审批时间不准确问题
Browse files Browse the repository at this point in the history
  • Loading branch information
O-Jiangweidong authored and BaiJiangJie committed Jan 29, 2024
1 parent 9cc0482 commit 8c7ba4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/tickets/models/ticket/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def change_state(self, state, processor):
assignees.update(state=state)
self.status = StepStatus.closed
self.state = state
self.save(update_fields=['state', 'status'])
self.save(update_fields=['state', 'status', 'date_updated'])

def set_active(self):
self.status = StepStatus.active
Expand Down

0 comments on commit 8c7ba4a

Please sign in to comment.