绑卡导出接口

parent 5ad90e93
......@@ -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);
}
......
......@@ -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
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