Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
F
fund_report
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
彭熊
fund_report
Commits
956fdf7b
Commit
956fdf7b
authored
Jan 15, 2021
by
pengxiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
非空判断
parent
8309e75e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
1 deletion
+22
-1
tamp_diagnose_app.py
app/model/tamp_diagnose_app.py
+4
-1
fund_report.log
logs/fund_report.log
+18
-0
No files found.
app/model/tamp_diagnose_app.py
View file @
956fdf7b
...
...
@@ -96,7 +96,10 @@ class FundReportManange(Base, BaseModel):
tamp_user_session
=
tamp_user
.
session
sql
=
"select ui_username_mp from user_info where id = '{}'"
.
format
(
self
.
ifa_id
)
res
=
tamp_user_session
.
execute
(
sql
)
data
[
'author_name'
]
=
res
.
fetchone
()[
0
]
if
res
:
data
[
'author_name'
]
=
res
.
fetchone
()[
0
]
else
:
data
[
'author_name'
]
=
''
if
self
.
default_template
:
data
[
'sys_default'
]
=
1
else
:
...
...
logs/fund_report.log
View file @
956fdf7b
...
...
@@ -10643,3 +10643,21 @@ MySQLdb._exceptions.OperationalError: (2013, 'Lost connection to MySQL server du
2021-01-15 11:33:23 Fri werkzeug INFO * Restarting with stat
2021-01-15 11:33:34 Fri werkzeug WARNING * Debugger is active!
2021-01-15 11:33:34 Fri werkzeug INFO * Debugger PIN: 191-123-093
2021-01-15 11:35:26 Fri werkzeug INFO * Running on http://0.0.0.0:8000/ (Press CTRL+C to quit)
2021-01-15 11:35:26 Fri werkzeug INFO * Restarting with stat
2021-01-15 11:35:37 Fri werkzeug WARNING * Debugger is active!
2021-01-15 11:35:37 Fri werkzeug INFO * Debugger PIN: 191-123-093
2021-01-15 11:37:05 Fri werkzeug INFO 172.168.0.114 - - [15/Jan/2021 11:37:05] "[1m[35mGET /api/fund_report/reportlist?type=0&name=&start_time=1970-01-01+00:00:00&end_time=2021-01-15+23:59:59&pageNumber=1&pageSize=20 HTTP/1.1[0m" 500 -
2021-01-15 11:37:21 Fri werkzeug INFO 172.168.0.114 - - [15/Jan/2021 11:37:21] "[33mPOST /api/fund/search/ HTTP/1.1[0m" 404 -
2021-01-15 11:37:24 Fri werkzeug INFO 172.168.0.114 - - [15/Jan/2021 11:37:24] "[33mPOST /api/fund/search/ HTTP/1.1[0m" 404 -
2021-01-15 11:37:25 Fri werkzeug INFO 172.168.0.114 - - [15/Jan/2021 11:37:25] "[33mPOST /api/fund/get_collect_fund/ HTTP/1.1[0m" 404 -
2021-01-15 11:37:27 Fri werkzeug INFO 172.168.0.114 - - [15/Jan/2021 11:37:27] "[33mPOST /api/fund/imported/search/ HTTP/1.1[0m" 404 -
2021-01-15 11:37:53 Fri werkzeug INFO 172.168.0.114 - - [15/Jan/2021 11:37:53] "[33mPOST /api/fund/search/ HTTP/1.1[0m" 404 -
2021-01-15 11:42:36 Fri werkzeug INFO 172.168.0.114 - - [15/Jan/2021 11:42:36] "[1m[35mGET /api/template_list?type=0&name=&pageNumber=1&pageSize=20 HTTP/1.1[0m" 500 -
2021-01-15 11:42:58 Fri werkzeug INFO 172.168.0.114 - - [15/Jan/2021 11:42:58] "[1m[35mGET /api/template_list?type=0&name=&pageNumber=1&pageSize=20 HTTP/1.1[0m" 500 -
2021-01-15 11:46:15 Fri werkzeug INFO * Detected change in '/Users/pengxiong/Desktop/tamp_workspace/fund_report/app/model/tamp_diagnose_app.py', reloading
2021-01-15 11:46:16 Fri werkzeug INFO * Restarting with stat
2021-01-15 11:46:36 Fri werkzeug INFO * Running on http://0.0.0.0:8000/ (Press CTRL+C to quit)
2021-01-15 11:46:36 Fri werkzeug INFO * Restarting with stat
2021-01-15 11:46:47 Fri werkzeug WARNING * Debugger is active!
2021-01-15 11:46:47 Fri werkzeug INFO * Debugger PIN: 191-123-093
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment