Exemplo n.º 1
0
 def get_os(cls):
     map_dict = get_parent('id', 'b_base_os')
     return cls._filter(map_dict)
Exemplo n.º 2
0
 def get_carriername(cls):
     map_dict1 = get_parent('id', 'b_base_operator', parent_field='categoryId')
     map_dict2 = get_parent('id', 'b_base_operator_category', parent_field='parentId')
     return cls._filter(map_dict1, map_dict2)
Exemplo n.º 3
0
 def get_devicemodel(cls):
     map_dict = get_parent('id', 'b_base_device')
     return cls._filter(map_dict)
Exemplo n.º 4
0
 def get_citys(cls):
     map_dict = get_parent('id', 'b_base_geo')
     return cls._filter(map_dict)