fix: 完善get_alldata_with_batch
This commit is contained in:
parent
fb43bdde85
commit
7e44cda500
|
@ -25,7 +25,7 @@ def get_alldata_with_batch(batch: str):
|
|||
last_time = timezone.make_aware(datetime(1990, 4, 4, 0, 0, 0))
|
||||
data = {"产品批次编号": batch}
|
||||
dept7 = Dept.objects.get(name='7车间')
|
||||
dept6 = Dept.objects.get(name='六车间')
|
||||
dept6 = Dept.objects.get(name='6车间')
|
||||
dept10 = Dept.objects.get(name='10车间')
|
||||
mgroup_blcx = Mgroup.objects.get(name="棒料成型")
|
||||
mlogs_blcx_qs = Mlog.objects.filter(submit_time__isnull=False, mgroup=mgroup_blcx, batch=batch)
|
||||
|
|
Loading…
Reference in New Issue