bind_opl 增加字段
This commit is contained in:
parent
13f7a31d16
commit
aff9c0d613
|
@ -42,6 +42,7 @@ def bind_opl(ticket: Ticket, transition: Transition, new_ticket_data: dict):
|
|||
'operation': opl.operation.id, # operation id值
|
||||
'level': opl.level,
|
||||
'power_days': opl.power_days,
|
||||
'work_scope': opl.work_scope,
|
||||
'monitor': opl.monitor.id,
|
||||
'workers': list(OplWorker.objects.filter(opl=opl).values_list('worker__id', flat=True)),
|
||||
'charger': opl.charger.id,
|
||||
|
|
Loading…
Reference in New Issue