Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
duizhang_tools
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data—王林芳
duizhang_tools
Commits
53021e0f
Commit
53021e0f
authored
Oct 17, 2017
by
zhen.ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rt
parent
f1fe70ee
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
检测脚本.py
db_con/检测脚本.py
+0
-0
非去哪儿收入确认表.py
审计第一阶段/白条/非去哪儿/非去哪儿收入确认表.py
+2
-1
No files found.
db_con/检测脚本.py
View file @
53021e0f
This diff is collapsed.
Click to expand it.
审计第一阶段/白条/非去哪儿/非去哪儿收入确认表.py
View file @
53021e0f
...
...
@@ -17,6 +17,7 @@ pd.set_option('display.float_format', lambda x: '%.5f' % x)
mysql
=
sql_engine
(
'audit'
,
'audit'
,
False
)
.
get_engine
()
mysql_analysis
=
sql_engine
(
'analysis'
,
'analysis_tmp'
,
False
)
.
get_engine
()
# todo: is_active = -2 的订单,按哪个时间来关联风险金比例
sql_loan
=
"""
SELECT
bo.order_no 产品编号,
...
...
@@ -55,7 +56,7 @@ sql_ref = """SELECT
rra1006.repay_channel_flow_id 流水号,
rc.approach_name 还款账户
FROM new_transaction.baitiao_repay_plan_repay_record_ref brprrr
JOIN test_mzh.repay_record_amount
_1006
rra1006
JOIN test_mzh.repay_record_amount rra1006
ON rra1006.record_id = brprrr.record_id AND rra1006.repay_channel = brprrr.repay_channel
JOIN new_transaction.user_bt_repayment_plan ubrp ON ubrp.id = brprrr.plan_id
JOIN baitiao_audit.baitiao_order bo ON bo.ref_id = ubrp.ref_id AND bo.funding_corp_id = 5
...
...
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