添加导出率
This commit is contained in:
parent
1192ed3934
commit
800a863571
@ -87,15 +87,6 @@ class Report:
|
|||||||
self.project = project
|
self.project = project
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def get_data(self):
|
|
||||||
data = defaultdict(tuple)
|
|
||||||
fromappids = ()
|
|
||||||
for fromappid in fromappids:
|
|
||||||
activa, new, share, k = self.collect_tga(fromappid)
|
|
||||||
data[fromappid] = (activa, new, share, k)
|
|
||||||
|
|
||||||
|
|
||||||
def get_all_data(self, **args):
|
def get_all_data(self, **args):
|
||||||
activa_sql = f"""SELECT
|
activa_sql = f"""SELECT
|
||||||
count(distinct "#account_id")
|
count(distinct "#account_id")
|
||||||
@ -325,9 +316,9 @@ class Report:
|
|||||||
args['fromappid_cn'] = fromappids.get(f_key, None) or "未知"
|
args['fromappid_cn'] = fromappids.get(f_key, None) or "未知"
|
||||||
temp['input'].append(self.get_input_fromappid(**args))
|
temp['input'].append(self.get_input_fromappid(**args))
|
||||||
temp['output'].append(self.get_output_fromappid(**args))
|
temp['output'].append(self.get_output_fromappid(**args))
|
||||||
print(data)
|
print(data)
|
||||||
data.append(temp)
|
data.append(temp)
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -68,7 +68,6 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
>
|
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user