Commit 84d2e44c authored by wang zhengwei's avatar wang zhengwei

更改返回格式

parent c7589b3f
......@@ -313,7 +313,7 @@ def make_app_report(args):
HoldReport.ifa_id == ifa_id,
HoldReport.customer_id == customer_id).first()
if hr:
return hr.get_file()
return hr.id
customer_name = ''
type_name = '持仓报告'
create_date = str(datetime.datetime.now().date())
......@@ -353,6 +353,6 @@ def make_app_report(args):
report_record = HoldReport(**args)
tamp_diagnose_session.add(report_record)
tamp_diagnose_session.flush()
return report_record.id
return report_record.id
return False
\ No newline at end of file
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