opm bug
This commit is contained in:
parent
02b4ffbdca
commit
2b0af1dfaf
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue