绑卡导出接口

parent 5ad90e93
...@@ -219,11 +219,12 @@ public class UserQueryLogController { ...@@ -219,11 +219,12 @@ public class UserQueryLogController {
log.setQueryCondition(key); log.setQueryCondition(key);
log.setQueryDetail(keyValues); log.setQueryDetail(keyValues);
log.setLoginUserName(userName); log.setLoginUserName(userName);
if(keyValues!=null&&keyValues.length()<=2048){
log.setQueryDetail(keyValues); log.setQueryDetail(keyValues);
}else{ // if(keyValues!=null&&keyValues.length()<=2048){
log.setQueryDetail(keyValues.substring(0,2048)); // log.setQueryDetail(keyValues);
} // }else{
// log.setQueryDetail(keyValues.substring(0,2048));
// }
userQueryLogService.save(log); userQueryLogService.save(log);
PageModel<UserQueryInfo> uqi=new PageModel<UserQueryInfo>(); PageModel<UserQueryInfo> uqi=new PageModel<UserQueryInfo>();
...@@ -292,6 +293,7 @@ public class UserQueryLogController { ...@@ -292,6 +293,7 @@ public class UserQueryLogController {
List<UserQueryInfo> userQueryInfos=new ArrayList<UserQueryInfo>(); List<UserQueryInfo> userQueryInfos=new ArrayList<UserQueryInfo>();
List<UserDetail> userDetails=new ArrayList<UserDetail>(); List<UserDetail> userDetails=new ArrayList<UserDetail>();
List<Address> addresslist=new ArrayList<Address>(); List<Address> addresslist=new ArrayList<Address>();
HashMap<String,String> phonesCards=new HashMap<String,String>();
if(key.equals("userId")){ if(key.equals("userId")){
List<Long> userIds=new ArrayList<Long>(); List<Long> userIds=new ArrayList<Long>();
try{ try{
...@@ -329,6 +331,15 @@ public class UserQueryLogController { ...@@ -329,6 +331,15 @@ public class UserQueryLogController {
if(columns.contains("bankCard")){ 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")){ if(columns.contains("address")){
...@@ -360,6 +371,9 @@ public class UserQueryLogController { ...@@ -360,6 +371,9 @@ public class UserQueryLogController {
uqi.setAddress(oad.get().toString()); uqi.setAddress(oad.get().toString());
} }
} }
if(columns.contains("bankCard")){
uqi.setBankCards(phonesCards.get(ud.getPhoneNo()));
}
uqls.add(uqi); uqls.add(uqi);
} }
......
...@@ -91,5 +91,5 @@ xyqb.user.domain=passport.xyqb.com ...@@ -91,5 +91,5 @@ xyqb.user.domain=passport.xyqb.com
xyqb.user.query.url=http://192.168.11.40:8081 xyqb.user.query.url=http://192.168.11.40:8081
xyqb.domain = http://192.168.4.153:7003 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 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