Commit 593f4369 by huangjing

hj

parent c950730f
......@@ -12,4 +12,4 @@ class OriginalDao:
def select(self,company_name):
return self.dataBase.fetch_all("select * from `tj_purchase_original` where matching_related_companies = '%s' order by group_date desc " % company_name)
\ No newline at end of file
return self.dataBase.fetch_all("select * from `tj_history_order` where account_company_name = '%s' order by order_add_time desc " % company_name)
\ No newline at end of file
......@@ -20,8 +20,8 @@ class Recom:
behavior_json = {}
behavior_json['num'] = num
behavior_json['goods_name'] = item['product_name']
behavior_json['purchase_date'] = item['group_date']
behavior_json['contract_amount'] = item['contract_amount']
behavior_json['purchase_date'] = item['order_add_time']
behavior_json['contract_amount'] = item['order_pay']
behavior_json['source'] = item['source']
behavior_json['company_name'] = company_name
item['status'] = "已完成"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment