|
@@ -7,6 +7,7 @@
|
|
|
@Software: PyCharm
|
|
|
"""
|
|
|
import itertools
|
|
|
+from Ansjer.config import CONFIG_INFO, CONFIG_EUR
|
|
|
from django.db.models import Value, CharField, Q
|
|
|
from Model.models import EquipmentInfo1, EquipmentInfo2, EquipmentInfo3, EquipmentInfo4, EquipmentInfo5, \
|
|
|
EquipmentInfo6, EquipmentInfo7, EquipmentInfo8, EquipmentInfo9, EquipmentInfo10, \
|
|
@@ -459,6 +460,8 @@ class EquipmentInfoService:
|
|
|
|
|
|
if not equipment_info_union.exists():
|
|
|
return None, 0
|
|
|
+ if CONFIG_EUR == CONFIG_INFO:
|
|
|
+ line = 10
|
|
|
count = 21
|
|
|
|
|
|
equipment_info_union = cls.get_equipment_info_union_page(equipment_info_union, page, line)
|