贷款还款信息查询v2
parent
f3b319173a
commit
f814a2faf1
|
|
@ -75,6 +75,20 @@ public class LoanService {
|
|||
return httpResponse.getServiceResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* 贷款还款信息查询v2
|
||||
*
|
||||
* @param applyQueryV2Request ApplyQueryV2Request
|
||||
* @return ApplyQueryV2Response
|
||||
*/
|
||||
public ApplyQueryV2Response repayQueryV2(ApplyQueryV2Request applyQueryV2Request) {
|
||||
String url = "/loanapi/v2/repayquery";
|
||||
HttpHeaders headers = new HttpHeaders();
|
||||
headers.addHeader(API_VERSION, V_1);
|
||||
HttpResponse<ApplyQueryV2Response> httpResponse = apiClient.post(url, headers, applyQueryV2Request.toJsonRequest(), ApplyQueryV2Response.class);
|
||||
return httpResponse.getServiceResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* 贷款还款信息查询
|
||||
*
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import java.math.BigDecimal;
|
|||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 贷款申请
|
||||
* 个人贷款申请
|
||||
*
|
||||
* @author wangwei
|
||||
* @since 2.0.0
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import com.google.gson.annotations.SerializedName;
|
|||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 贷款申请
|
||||
* 个人贷款申请
|
||||
*
|
||||
* @author wangwei
|
||||
* @since 2.0.0
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ import java.math.BigDecimal;
|
|||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 贷款申请进度查询
|
||||
*
|
||||
* @author wangwei
|
||||
* @since 2.0.0
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -0,0 +1,92 @@
|
|||
package com.czcb.scfs.api.service.v1.loan.model;
|
||||
|
||||
import com.czcb.scfs.api.core.ApiRequest;
|
||||
import com.czcb.scfs.api.service.TransType;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 贷款还款信息查询V2
|
||||
*
|
||||
* @author wangwei
|
||||
* @since 2.0.0
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@TransType("102002")
|
||||
public class ApplyQueryV2Request implements ApiRequest {
|
||||
/**
|
||||
* 渠道编号
|
||||
*/
|
||||
@SerializedName("channel_no")
|
||||
private String channelNo;
|
||||
|
||||
/**
|
||||
* 应用编号
|
||||
*/
|
||||
@SerializedName("app_no")
|
||||
private String appNo;
|
||||
|
||||
/**
|
||||
* 流水号
|
||||
*/
|
||||
@SerializedName("serial_no")
|
||||
private String serialNo;
|
||||
|
||||
/**
|
||||
* 账号,申请人A1账户账号
|
||||
*/
|
||||
@SerializedName("account_no")
|
||||
private String accountNo;
|
||||
|
||||
/**
|
||||
* 户名,申请人A1账户户名
|
||||
*/
|
||||
@SerializedName("account_name")
|
||||
private String accountName;
|
||||
|
||||
/**
|
||||
* 查询方式:0、正常查询(默认) 1、提前还款(试算)2、最近到期(试算)3、还款计划查询
|
||||
*/
|
||||
@SerializedName("qrymd")
|
||||
private String qrymd;
|
||||
|
||||
/**
|
||||
* 贷款账号
|
||||
*/
|
||||
@SerializedName("loanaccno")
|
||||
private String loanaccno;
|
||||
|
||||
/**
|
||||
* 贷款账号序号
|
||||
*/
|
||||
@SerializedName("acctseqno")
|
||||
private String acctseqno;
|
||||
|
||||
/**
|
||||
* 提前还款日期
|
||||
*/
|
||||
@SerializedName("repymtdt")
|
||||
private String repymtdt;
|
||||
|
||||
/**
|
||||
* 提前还款金额
|
||||
*/
|
||||
@SerializedName("elyrepymtamt")
|
||||
private BigDecimal elyrepymtamt;
|
||||
|
||||
/**
|
||||
* 操作日期
|
||||
*/
|
||||
@SerializedName("trans_date")
|
||||
private String transDate;
|
||||
|
||||
/**
|
||||
* 操作时间
|
||||
*/
|
||||
@SerializedName("trans_tradetime")
|
||||
private String transTradeTime;
|
||||
}
|
||||
|
|
@ -0,0 +1,150 @@
|
|||
package com.czcb.scfs.api.service.v1.loan.model;
|
||||
|
||||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 贷款还款信息查询V2
|
||||
*
|
||||
* @author wangwei
|
||||
* @since 200
|
||||
*/
|
||||
@Data
|
||||
public class ApplyQueryV2Response implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
*/
|
||||
@SerializedName("recode")
|
||||
private String recode;
|
||||
|
||||
/**
|
||||
* 结果信息
|
||||
*/
|
||||
@SerializedName("recode_Info")
|
||||
private String recodeInfo;
|
||||
|
||||
@SerializedName("recode_list")
|
||||
private List<RecodeList> recodeList;
|
||||
|
||||
/**
|
||||
* 系统日期(YYYY-MM-DD)
|
||||
*/
|
||||
@SerializedName("sys_date")
|
||||
private String sysDate;
|
||||
|
||||
/**
|
||||
* 系统时间(YYYY-MM-DD hh:mm:ss)
|
||||
*/
|
||||
@SerializedName("sys_time")
|
||||
private String sysTime;
|
||||
|
||||
@Data
|
||||
public static class RecodeList implements Serializable {
|
||||
/**
|
||||
* 贷款状态(0、开户,1、正常,2、逾期,3、结清,4、销户,5、申报核销,6、部分核销,7、全部核销)
|
||||
*/
|
||||
@SerializedName("loanst")
|
||||
private String loanst;
|
||||
|
||||
/**
|
||||
* 贷款形态(0、正常 1、逾期 2、呆滞 3、呆账 4、部分逾期 5、部分呆滞)
|
||||
*/
|
||||
@SerializedName("loantp1")
|
||||
private String loantp1;
|
||||
|
||||
/**
|
||||
* 发放金额
|
||||
*/
|
||||
@SerializedName("dstrbtintrate")
|
||||
private BigDecimal dstrbtintrate;
|
||||
|
||||
/**
|
||||
* 发放日期
|
||||
*/
|
||||
@SerializedName("lndngdt")
|
||||
private String lndngdt;
|
||||
|
||||
/**
|
||||
* 还款方式:1、等本 2、等额 3、按期付息、按期还本 4、一次性还本付息 5、按期付息,任意还本 6、任意还本,利随本清 7、按期付息,到期一次性还本
|
||||
*/
|
||||
@SerializedName("repymtmd")
|
||||
private String repymtmd;
|
||||
|
||||
/**
|
||||
* 还息间隔
|
||||
*/
|
||||
@SerializedName("ctrtrm")
|
||||
private String ctrtrm;
|
||||
|
||||
/**
|
||||
* 核销本金
|
||||
*/
|
||||
@SerializedName("drwpnp")
|
||||
private BigDecimal drwpnp;
|
||||
|
||||
/**
|
||||
* 还款日期(还款试算回显,最近还款日期和试算日期)
|
||||
*/
|
||||
@SerializedName("loanexprddt")
|
||||
private String loanexprddt;
|
||||
|
||||
/**
|
||||
* 本金利息
|
||||
*/
|
||||
@SerializedName("intamt")
|
||||
private BigDecimal intamt;
|
||||
|
||||
/**
|
||||
* 应收利息
|
||||
*/
|
||||
@SerializedName("actintamt")
|
||||
private BigDecimal actintamt;
|
||||
|
||||
/**
|
||||
* 应收复利
|
||||
*/
|
||||
@SerializedName("adlint")
|
||||
private BigDecimal adlint;
|
||||
|
||||
/**
|
||||
* 催收利息
|
||||
*/
|
||||
@SerializedName("ddcint")
|
||||
private BigDecimal ddcint;
|
||||
|
||||
/**
|
||||
* 催收复利
|
||||
*/
|
||||
@SerializedName("netint")
|
||||
private BigDecimal netint;
|
||||
|
||||
/**
|
||||
* 待收利息
|
||||
*/
|
||||
@SerializedName("exprtnint")
|
||||
private BigDecimal exprtnint;
|
||||
|
||||
/**
|
||||
* 待收利息复利
|
||||
*/
|
||||
@SerializedName("rpybl0dueint")
|
||||
private BigDecimal rpybl0dueint;
|
||||
|
||||
/**
|
||||
* 已还本金
|
||||
*/
|
||||
@SerializedName("actrepymtpnpamt")
|
||||
private BigDecimal actrepymtpnpamt;
|
||||
|
||||
/**
|
||||
* 已还利息
|
||||
*/
|
||||
@SerializedName("acmclctintamt")
|
||||
private BigDecimal acmclctintamt;
|
||||
}
|
||||
}
|
||||
|
|
@ -7,6 +7,8 @@ import lombok.Data;
|
|||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 贷款还款信息查询
|
||||
*
|
||||
* @author wangwei
|
||||
* @since 2.0.0
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ import java.math.BigDecimal;
|
|||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 贷款还款信息查询
|
||||
*
|
||||
* @author wangwei
|
||||
* @since 2.0.0
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -7,6 +7,8 @@ import lombok.Data;
|
|||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 贷款还款
|
||||
*
|
||||
* @author wangwei
|
||||
* @since 2.0.0
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -5,6 +5,8 @@ import com.google.gson.annotations.SerializedName;
|
|||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 贷款还款
|
||||
*
|
||||
* @author wangwei
|
||||
* @since 2.0.0
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@ import java.io.Serializable;
|
|||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 获取流程签署地址列表
|
||||
*
|
||||
* @author wangwei
|
||||
* @since 2.0.0
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue