update hatching
This commit is contained in:
@@ -807,7 +807,7 @@ class HatchingsViewSet(viewsets.ModelViewSet):
|
|||||||
'PartIdCode', 'UnitTypeName'
|
'PartIdCode', 'UnitTypeName'
|
||||||
]
|
]
|
||||||
good_sum = request.data.get('GoodSum', [])
|
good_sum = request.data.get('GoodSum', [])
|
||||||
print(good_sum)
|
print(request.data)
|
||||||
if int(good_sum.get('loadingSum ')) > 0:
|
if int(good_sum.get('loadingSum ')) > 0:
|
||||||
for key in same_keys:
|
for key in same_keys:
|
||||||
if key in request.data and request.data[key] is not None:
|
if key in request.data and request.data[key] is not None:
|
||||||
|
|||||||
Reference in New Issue
Block a user