Commit dadb83da authored by yexiong.wang's avatar yexiong.wang

edit

parent d0d8c08e
......@@ -226,11 +226,11 @@ public class VccServiceImpl implements IVccService {
}else if (1== status){
//审批通过
String url = "";
String phone = bySerialNoEquals.getPhone();
UserSysResult<XUser> userByPhoneNo = userSdk.getService().findUserByPhoneNo(phone);
if (userByPhoneNo == null || !userByPhoneNo.isSuccess() || userByPhoneNo.getData() == null) {
throw new RuntimeException("用户中心接口findUserDetailByPhone返回失败");
}
// String phone = bySerialNoEquals.getPhone();
// UserSysResult<XUser> userByPhoneNo = userSdk.getService().findUserByPhoneNo(phone);
// if (userByPhoneNo == null || !userByPhoneNo.isSuccess() || userByPhoneNo.getData() == null) {
// throw new RuntimeException("用户中心接口findUserDetailByPhone返回失败");
// }
if ( 1 == bySerialNoEquals.getRepayType()){
//月还账单
List<ApplyBill> billList = GSON.fromJson(bySerialNoEquals.getBills(), new TypeToken<List<ApplyBill>>() {
......@@ -240,10 +240,10 @@ public class VccServiceImpl implements IVccService {
stringBuilder.append(applyBill.getBillId()).append(",");
}
String billNo = stringBuilder.substring(0,stringBuilder.lastIndexOf(","));
url = talosHttp + "/vcc/repay/offlineRepay?userId=" + userByPhoneNo.getData().getId() + "&amount=" + bySerialNoEquals.getAmount() + "&billNo=" + billNo;
url = talosHttp + "/vcc/repay/offlineRepay?userId=" + bySerialNoEquals.getUserId() + "&amount=" + bySerialNoEquals.getAmount() + "&billNo=" + billNo;
}else {
//提前结清
url = talosHttp + "/vcc/offline_pre_repay/repay?userId=" + userByPhoneNo.getData().getId() + "&amount=" + bySerialNoEquals.getAmount()
url = talosHttp + "/vcc/offline_pre_repay/repay?userId=" + bySerialNoEquals.getUserId() + "&amount=" + bySerialNoEquals.getAmount()
+ "&repayType=" + bySerialNoEquals.getRepayType() + "&uniqueId=" + bySerialNoEquals.getUniqueId();
}
log.info("queryRepayCalDetail | 开始请求talos,url={}",url);
......
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