perf: ticket

This commit is contained in:
feng626
2022-09-21 18:19:17 +08:00
parent 584ce0afe3
commit ffdb3f3b83
13 changed files with 69 additions and 175 deletions

View File

@@ -65,7 +65,7 @@ class BaseHandler:
if state != TicketState.approved:
return diff_context
if self.ticket.type not in [TicketType.apply_asset, TicketType.apply_application]:
if self.ticket.type == TicketType.apply_asset:
return diff_context
# 企业微信钉钉审批不做diff