feat: 发票池汇总订单贷款还款优化
parent
077599f6a7
commit
f97f874951
|
|
@ -82,6 +82,7 @@ public class InvoiceService {
|
|||
/**
|
||||
* 232110-发票结算并还款
|
||||
*/
|
||||
@Deprecated
|
||||
public InvoiceSettleRepayResponse invoiceSettleRepay(InvoiceSettleRepayRequest request) {
|
||||
String url = "/invoice/settle-repay";
|
||||
HttpResponse<InvoiceSettleRepayResponse> httpResponse = apiClient.post(url, HttpHeaders.apiVersionV2(),
|
||||
|
|
@ -102,6 +103,7 @@ public class InvoiceService {
|
|||
/**
|
||||
* 310601-汇总订单清算还款(发票池版)
|
||||
*/
|
||||
@Deprecated
|
||||
public OrderPoolSettleResponse poolSettle(OrderPoolSettleRequest request) {
|
||||
String url = "/order/pool/settle";
|
||||
HttpResponse<OrderPoolSettleResponse> httpResponse = apiClient.post(url, HttpHeaders.apiVersionV2(),
|
||||
|
|
@ -109,5 +111,30 @@ public class InvoiceService {
|
|||
return httpResponse.getServiceResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* 222309-发票池资金结算
|
||||
*/
|
||||
@Deprecated
|
||||
public InvoicePoolSettleResponse invoicePoolSettle(InvoicePoolSettleRequest request) {
|
||||
String url = "/invoice-pool/settle";
|
||||
HttpResponse<InvoicePoolSettleResponse> httpResponse = apiClient.post(url, HttpHeaders.apiVersionV2(),
|
||||
request.toJsonRequest(), InvoicePoolSettleResponse.class);
|
||||
return httpResponse.getServiceResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* 222310-发票结算并还款
|
||||
*/
|
||||
@Deprecated
|
||||
public InvoiceSettleResponse invoiceSettle(InvoiceSettleRequest request) {
|
||||
String url = "/invoice/settle";
|
||||
HttpResponse<InvoiceSettleResponse> httpResponse = apiClient.post(url, HttpHeaders.apiVersionV2(),
|
||||
request.toJsonRequest(), InvoiceSettleResponse.class);
|
||||
return httpResponse.getServiceResponse();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,67 @@
|
|||
package com.czcb.scfs.api.service.v2.invoice.model;
|
||||
|
||||
import com.czcb.scfs.api.core.ApiRequest;
|
||||
import com.czcb.scfs.api.core.agrs.TransType;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 222309-发票池资金结算
|
||||
*
|
||||
* @author yuchuan
|
||||
* @since 2025-09-11
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@TransType("222309")
|
||||
public class InvoicePoolSettleRequest implements ApiRequest {
|
||||
/**
|
||||
* 渠道编号
|
||||
*/
|
||||
@SerializedName("channel_no")
|
||||
private String channelNo;
|
||||
|
||||
/**
|
||||
* 应用编号
|
||||
*/
|
||||
@SerializedName("app_no")
|
||||
private String appNo;
|
||||
|
||||
/**
|
||||
* 流水号
|
||||
*/
|
||||
@SerializedName("serial_no")
|
||||
private String serialNo;
|
||||
|
||||
/**
|
||||
* 操作日期
|
||||
*/
|
||||
@SerializedName("trans_date")
|
||||
private String transDate;
|
||||
|
||||
/**
|
||||
* 操作时间
|
||||
*/
|
||||
@SerializedName("trans_tradetime")
|
||||
private String transTradeTime;
|
||||
/**
|
||||
* 结算账户编号
|
||||
*/
|
||||
@SerializedName("settle_account_no")
|
||||
private String settleAccountNo;
|
||||
|
||||
/**
|
||||
* 结算账户户名
|
||||
*/
|
||||
@SerializedName("settle_account_name")
|
||||
private String settleAccountName;
|
||||
|
||||
/**
|
||||
* 结算金额
|
||||
*/
|
||||
@SerializedName("settle_amount")
|
||||
private BigDecimal settleAmount;
|
||||
}
|
||||
|
|
@ -0,0 +1,46 @@
|
|||
package com.czcb.scfs.api.service.v2.invoice.model;
|
||||
|
||||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 222309-发票池资金结算
|
||||
*
|
||||
* @author yuchuan
|
||||
* @since 2025-09-11
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class InvoicePoolSettleResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
*/
|
||||
@SerializedName("recode")
|
||||
private String recode;
|
||||
|
||||
/**
|
||||
* 结果信息
|
||||
*/
|
||||
@SerializedName("recode_info")
|
||||
private String recodeInfo;
|
||||
|
||||
/**
|
||||
* 系统流水号
|
||||
*/
|
||||
@SerializedName("sys_serial_no")
|
||||
private String sysSerialNo;
|
||||
|
||||
/**
|
||||
* 系统日期(YYYY-MM-DD)
|
||||
*/
|
||||
@SerializedName("sys_date")
|
||||
private String sysDate;
|
||||
|
||||
/**
|
||||
* 系统时间(YYYY-MM-DD hh:mm:ss)
|
||||
*/
|
||||
@SerializedName("sys_time")
|
||||
private String sysTime;
|
||||
}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package com.czcb.scfs.api.service.v2.invoice.model;
|
||||
|
||||
import com.czcb.scfs.api.core.PageApiRequest;
|
||||
import com.czcb.scfs.api.core.ApiRequest;
|
||||
import com.czcb.scfs.api.core.agrs.TransType;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
|
|
@ -15,7 +15,7 @@ import lombok.experimental.Accessors;
|
|||
@Data
|
||||
@Accessors(chain = true)
|
||||
@TransType("232110")
|
||||
public class InvoiceSettleRepayRequest implements PageApiRequest {
|
||||
public class InvoiceSettleRepayRequest implements ApiRequest {
|
||||
/**
|
||||
* 渠道编号
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -0,0 +1,53 @@
|
|||
package com.czcb.scfs.api.service.v2.invoice.model;
|
||||
|
||||
import com.czcb.scfs.api.core.ApiRequest;
|
||||
import com.czcb.scfs.api.core.agrs.TransType;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 222310-发票结算并还款
|
||||
*
|
||||
* @author yuchuan
|
||||
* @since 2025-09-11
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@TransType("222310")
|
||||
public class InvoiceSettleRequest implements ApiRequest {
|
||||
/**
|
||||
* 渠道编号
|
||||
*/
|
||||
@SerializedName("channel_no")
|
||||
private String channelNo;
|
||||
|
||||
/**
|
||||
* 应用编号
|
||||
*/
|
||||
@SerializedName("app_no")
|
||||
private String appNo;
|
||||
|
||||
/**
|
||||
* 流水号
|
||||
*/
|
||||
@SerializedName("serial_no")
|
||||
private String serialNo;
|
||||
|
||||
/**
|
||||
* 操作日期
|
||||
*/
|
||||
@SerializedName("trans_date")
|
||||
private String transDate;
|
||||
|
||||
/**
|
||||
* 操作时间
|
||||
*/
|
||||
@SerializedName("trans_tradetime")
|
||||
private String transTradeTime;
|
||||
/**
|
||||
* 发票编号
|
||||
*/
|
||||
@SerializedName("invoice_no")
|
||||
private String invoiceNo;
|
||||
}
|
||||
|
|
@ -0,0 +1,46 @@
|
|||
package com.czcb.scfs.api.service.v2.invoice.model;
|
||||
|
||||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 222310-发票结算并还款
|
||||
*
|
||||
* @author yuchuan
|
||||
* @since 2025-09-11
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class InvoiceSettleResponse implements ApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
*/
|
||||
@SerializedName("recode")
|
||||
private String recode;
|
||||
|
||||
/**
|
||||
* 结果信息
|
||||
*/
|
||||
@SerializedName("recode_info")
|
||||
private String recodeInfo;
|
||||
|
||||
/**
|
||||
* 系统流水号
|
||||
*/
|
||||
@SerializedName("sys_serial_no")
|
||||
private String sysSerialNo;
|
||||
|
||||
/**
|
||||
* 系统日期(YYYY-MM-DD)
|
||||
*/
|
||||
@SerializedName("sys_date")
|
||||
private String sysDate;
|
||||
|
||||
/**
|
||||
* 系统时间(YYYY-MM-DD hh:mm:ss)
|
||||
*/
|
||||
@SerializedName("sys_time")
|
||||
private String sysTime;
|
||||
}
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
package com.czcb.scfs.api.service.v2.invoice.model;
|
||||
|
||||
import com.czcb.scfs.api.core.ApiRequest;
|
||||
import com.czcb.scfs.api.core.PageApiRequest;
|
||||
import com.czcb.scfs.api.core.agrs.TransType;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
|
@ -15,7 +16,7 @@ import lombok.experimental.Accessors;
|
|||
@Data
|
||||
@Accessors(chain = true)
|
||||
@TransType("310601")
|
||||
public class OrderPoolSettleRequest implements PageApiRequest {
|
||||
public class OrderPoolSettleRequest implements ApiRequest {
|
||||
/**
|
||||
* 渠道编号
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -130,4 +130,33 @@ public class LoanService {
|
|||
HttpResponse<CreditLoanResponse> httpResponse = apiClient.post(url, headers, request.toJsonRequest(), CreditLoanResponse.class);
|
||||
return httpResponse.getServiceResponse();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 243001-贷款提款记录分页查询
|
||||
*
|
||||
* @author yuchuan
|
||||
* @since 2025/09/12
|
||||
*/
|
||||
public CreditLoanInfoPageQueryResponse creditLoanInfoPageQuery(CreditLoanInfoPageQueryRequest request) {
|
||||
String url = "/credit-loan-info/find/page";
|
||||
HttpHeaders headers = new HttpHeaders();
|
||||
headers.addHeader(API_VERSION, V_2);
|
||||
HttpResponse<CreditLoanInfoPageQueryResponse> httpResponse = apiClient.post(url, headers, request.toJsonRequest(), CreditLoanInfoPageQueryResponse.class);
|
||||
return httpResponse.getServiceResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* 243001-贷款提款记录分页查询
|
||||
*
|
||||
* @author yuchuan
|
||||
* @since 2025/09/12
|
||||
*/
|
||||
public CreditRepayInfoPageQueryResponse creditRepayInfoPageQuery(CreditRepayInfoPageQueryRequest request) {
|
||||
String url = "/credit-loan-info/find/page";
|
||||
HttpHeaders headers = new HttpHeaders();
|
||||
headers.addHeader(API_VERSION, V_2);
|
||||
HttpResponse<CreditRepayInfoPageQueryResponse> httpResponse = apiClient.post(url, headers, request.toJsonRequest(), CreditRepayInfoPageQueryResponse.class);
|
||||
return httpResponse.getServiceResponse();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,143 @@
|
|||
package com.czcb.scfs.api.service.v2.loan.model;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 放款记录表DTO
|
||||
* </p>
|
||||
*
|
||||
* @author codegen
|
||||
* @since 2024-10-29
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class CreditLoanInfoDTO implements Serializable {
|
||||
|
||||
/**
|
||||
* 合同编号
|
||||
*/
|
||||
@SerializedName("contract_no")
|
||||
private String contractNo;
|
||||
/**
|
||||
* 账号,申请人A1账户账号,收款账号
|
||||
*/
|
||||
@SerializedName("account_no")
|
||||
private String accountNo;
|
||||
/**
|
||||
* 户名,申请人A1账户户名,收款户名
|
||||
*/
|
||||
@SerializedName("account_name")
|
||||
private String accountName;
|
||||
/**
|
||||
* 放款日期
|
||||
*/
|
||||
@SerializedName("trade_date")
|
||||
private Date tradeDate;
|
||||
/**
|
||||
* 放款时间
|
||||
*/
|
||||
@SerializedName("trade_time")
|
||||
private Date tradeTime;
|
||||
/**
|
||||
* 放款金额
|
||||
*/
|
||||
@SerializedName("loan_amount")
|
||||
private BigDecimal loanAmount;
|
||||
/**
|
||||
* 借据到期日
|
||||
*/
|
||||
@SerializedName("deal_date")
|
||||
private Date dealDate;
|
||||
/**
|
||||
* 系统流水号
|
||||
*/
|
||||
@SerializedName("sys_serial_no")
|
||||
private String sysSerialNo;
|
||||
/**
|
||||
* 核心流水号(轮询流水号)
|
||||
*/
|
||||
@SerializedName("core_serial_no")
|
||||
private String coreSerialNo;
|
||||
/**
|
||||
* 放款状态
|
||||
*/
|
||||
@SerializedName("loan_status")
|
||||
private String loanStatus;
|
||||
/**
|
||||
* 失败原因
|
||||
*/
|
||||
@SerializedName("fail_msg")
|
||||
private String failMsg;
|
||||
/**
|
||||
* 收款人账号
|
||||
*/
|
||||
@SerializedName("account_no_sk")
|
||||
private String accountNoSk;
|
||||
/**
|
||||
* 收款人户名
|
||||
*/
|
||||
@SerializedName("account_name_sk")
|
||||
private String accountNameSk;
|
||||
/**
|
||||
* 开户行
|
||||
*/
|
||||
@SerializedName("bank_no")
|
||||
private String bankNo;
|
||||
/**
|
||||
* 是否我行标志(0:否 1:是)
|
||||
*/
|
||||
@SerializedName("sfwh_flag")
|
||||
private String sfwhFlag;
|
||||
/**
|
||||
* 受托支付标志(0:否 1:是)
|
||||
*/
|
||||
@SerializedName("st_flag")
|
||||
private String stFlag;
|
||||
/**
|
||||
* 受托支付金额
|
||||
*/
|
||||
@SerializedName("st_amount")
|
||||
private BigDecimal stAmount;
|
||||
/**
|
||||
* 核心合同编号
|
||||
*/
|
||||
@SerializedName("core_contract_no")
|
||||
private String coreContractNo;
|
||||
/**
|
||||
* 受托收款账号
|
||||
*/
|
||||
@SerializedName("st_account_no")
|
||||
private String stAccountNo;
|
||||
/**
|
||||
* 受托收款户名
|
||||
*/
|
||||
@SerializedName("st_account_name")
|
||||
private String stAccountName;
|
||||
/**
|
||||
* 受托收款行号
|
||||
*/
|
||||
@SerializedName("st_bank_no")
|
||||
private String stBankNo;
|
||||
/**
|
||||
* 受托收款行名
|
||||
*/
|
||||
@SerializedName("st_bank_name")
|
||||
private String stBankName;
|
||||
/**
|
||||
* 贷款账号(借据编号)
|
||||
*/
|
||||
@SerializedName("loanacctno")
|
||||
private String loanacctno;
|
||||
/**
|
||||
* 贷款账号序号
|
||||
*/
|
||||
@SerializedName("acctseqno")
|
||||
private String acctseqno;
|
||||
}
|
||||
|
|
@ -0,0 +1,67 @@
|
|||
package com.czcb.scfs.api.service.v2.loan.model;
|
||||
|
||||
import com.czcb.scfs.api.core.PageApiRequest;
|
||||
import com.czcb.scfs.api.core.agrs.TransType;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 243001-贷款提款记录分页查询 请求参数
|
||||
*
|
||||
* @author yuchuan
|
||||
* @since 2025/09/12
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@TransType("243001")
|
||||
public class CreditLoanInfoPageQueryRequest implements PageApiRequest {
|
||||
/**
|
||||
* 渠道编号
|
||||
*/
|
||||
@SerializedName("channel_no")
|
||||
private String channelNo;
|
||||
|
||||
/**
|
||||
* 应用编号
|
||||
*/
|
||||
@SerializedName("app_no")
|
||||
private String appNo;
|
||||
|
||||
/**
|
||||
* 流水号
|
||||
*/
|
||||
@SerializedName("serial_no")
|
||||
private String serialNo;
|
||||
|
||||
/**
|
||||
* 操作日期
|
||||
*/
|
||||
@SerializedName("trans_date")
|
||||
private String transDate;
|
||||
|
||||
/**
|
||||
* 操作时间
|
||||
*/
|
||||
@SerializedName("trans_tradetime")
|
||||
private String transTradeTime;
|
||||
|
||||
|
||||
/**
|
||||
* 当前页数
|
||||
*/
|
||||
@SerializedName("current_page")
|
||||
private Long currentPage;
|
||||
|
||||
/**
|
||||
* 每页行数
|
||||
*/
|
||||
@SerializedName("current_rows")
|
||||
private Long currentRows;
|
||||
|
||||
@SerializedName("data")
|
||||
private CreditLoanInfoDTO data;
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,69 @@
|
|||
package com.czcb.scfs.api.service.v2.loan.model;
|
||||
|
||||
import com.czcb.scfs.api.core.PageApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 243001-贷款提款记录分页查询 应答参数
|
||||
*
|
||||
* @author yuchuan
|
||||
* @since 2025/09/12
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class CreditLoanInfoPageQueryResponse implements PageApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
*/
|
||||
@SerializedName("recode")
|
||||
private String recode;
|
||||
|
||||
/**
|
||||
* 结果信息
|
||||
*/
|
||||
@SerializedName("recode_info")
|
||||
private String recodeInfo;
|
||||
|
||||
/**
|
||||
* 系统流水号
|
||||
*/
|
||||
@SerializedName("sys_serial_no")
|
||||
private String sysSerialNo;
|
||||
|
||||
/**
|
||||
* 系统日期(YYYY-MM-DD)
|
||||
*/
|
||||
@SerializedName("sys_date")
|
||||
private String sysDate;
|
||||
|
||||
/**
|
||||
* 系统时间(YYYY-MM-DD hh:mm:ss)
|
||||
*/
|
||||
@SerializedName("sys_time")
|
||||
private String sysTime;
|
||||
|
||||
/**
|
||||
* 当前页码
|
||||
*/
|
||||
@SerializedName("current_page")
|
||||
private Long currentPage;
|
||||
|
||||
/**
|
||||
* 总页数
|
||||
*/
|
||||
@SerializedName("total_page")
|
||||
private Long totalPage;
|
||||
|
||||
/**
|
||||
* 总条数
|
||||
*/
|
||||
@SerializedName("total_rows")
|
||||
private Long totalRows;
|
||||
|
||||
@SerializedName("data")
|
||||
private List<CreditLoanInfoDTO> data;
|
||||
}
|
||||
|
|
@ -0,0 +1,139 @@
|
|||
package com.czcb.scfs.api.service.v2.loan.model;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 还款记录表DTO
|
||||
* </p>
|
||||
*
|
||||
* @author codegen
|
||||
* @since 2024-10-29
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class CreditRepayInfoDTO implements Serializable {
|
||||
|
||||
/**
|
||||
* 合同编号
|
||||
*/
|
||||
@SerializedName("contract_no")
|
||||
private String contractNo;
|
||||
/**
|
||||
* 贷款账号
|
||||
*/
|
||||
@SerializedName("loan_acct_no")
|
||||
private String loanAcctNo;
|
||||
/**
|
||||
* 账号,申请人A1账户账号,还款账号
|
||||
*/
|
||||
@SerializedName("account_no")
|
||||
private String accountNo;
|
||||
/**
|
||||
* 户名,申请人A1账户户名,还款户名
|
||||
*/
|
||||
@SerializedName("account_name")
|
||||
private String accountName;
|
||||
/**
|
||||
* 还款金额
|
||||
*/
|
||||
@SerializedName("repay_amount")
|
||||
private BigDecimal repayAmount;
|
||||
/**
|
||||
* 应还利息
|
||||
*/
|
||||
@SerializedName("need_repay_accrual")
|
||||
private BigDecimal needRepayAccrual;
|
||||
/**
|
||||
* 还款日期
|
||||
*/
|
||||
@SerializedName("trade_date")
|
||||
private Date tradeDate;
|
||||
/**
|
||||
* 还款时间
|
||||
*/
|
||||
@SerializedName("trade_time")
|
||||
private Date tradeTime;
|
||||
/**
|
||||
* 系统流水号
|
||||
*/
|
||||
@SerializedName("sys_serial_no")
|
||||
private String sysSerialNo;
|
||||
/**
|
||||
* 核心流水号(轮询流水号)
|
||||
*/
|
||||
@SerializedName("core_serial_no")
|
||||
private String coreSerialNo;
|
||||
/**
|
||||
* 还款类型 0、自动还款 1、主动还款
|
||||
*/
|
||||
@SerializedName("repay_type")
|
||||
private String repayType;
|
||||
/**
|
||||
* 还款方式 0、部分还款 1、全部还款
|
||||
*/
|
||||
@SerializedName("repay_way")
|
||||
private String repayWay;
|
||||
/**
|
||||
* 还款状态 0:未知 1:还款成功 2:还款失败
|
||||
*/
|
||||
@SerializedName("repay_status")
|
||||
private String repayStatus;
|
||||
/**
|
||||
* 失败原因
|
||||
*/
|
||||
@SerializedName("fail_msg")
|
||||
private String failMsg;
|
||||
|
||||
/**
|
||||
* 还款账号
|
||||
*/
|
||||
@SerializedName("repay_account_no")
|
||||
private String repayAccountNo;
|
||||
/**
|
||||
* 还款户名
|
||||
*/
|
||||
@SerializedName("repay_account_name")
|
||||
private String repayAccountName;
|
||||
/**
|
||||
* 是否平台还息(0,否;1,是)
|
||||
*/
|
||||
@SerializedName("is_channel_pay_intvl")
|
||||
private String isChannelPayIntvl;
|
||||
/**
|
||||
* 利息扣款账号
|
||||
*/
|
||||
@SerializedName("intvl_pay_account_no")
|
||||
private String intvlPayAccountNo;
|
||||
/**
|
||||
* 利息扣款户名
|
||||
*/
|
||||
@SerializedName("intvl_pay_account_name")
|
||||
private String intvlPayAccountName;
|
||||
/**
|
||||
* 经营实体还款账号
|
||||
*/
|
||||
@SerializedName("ent_repay_account_no")
|
||||
private String entRepayAccountNo;
|
||||
/**
|
||||
* 经营实体还款户名
|
||||
*/
|
||||
@SerializedName("ent_repay_account_name")
|
||||
private String entRepayAccountName;
|
||||
/**
|
||||
* 核心合同编号
|
||||
*/
|
||||
@SerializedName("core_contract_no")
|
||||
private String coreContractNo;
|
||||
/**
|
||||
* 应还本金
|
||||
*/
|
||||
@SerializedName("need_repay_principal")
|
||||
private BigDecimal needRepayPrincipal;
|
||||
}
|
||||
|
|
@ -0,0 +1,67 @@
|
|||
package com.czcb.scfs.api.service.v2.loan.model;
|
||||
|
||||
import com.czcb.scfs.api.core.ApiRequest;
|
||||
import com.czcb.scfs.api.core.PageApiRequest;
|
||||
import com.czcb.scfs.api.core.agrs.TransType;
|
||||
import com.czcb.scfs.api.service.v2.file.model.FileMaterial;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 243201-贷款还款记录分页查询 请求参数
|
||||
*
|
||||
* @author yuchuan
|
||||
* @since 2025/09/12
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@TransType("243201")
|
||||
public class CreditRepayInfoPageQueryRequest implements PageApiRequest {
|
||||
/**
|
||||
* 渠道编号
|
||||
*/
|
||||
@SerializedName("channel_no")
|
||||
private String channelNo;
|
||||
|
||||
/**
|
||||
* 应用编号
|
||||
*/
|
||||
@SerializedName("app_no")
|
||||
private String appNo;
|
||||
|
||||
/**
|
||||
* 流水号
|
||||
*/
|
||||
@SerializedName("serial_no")
|
||||
private String serialNo;
|
||||
|
||||
/**
|
||||
* 操作日期
|
||||
*/
|
||||
@SerializedName("trans_date")
|
||||
private String transDate;
|
||||
|
||||
/**
|
||||
* 操作时间
|
||||
*/
|
||||
@SerializedName("trans_tradetime")
|
||||
private String transTradeTime;
|
||||
|
||||
|
||||
/**
|
||||
* 当前页数
|
||||
*/
|
||||
@SerializedName("current_page")
|
||||
private Long currentPage;
|
||||
|
||||
/**
|
||||
* 每页行数
|
||||
*/
|
||||
@SerializedName("current_rows")
|
||||
private Long currentRows;
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,70 @@
|
|||
package com.czcb.scfs.api.service.v2.loan.model;
|
||||
|
||||
import com.czcb.scfs.api.core.ApiResponse;
|
||||
import com.czcb.scfs.api.core.PageApiResponse;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 243201-贷款还款记录分页查询 应答参数
|
||||
*
|
||||
* @author yuchuan
|
||||
* @since 2025/09/12
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class CreditRepayInfoPageQueryResponse implements PageApiResponse {
|
||||
/**
|
||||
* 000000:表示成功
|
||||
*/
|
||||
@SerializedName("recode")
|
||||
private String recode;
|
||||
|
||||
/**
|
||||
* 结果信息
|
||||
*/
|
||||
@SerializedName("recode_info")
|
||||
private String recodeInfo;
|
||||
|
||||
/**
|
||||
* 系统流水号
|
||||
*/
|
||||
@SerializedName("sys_serial_no")
|
||||
private String sysSerialNo;
|
||||
|
||||
/**
|
||||
* 系统日期(YYYY-MM-DD)
|
||||
*/
|
||||
@SerializedName("sys_date")
|
||||
private String sysDate;
|
||||
|
||||
/**
|
||||
* 系统时间(YYYY-MM-DD hh:mm:ss)
|
||||
*/
|
||||
@SerializedName("sys_time")
|
||||
private String sysTime;
|
||||
|
||||
/**
|
||||
* 当前页码
|
||||
*/
|
||||
@SerializedName("current_page")
|
||||
private Long currentPage;
|
||||
|
||||
/**
|
||||
* 总页数
|
||||
*/
|
||||
@SerializedName("total_page")
|
||||
private Long totalPage;
|
||||
|
||||
/**
|
||||
* 总条数
|
||||
*/
|
||||
@SerializedName("total_rows")
|
||||
private Long totalRows;
|
||||
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue