This commit is contained in:
曹前明 2022-07-21 17:45:05 +08:00
parent 02b4ffbdca
commit 2b0af1dfaf
1 changed files with 0 additions and 2 deletions

View File

@ -1,7 +1,6 @@
# Create your tasks here
from __future__ import absolute_import, unicode_literals
from apps.opm.models import Operation, Opl
from apps.opm.services import give_perm_by_opl
from apps.utils.task import CustomTask
from celery import shared_task
@ -41,4 +40,3 @@ def opl_audit_end(ticket_id):
operation.state = Operation.OP_WORK
operation.save()
# 授予区域或围栏权限
give_perm_by_opl(opl)