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