|
@@ -32,8 +32,8 @@ class JianYeReport(object):
|
|
sheet_names_1 = ['当日数据', '当月数据', '上线以来所有数据']
|
|
sheet_names_1 = ['当日数据', '当月数据', '上线以来所有数据']
|
|
|
|
|
|
def __init__(self):
|
|
def __init__(self):
|
|
- self.db = MysqlDB('bi_report')
|
|
|
|
-
|
|
|
|
|
|
+ #self.db = MysqlDB('bi_report')
|
|
|
|
+ pass
|
|
def get_city_house_id(self):
|
|
def get_city_house_id(self):
|
|
return self.db.select(Sql.sql_1)
|
|
return self.db.select(Sql.sql_1)
|
|
|
|
|
|
@@ -326,9 +326,10 @@ class JianYeReport(object):
|
|
|
|
|
|
def get_brand_content(self, content, brand_table_one):
|
|
def get_brand_content(self, content, brand_table_one):
|
|
|
|
|
|
- content = content.format(brand_table_one[0], brand_table_one[1], brand_table_one[2], brand_table_one[3],
|
|
|
|
|
|
+ content = content.format(rpfu.get_montho_day(),
|
|
|
|
+ brand_table_one[0], brand_table_one[1], brand_table_one[2], brand_table_one[3],
|
|
brand_table_one[4], brand_table_one[5],
|
|
brand_table_one[4], brand_table_one[5],
|
|
- brand_table_one[6], brand_table_one[8], brand_table_one[10], brand_table_one[11],
|
|
|
|
|
|
+ brand_table_one[6], brand_table_one[8], brand_table_one[10], brand_table_one[11], rpfu.get_month(),
|
|
brand_table_one[12], brand_table_one[13], brand_table_one[14], brand_table_one[15],
|
|
brand_table_one[12], brand_table_one[13], brand_table_one[14], brand_table_one[15],
|
|
brand_table_one[16],
|
|
brand_table_one[16],
|
|
brand_table_one[17],
|
|
brand_table_one[17],
|