bind_opl 增加字段

This commit is contained in:
caoqianming 2022-10-11 15:54:58 +08:00
parent 13f7a31d16
commit aff9c0d613
1 changed files with 1 additions and 0 deletions

View File

@ -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,