修改: PriceSystem/CalcCmdReceiver.py
修改: PriceSystem/config/__init__.py 修改: PriceSystem/fix/__pycache__/price_fix.cpython-36.pyc 修改: PriceSystem/fix/price_fix.py 修改: PriceSystem/ones_Sender.py 修改: PriceSystem/sell_price/zhuge0118A.py 修改: PriceSystem/test.py
This commit is contained in:
@@ -549,12 +549,12 @@ def commonprice(ct, rl, p):
|
||||
#return '纬度数据有误,有多个经纬度', 0
|
||||
|
||||
else:
|
||||
t1=time.time()
|
||||
#t1=time.time()
|
||||
|
||||
#####print("location['lng2'][0]",location['lng2'].iloc[0])
|
||||
|
||||
dd = neighbor(location['lng2'].iloc[0], location['lat2'].iloc[0], 5, ct, rl, p)
|
||||
print(time.time()-t1,'t1'*10)
|
||||
#print(time.time()-t1,'t1'*10)
|
||||
# print('dd=',dd,'dd'*20)
|
||||
if dd.shape[0] >= factor:
|
||||
# ####print('$'*50)
|
||||
@@ -1429,12 +1429,12 @@ def ghhh(kkg):
|
||||
return a
|
||||
|
||||
|
||||
#stat = fangjia.get_collection("fangjia", "district_stat", config.get_district_stat_host(), config.get_district_stat_port())
|
||||
#pt = fangjia.get_collection("fangjia_log", "problem_command", config.get_log_mongodb_host(), config.get_log_mongodb_port())
|
||||
stat = fangjia.get_collection("fangjia", "district_stat", config.get_district_stat_host(), config.get_district_stat_port())
|
||||
pt = fangjia.get_collection("fangjia_log", "problem_command", config.get_log_mongodb_host(), config.get_log_mongodb_port())
|
||||
|
||||
#stat = fangjia.get_collection("fangjia", "Copy_of_district_stat_shanghai_april_ten", '192.168.10.182', 27017)
|
||||
stat = fangjia.get_collection("fangjia_stat", "shanghai0419", '192.168.10.182', 27017)
|
||||
pt = fangjia.get_collection("fangjia_log", "problem_command", '192.168.10.182', 27017)
|
||||
#stat = fangjia.get_collection("fangjia", config.get_save_db(), '192.168.10.182', 27017)
|
||||
#pt = fangjia.get_collection("fangjia_log", "problem_command", '192.168.10.182', 27017)
|
||||
#################################################################
|
||||
|
||||
def region_district_list_lk(ct, rl, lk):
|
||||
@@ -1591,8 +1591,9 @@ def out_put_price(ct, rl, lk, weekend):
|
||||
p = ghhh(lf[['name', 'alias', 'estate_type2']])[0]
|
||||
|
||||
#####print('p=', p)
|
||||
|
||||
#t1=time.time()
|
||||
mm = commonprice(ct, rl, p)
|
||||
#print('mmjisuantime=',time.time()-t1,'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy')
|
||||
#####print('mm=',mm)
|
||||
c_date = datetime.datetime.utcnow()
|
||||
m_date = datetime.datetime.utcnow()
|
||||
@@ -1607,7 +1608,7 @@ def out_put_price(ct, rl, lk, weekend):
|
||||
##print('mm=',mm)
|
||||
##print(type(mm[0]))
|
||||
if type(mm[0]) != str:
|
||||
|
||||
|
||||
|
||||
# ####print(lf['estate_type2'].iloc[0],'*'*10)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user