Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
baihang-report
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data-spider
baihang-report
Commits
32e69bf7
Commit
32e69bf7
authored
Jun 06, 2020
by
郝彦辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
手动修复数据工具2
parent
ef247f5e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
XyqbHistoryDataSourcePreperties.java
...g/datasource/history/XyqbHistoryDataSourcePreperties.java
+9
-9
BaiHangZhuDaiService.java
...antgroup/report/service/baihang/BaiHangZhuDaiService.java
+3
-3
No files found.
src/main/java/cn/quantgroup/report/config/datasource/history/XyqbHistoryDataSourcePreperties.java
View file @
32e69bf7
...
...
@@ -17,16 +17,16 @@ public class XyqbHistoryDataSourcePreperties {
@Value
(
"${baihang.db.maxPoolSize2}"
)
private
int
maxPoolSize
;
@Value
(
"${data.source.baihang.jdbcUrl2}"
)
private
String
jdbcUrl
;
//private String jdbcUrl = "jdbc:mysql://172.20.6.21:4010/rc_real_time_data_pool
?useUnicode=true&characterEncoding=UTF8&useSSL=false";
//
@Value("${data.source.baihang.jdbcUrl2}")
//
private String jdbcUrl;
private
String
jdbcUrl
=
"jdbc:mysql://172.20.6.21:4010/rc_syn_to_baihang_report
?useUnicode=true&characterEncoding=UTF8&useSSL=false"
;
@Value
(
"${data.source.baihang.username2}"
)
private
String
username
;
//
private String username="xyqb_history_w";
//
@Value("${data.source.baihang.username2}")
//
private String username;
private
String
username
=
"xyqb_history_w"
;
@Value
(
"${data.source.baihang.password2}"
)
private
String
password
;
//
private String password="KDb18asPu6iEz5lg";
//
@Value("${data.source.baihang.password2}")
//
private String password;
private
String
password
=
"KDb18asPu6iEz5lg"
;
}
src/main/java/cn/quantgroup/report/service/baihang/BaiHangZhuDaiService.java
View file @
32e69bf7
...
...
@@ -2516,18 +2516,18 @@ public class BaiHangZhuDaiService {
RepaymentInfoZhuDai
repaymentLoanInfo
=
logBeanList
.
get
(
i
);
Object
[]
objects
=
{
repaymentLoanInfo
.
getLoanId
(),
repaymentLoanInfo
.
getTermNo
(),
repaymentLoanInfo
.
getStatusConfirmAt
(),
"A"
};
String
back_log_record_id
=
null
;
String
back_log_record_id
=
""
;
try
{
List
<
RepaymentInfoZhuDai
>
d3_log_maxList
=
riskDatasourceJdbcTemplate
.
query
(
sql_d3_back_log
,
objects
,
new
RowMapper
<
RepaymentInfoZhuDai
>()
{
@Override
public
RepaymentInfoZhuDai
mapRow
(
ResultSet
rs
,
int
rowNum
)
throws
SQLException
{
RepaymentInfoZhuDai
bean
=
new
RepaymentInfoZhuDai
();
bean
.
set
StatusConfirmAt
(
rs
.
getString
(
"record_id"
));
bean
.
set
RecordId
(
rs
.
getString
(
"record_id"
));
return
bean
;
}
});
if
(
d3_log_maxList
!=
null
&&
d3_log_maxList
.
size
()
==
1
){
if
(
d3_log_maxList
!=
null
&&
d3_log_maxList
.
size
()
==
1
){
back_log_record_id
=
d3_log_maxList
.
get
(
0
).
getRecordId
();
}
...
...
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