|
@@ -775,7 +775,7 @@ class EquipmentFamilyView(View):
|
|
|
@return: True
|
|
|
"""
|
|
|
device_info_qs = Device_Info.objects.filter(userID=user_id)
|
|
|
- device_info_qs = device_info_qs.filter(~Q(isExist=0)).values('id')
|
|
|
+ device_info_qs = device_info_qs.filter(~Q(isExist=0)).values('id', 'Type')
|
|
|
if device_info_qs.exists():
|
|
|
with transaction.atomic():
|
|
|
not_time = time.time()
|