Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xyqb-user2
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
head_group
xyqb-user2
Commits
43fd8c73
Commit
43fd8c73
authored
Jun 16, 2017
by
技术部—现金贷—曾丽宾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
绑卡导出接口
parent
5ad90e93
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
6 deletions
+20
-6
UserQueryLogController.java
.../controller/external/queryLog/UserQueryLogController.java
+19
-5
xyqb.properties
src/main/resources/config/dev/xyqb.properties
+1
-1
No files found.
src/main/java/cn/quantgroup/xyqb/controller/external/queryLog/UserQueryLogController.java
View file @
43fd8c73
...
...
@@ -219,11 +219,12 @@ public class UserQueryLogController {
log
.
setQueryCondition
(
key
);
log
.
setQueryDetail
(
keyValues
);
log
.
setLoginUserName
(
userName
);
if
(
keyValues
!=
null
&&
keyValues
.
length
()<=
2048
){
log
.
setQueryDetail
(
keyValues
);
}
else
{
log
.
setQueryDetail
(
keyValues
.
substring
(
0
,
2048
));
}
log
.
setQueryDetail
(
keyValues
);
// if(keyValues!=null&&keyValues.length()<=2048){
// log.setQueryDetail(keyValues);
// }else{
// log.setQueryDetail(keyValues.substring(0,2048));
// }
userQueryLogService
.
save
(
log
);
PageModel
<
UserQueryInfo
>
uqi
=
new
PageModel
<
UserQueryInfo
>();
...
...
@@ -292,6 +293,7 @@ public class UserQueryLogController {
List
<
UserQueryInfo
>
userQueryInfos
=
new
ArrayList
<
UserQueryInfo
>();
List
<
UserDetail
>
userDetails
=
new
ArrayList
<
UserDetail
>();
List
<
Address
>
addresslist
=
new
ArrayList
<
Address
>();
HashMap
<
String
,
String
>
phonesCards
=
new
HashMap
<
String
,
String
>();
if
(
key
.
equals
(
"userId"
)){
List
<
Long
>
userIds
=
new
ArrayList
<
Long
>();
try
{
...
...
@@ -329,6 +331,15 @@ public class UserQueryLogController {
if
(
columns
.
contains
(
"bankCard"
)){
//需加银行卡信息
if
(
key
.
equals
(
"phoneNo"
)){
phonesCards
=
getBankCardsByPhoneNos
(
queryV
);
}
else
{
List
<
String
>
phones
=
new
ArrayList
<
String
>();
for
(
UserDetail
uda:
userDetails
){
phones
.
add
(
uda
.
getPhoneNo
());
}
phonesCards
=
getBankCardsByPhoneNos
(
phones
);
}
}
if
(
columns
.
contains
(
"address"
)){
...
...
@@ -360,6 +371,9 @@ public class UserQueryLogController {
uqi
.
setAddress
(
oad
.
get
().
toString
());
}
}
if
(
columns
.
contains
(
"bankCard"
)){
uqi
.
setBankCards
(
phonesCards
.
get
(
ud
.
getPhoneNo
()));
}
uqls
.
add
(
uqi
);
}
...
...
src/main/resources/config/dev/xyqb.properties
View file @
43fd8c73
...
...
@@ -91,5 +91,5 @@ xyqb.user.domain=passport.xyqb.com
xyqb.user.query.url
=
http://192.168.11.40:8081
xyqb.domain
=
http://192.168.4.153:7003
xyqb.paycenter.url
=
http://
payapi.xyqb.com/
xyqb.paycenter.url
=
http://
192.168.4.26:7006
xyqb.paycenter.id
=
3
\ No newline at end of file
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