担保情况统计
parent
3c159ae479
commit
1a79f5b720
|
|
@ -102,4 +102,18 @@ public class LoanService {
|
||||||
HttpResponse<SignFlowsUrlsResponse> httpResponse = apiClient.post(url, headers, signFlowsUrlsRequest.toJsonRequest(), SignFlowsUrlsResponse.class);
|
HttpResponse<SignFlowsUrlsResponse> httpResponse = apiClient.post(url, headers, signFlowsUrlsRequest.toJsonRequest(), SignFlowsUrlsResponse.class);
|
||||||
return httpResponse.getServiceResponse();
|
return httpResponse.getServiceResponse();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 担保情况统计
|
||||||
|
*
|
||||||
|
* @param statisticRequest StatisticRequest
|
||||||
|
* @return StatisticResponse
|
||||||
|
*/
|
||||||
|
public StatisticResponse statistic(StatisticRequest statisticRequest) {
|
||||||
|
String url = "/loan-deposit/v2/statistic";
|
||||||
|
HttpHeaders headers = new HttpHeaders();
|
||||||
|
headers.addHeader(API_VERSION, V_2);
|
||||||
|
HttpResponse<StatisticResponse> httpResponse = apiClient.post(url, headers, statisticRequest.toJsonRequest(), StatisticResponse.class);
|
||||||
|
return httpResponse.getServiceResponse();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,60 @@
|
||||||
|
package com.czcb.scfs.api.service.v2.loan.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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 担保情况统计
|
||||||
|
*
|
||||||
|
* @author wangwei
|
||||||
|
* @since 2.0.0
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
@TransType("242205")
|
||||||
|
public class StatisticRequest 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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 账号(担保人A1账户账号)
|
||||||
|
*/
|
||||||
|
@SerializedName("account_no")
|
||||||
|
private String accountNo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 户名(担保人A1账户户名)
|
||||||
|
*/
|
||||||
|
@SerializedName("account_name")
|
||||||
|
private String accountName;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,96 @@
|
||||||
|
package com.czcb.scfs.api.service.v2.loan.model;
|
||||||
|
|
||||||
|
import com.czcb.scfs.api.core.ApiResponse;
|
||||||
|
import com.google.gson.annotations.SerializedName;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 担保情况统计
|
||||||
|
*
|
||||||
|
* @author wangwei
|
||||||
|
* @since 2.0.0
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class StatisticResponse 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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 账号(担保人A1账户账号)
|
||||||
|
*/
|
||||||
|
@SerializedName("account_no")
|
||||||
|
private String accountNo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 户名(担保人A1账户户名)
|
||||||
|
*/
|
||||||
|
@SerializedName("account_name")
|
||||||
|
private String accountName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 账号(担保人A6保证金账户)
|
||||||
|
*/
|
||||||
|
@SerializedName("account_no_gd")
|
||||||
|
private String accountNoGd;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 户名(担保人A6保证金账户)
|
||||||
|
*/
|
||||||
|
@SerializedName("account_name_gd")
|
||||||
|
private String accountNameGd;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 保证金账户余额
|
||||||
|
*/
|
||||||
|
@SerializedName("balance_gd")
|
||||||
|
private BigDecimal balanceGd;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 最大担保金额
|
||||||
|
*/
|
||||||
|
@SerializedName("amount_max_gd")
|
||||||
|
private BigDecimal amountMaxGd;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 担保比例
|
||||||
|
*/
|
||||||
|
@SerializedName("prop_gd")
|
||||||
|
private BigDecimal propGd;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 融资总额,担保人名下未还款融资总额
|
||||||
|
*/
|
||||||
|
@SerializedName("loan_amount_total")
|
||||||
|
private BigDecimal loanAmountTotal;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue