feat:新增项目相关接口
parent
c33b6dd22c
commit
19a143355f
|
|
@ -151,12 +151,11 @@ public class ProjectService {
|
|||
request.toJsonRequest(), ProjectCollectContractDeleteResponse.class);
|
||||
return httpResponse.getServiceResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* 项目归集协议分页查询
|
||||
*/
|
||||
public ProjectCollectContractQueryResponse collectQuery (ProjectCollectContractQueryRequest request){
|
||||
String url = "/project_record/query";
|
||||
String url = "/project_collect/query";
|
||||
HttpHeaders headers = new HttpHeaders();
|
||||
headers.addHeader(API_VERSION, V_2);
|
||||
HttpResponse<ProjectCollectContractQueryResponse> httpResponse = apiClient.post(url, headers,
|
||||
|
|
@ -164,5 +163,16 @@ public class ProjectService {
|
|||
return httpResponse.getServiceResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* 项目资金归集记录分页查询
|
||||
*/
|
||||
public ProjectCollectRecordQueryResponse recordQuery (ProjectCollectRecordQueryRequest request){
|
||||
String url = "/project_record/query";
|
||||
HttpHeaders headers = new HttpHeaders();
|
||||
headers.addHeader(API_VERSION, V_2);
|
||||
HttpResponse<ProjectCollectRecordQueryResponse> httpResponse = apiClient.post(url, headers,
|
||||
request.toJsonRequest(), ProjectCollectRecordQueryResponse.class);
|
||||
return httpResponse.getServiceResponse();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,6 +6,8 @@ import com.google.gson.annotations.SerializedName;
|
|||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 项目资金归集记录分页查询
|
||||
*
|
||||
|
|
@ -16,21 +18,37 @@ import lombok.experimental.Accessors;
|
|||
@Accessors(chain = true)
|
||||
@TransType("311101")
|
||||
public class ProjectCollectRecordQueryRequest implements PageApiRequest {
|
||||
|
||||
/**
|
||||
* 归集协议编号
|
||||
*/
|
||||
@SerializedName("collect_no")
|
||||
private String collectNo;
|
||||
|
||||
/**
|
||||
* 项目编号
|
||||
*/
|
||||
@SerializedName("project_no")
|
||||
private String projectNo;
|
||||
|
||||
/**
|
||||
* 项目名称
|
||||
*/
|
||||
@SerializedName("project_name")
|
||||
private String projectName;
|
||||
|
||||
/**
|
||||
* 系统流水号
|
||||
*/
|
||||
@SerializedName("sys_serial_no")
|
||||
private String sysSerialNo;
|
||||
|
||||
/**
|
||||
* 来账流水号
|
||||
*/
|
||||
@SerializedName("deposit_serial_no")
|
||||
private String depositSerialNo;
|
||||
|
||||
/**
|
||||
* 收款账户账号
|
||||
*/
|
||||
|
|
@ -56,20 +74,38 @@ public class ProjectCollectRecordQueryRequest implements PageApiRequest {
|
|||
private String payAccountName;
|
||||
|
||||
/**
|
||||
* 归集账户账号(拆厂A2)
|
||||
* 归集账户账号
|
||||
*/
|
||||
@SerializedName("collect_account_no")
|
||||
private String collectAccountNo;
|
||||
|
||||
/**
|
||||
* 归集账户户名(拆厂A2)
|
||||
* 归集账户户名
|
||||
*/
|
||||
@SerializedName("collect_account_name")
|
||||
private String collectAccountName;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
* 归集金额
|
||||
*/
|
||||
@SerializedName("collect_amount")
|
||||
private BigDecimal collectAmount;
|
||||
|
||||
/**
|
||||
* 摘要
|
||||
*/
|
||||
@SerializedName("remark")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 归集状态
|
||||
*/
|
||||
@SerializedName("collect_status")
|
||||
private String collectStatus;
|
||||
|
||||
/**
|
||||
* 归集结果
|
||||
*/
|
||||
@SerializedName("collect_result")
|
||||
private String collectResult;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue