|
@@ -474,7 +474,9 @@ class proposedBuilding_tmp(BaseModel):
|
|
|
page_time = update_time
|
|
|
legal_contacts = []
|
|
|
list_follows = self.getFollows(list_group,legal_contacts,set_enterprise)
|
|
|
- self.getContacts(ots_client,list_group,set_enterprise,legal_contacts)
|
|
|
+ legal_contacts = self.getContacts(ots_client,list_group,set_enterprise,legal_contacts)
|
|
|
+ if len(legal_contacts)==0:
|
|
|
+ return None
|
|
|
|
|
|
# get the key,if exists then search else generate
|
|
|
id = self.getId(list(set_docid),list(set_spid))
|