|
@@ -1253,7 +1253,7 @@ class DeviceManagement(View):
|
|
|
total_quantity = custom_customer_qs.aggregate(total_quantity=Sum('quantity'))['total_quantity']
|
|
|
|
|
|
# 查询设备列表
|
|
|
- customer_device_qs = CustomCustomerDevice.objects.filter(id__in=c_id_list).order_by('-created_time')
|
|
|
+ customer_device_qs = CustomCustomerDevice.objects.filter(c_id__in=c_id_list).order_by('-created_time')
|
|
|
|
|
|
# 分页处理
|
|
|
paginator = Paginator(customer_device_qs, page_size)
|