From b28d1d74454612f0d01b2bcc8754f25e8d570ffb Mon Sep 17 00:00:00 2001 From: wb2476 Date: Mon, 29 Jul 2024 18:10:39 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E6=B7=BB=E5=8A=A0=E7=B1=B3?= =?UTF-8?q?=E9=98=B3=E8=BF=90=E5=8D=95=E7=9B=B8=E5=85=B3=E5=AE=9A=E5=88=B6?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../entpay/model/CommonAgrtPayRequest.java | 4 +- .../entpay/model/CommonAgrtPayResponse.java | 4 +- .../entpay/model/EntPayAgrtCreateRequest.java | 4 +- .../model/EntPayAgrtCreateResponse.java | 4 +- .../entpay/model/EntPayAgrtDelRequest.java | 4 +- .../entpay/model/EntPayAgrtDelResponse.java | 4 +- .../entpay/model/EntPayAgrtPayRequest.java | 4 +- .../entpay/model/EntPayAgrtPayResponse.java | 4 +- .../model/EntPayAgrtQueryListRequest.java | 4 +- .../model/EntPayAgrtQueryListResponse.java | 4 +- .../miyang/waybill/WayBillService.java | 74 ++++ .../model/WayBillProjectCreateRequest.java | 86 ++++ .../model/WayBillProjectCreateResponse.java | 46 +++ .../model/WayBillProjectDelRequest.java | 54 +++ .../model/WayBillProjectDelResponse.java | 46 +++ .../model/WayBillProjectQueryRequest.java | 54 +++ .../model/WayBillProjectQueryResponse.java | 96 +++++ .../waybill/model/WayBillQueryRequest.java | 54 +++ .../waybill/model/WayBillQueryResponse.java | 390 ++++++++++++++++++ .../waybill/model/WayBillSettleRequest.java | 93 +++++ .../waybill/model/WayBillSettleResponse.java | 46 +++ .../waybill/model/WaybillCancelRequest.java | 54 +++ .../waybill/model/WaybillCancelResponse.java | 46 +++ .../waybill/model/WaybillCreateRequest.java | 206 +++++++++ .../waybill/model/WaybillCreateResponse.java | 46 +++ 25 files changed, 1411 insertions(+), 20 deletions(-) create mode 100644 scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillProjectCreateRequest.java create mode 100644 scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillProjectCreateResponse.java create mode 100644 scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillProjectDelRequest.java create mode 100644 scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillProjectDelResponse.java create mode 100644 scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillProjectQueryRequest.java create mode 100644 scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillProjectQueryResponse.java create mode 100644 scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillQueryRequest.java create mode 100644 scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillQueryResponse.java create mode 100644 scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillSettleRequest.java create mode 100644 scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillSettleResponse.java create mode 100644 scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WaybillCancelRequest.java create mode 100644 scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WaybillCancelResponse.java create mode 100644 scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WaybillCreateRequest.java create mode 100644 scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WaybillCreateResponse.java diff --git a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/CommonAgrtPayRequest.java b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/CommonAgrtPayRequest.java index 468ba32..ffe3a03 100644 --- a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/CommonAgrtPayRequest.java +++ b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/CommonAgrtPayRequest.java @@ -37,13 +37,13 @@ public class CommonAgrtPayRequest implements ApiRequest { private String serialNo; /** - * 操作日期 + * 操作日期 yyyy-MM-dd */ @SerializedName("trans_date") private String transDate; /** - * 操作时间 + * 操作时间 yyyy-MM-dd HH:mm:ss */ @SerializedName("trans_tradetime") private String transTradeTime; diff --git a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/CommonAgrtPayResponse.java b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/CommonAgrtPayResponse.java index 328b434..3fcf94b 100644 --- a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/CommonAgrtPayResponse.java +++ b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/CommonAgrtPayResponse.java @@ -33,13 +33,13 @@ public class CommonAgrtPayResponse implements ApiResponse { private String sysSerialNo; /** - * 系统日期(YYYY-MM-DD) + * 系统日期(yyyy-MM-dd) */ @SerializedName("sys_date") private String sysDate; /** - * 系统时间(YYYY-MM-DD hh:mm:ss) + * 系统时间(yyyy-MM-dd HH:mm:ss) */ @SerializedName("sys_time") private String sysTime; diff --git a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtCreateRequest.java b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtCreateRequest.java index 27097ef..9579153 100644 --- a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtCreateRequest.java +++ b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtCreateRequest.java @@ -35,13 +35,13 @@ public class EntPayAgrtCreateRequest implements ApiRequest { private String serialNo; /** - * 操作日期 + * 操作日期 yyyy-MM-dd */ @SerializedName("trans_date") private String transDate; /** - * 操作时间 + * 操作时间 yyyy-MM-dd HH:mm:ss */ @SerializedName("trans_tradetime") private String transTradeTime; diff --git a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtCreateResponse.java b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtCreateResponse.java index 9eda633..42912e7 100644 --- a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtCreateResponse.java +++ b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtCreateResponse.java @@ -33,13 +33,13 @@ public class EntPayAgrtCreateResponse implements ApiResponse { private String sysSerialNo; /** - * 系统日期(YYYY-MM-DD) + * 系统日期(yyyy-MM-dd) */ @SerializedName("sys_date") private String sysDate; /** - * 系统时间(YYYY-MM-DD hh:mm:ss) + * 系统时间(yyyy-MM-dd HH:mm:ss) */ @SerializedName("sys_time") private String sysTime; diff --git a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtDelRequest.java b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtDelRequest.java index d1cbc09..075539a 100644 --- a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtDelRequest.java +++ b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtDelRequest.java @@ -35,13 +35,13 @@ public class EntPayAgrtDelRequest implements ApiRequest { private String serialNo; /** - * 操作日期 + * 操作日期 yyyy-MM-dd */ @SerializedName("trans_date") private String transDate; /** - * 操作时间 + * 操作时间 yyyy-MM-dd HH:mm:ss */ @SerializedName("trans_tradetime") private String transTradeTime; diff --git a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtDelResponse.java b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtDelResponse.java index bfc8dc0..3083abb 100644 --- a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtDelResponse.java +++ b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtDelResponse.java @@ -33,13 +33,13 @@ public class EntPayAgrtDelResponse implements ApiResponse { private String sysSerialNo; /** - * 系统日期(YYYY-MM-DD) + * 系统日期(yyyy-MM-dd) */ @SerializedName("sys_date") private String sysDate; /** - * 系统时间(YYYY-MM-DD hh:mm:ss) + * 系统时间(yyyy-MM-dd HH:mm:ss) */ @SerializedName("sys_time") private String sysTime; diff --git a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtPayRequest.java b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtPayRequest.java index fd5259b..917173c 100644 --- a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtPayRequest.java +++ b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtPayRequest.java @@ -37,13 +37,13 @@ public class EntPayAgrtPayRequest implements ApiRequest { private String serialNo; /** - * 操作日期 + * 操作日期 yyyy-MM-dd */ @SerializedName("trans_date") private String transDate; /** - * 操作时间 + * 操作时间 yyyy-MM-dd HH:mm:ss */ @SerializedName("trans_tradetime") private String transTradeTime; diff --git a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtPayResponse.java b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtPayResponse.java index 3408dc4..ea4430a 100644 --- a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtPayResponse.java +++ b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtPayResponse.java @@ -33,13 +33,13 @@ public class EntPayAgrtPayResponse implements ApiResponse { private String sysSerialNo; /** - * 系统日期(YYYY-MM-DD) + * 系统日期(yyyy-MM-dd) */ @SerializedName("sys_date") private String sysDate; /** - * 系统时间(YYYY-MM-DD hh:mm:ss) + * 系统时间(yyyy-MM-dd HH:mm:ss) */ @SerializedName("sys_time") private String sysTime; diff --git a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtQueryListRequest.java b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtQueryListRequest.java index f690655..90a3258 100644 --- a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtQueryListRequest.java +++ b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtQueryListRequest.java @@ -35,13 +35,13 @@ public class EntPayAgrtQueryListRequest implements ApiRequest { private String serialNo; /** - * 操作日期 + * 操作日期 yyyy-MM-dd */ @SerializedName("trans_date") private String transDate; /** - * 操作时间 + * 操作时间 yyyy-MM-dd HH:mm:ss */ @SerializedName("trans_tradetime") private String transTradeTime; diff --git a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtQueryListResponse.java b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtQueryListResponse.java index 428ea75..fac8546 100644 --- a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtQueryListResponse.java +++ b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/entpay/model/EntPayAgrtQueryListResponse.java @@ -36,13 +36,13 @@ public class EntPayAgrtQueryListResponse implements ApiResponse { private String sysSerialNo; /** - * 系统日期(YYYY-MM-DD) + * 系统日期(yyyy-MM-dd) */ @SerializedName("sys_date") private String sysDate; /** - * 系统时间(YYYY-MM-DD hh:mm:ss) + * 系统时间(yyyy-MM-dd HH:mm:ss) */ @SerializedName("sys_time") private String sysTime; diff --git a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/WayBillService.java b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/WayBillService.java index 5a8d450..4bf8a2b 100644 --- a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/WayBillService.java +++ b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/WayBillService.java @@ -1,6 +1,9 @@ package com.czcb.scfs.api.service.v2.customization.miyang.waybill; import com.czcb.scfs.api.core.ApiClient; +import com.czcb.scfs.api.core.http.HttpHeaders; +import com.czcb.scfs.api.core.http.HttpResponse; +import com.czcb.scfs.api.service.v2.customization.miyang.waybill.model.*; /** * 米阳运单功能 @@ -16,4 +19,75 @@ public class WayBillService { this.apiClient = apiClient; } + /** + * 300407-项目白名单登记 + */ + public WayBillProjectCreateResponse projectCreate(WayBillProjectCreateRequest request) { + String url = "/waybill/project-create"; + HttpResponse httpResponse = apiClient.post(url, HttpHeaders.apiVersionV2(), + request.toJsonRequest(), WayBillProjectCreateResponse.class); + return httpResponse.getServiceResponse(); + } + + /** + * 300408-项目白名单删除 + */ + public WayBillProjectDelResponse projectDel(WayBillProjectDelRequest request) { + String url = "/waybill/project-del"; + HttpResponse httpResponse = apiClient.post(url, HttpHeaders.apiVersionV2(), + request.toJsonRequest(), WayBillProjectDelResponse.class); + return httpResponse.getServiceResponse(); + } + + /** + * 300409-项目白名单查询 + */ + public WayBillProjectQueryResponse projectQuery(WayBillProjectQueryRequest request) { + String url = "/waybill/project-query"; + HttpResponse httpResponse = apiClient.post(url, HttpHeaders.apiVersionV2(), + request.toJsonRequest(), WayBillProjectQueryResponse.class); + return httpResponse.getServiceResponse(); + } + + /** + * 300507-运单登记 + */ + public WaybillCreateResponse create(WaybillCreateRequest request) { + String url = "/waybill/create"; + HttpResponse httpResponse = apiClient.post(url, HttpHeaders.apiVersionV2(), + request.toJsonRequest(), WaybillCreateResponse.class); + return httpResponse.getServiceResponse(); + } + + /** + * 300508-运单取消 + */ + public WaybillCancelResponse cancel(WaybillCancelRequest request) { + String url = "/waybill/cancel"; + HttpResponse httpResponse = apiClient.post(url, HttpHeaders.apiVersionV2(), + request.toJsonRequest(), WaybillCancelResponse.class); + return httpResponse.getServiceResponse(); + } + + /** + * 300509-运单结算 + */ + public WayBillSettleResponse settle(WayBillSettleRequest request) { + String url = "/waybill/settle"; + HttpResponse httpResponse = apiClient.post(url, HttpHeaders.apiVersionV2(), + request.toJsonRequest(), WayBillSettleResponse.class); + return httpResponse.getServiceResponse(); + } + + /** + * 300510-运单查询 + */ + public WayBillQueryResponse query(WayBillQueryRequest request) { + String url = "/waybill/query"; + HttpResponse httpResponse = apiClient.post(url, HttpHeaders.apiVersionV2(), + request.toJsonRequest(), WayBillQueryResponse.class); + return httpResponse.getServiceResponse(); + } + + } diff --git a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillProjectCreateRequest.java b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillProjectCreateRequest.java new file mode 100644 index 0000000..fcfcbd9 --- /dev/null +++ b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillProjectCreateRequest.java @@ -0,0 +1,86 @@ +package com.czcb.scfs.api.service.v2.customization.miyang.waybill.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; + +/** + * 300407-项目白名单登记 + * + * @author H.T + * @since 2024-07-29 + */ +@Data +@Accessors(chain = true) +@TransType("300407") +public class WayBillProjectCreateRequest implements ApiRequest { + /** + * 渠道编号 + */ + @SerializedName("channel_no") + private String channelNo; + + /** + * 应用编号 + */ + @SerializedName("app_no") + private String appNo; + + /** + * 流水号 + */ + @SerializedName("serial_no") + private String serialNo; + + /** + * 操作日期 yyyy-MM-dd + */ + @SerializedName("trans_date") + private String transDate; + + /** + * 操作时间 yyyy-MM-dd HH:mm:ss + */ + @SerializedName("trans_tradetime") + private String transTradeTime; + + /** + * 项目编号 + */ + @SerializedName("project_no") + private String projectNo; + + /** + * 项目名称 + */ + @SerializedName("project_name") + private String projectName; + + /** + * 项目类型 + */ + @SerializedName("project_type") + private String projectType; + + /** + * 项目总金额 + */ + @SerializedName("project_amount_total") + private BigDecimal projectAmountTotal; + + /** + * 发包方名称 + */ + @SerializedName("payer_name") + private String payerName; + + /** + * 摘要 + */ + @SerializedName("note") + private String note; +} diff --git a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillProjectCreateResponse.java b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillProjectCreateResponse.java new file mode 100644 index 0000000..fd4b5cd --- /dev/null +++ b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillProjectCreateResponse.java @@ -0,0 +1,46 @@ +package com.czcb.scfs.api.service.v2.customization.miyang.waybill.model; + +import com.czcb.scfs.api.core.ApiResponse; +import com.google.gson.annotations.SerializedName; +import lombok.Data; +import lombok.experimental.Accessors; + +/** + * 300407-项目白名单登记 + * + * @author H.T + * @since 2024-07-29 + */ +@Data +@Accessors(chain = true) +public class WayBillProjectCreateResponse 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; +} \ No newline at end of file diff --git a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillProjectDelRequest.java b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillProjectDelRequest.java new file mode 100644 index 0000000..d2b542a --- /dev/null +++ b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillProjectDelRequest.java @@ -0,0 +1,54 @@ +package com.czcb.scfs.api.service.v2.customization.miyang.waybill.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; + +/** + * 300408-项目白名单删除 + * + * @author H.T + * @since 2024-07-29 + */ +@Data +@Accessors(chain = true) +@TransType("300408") +public class WayBillProjectDelRequest implements ApiRequest { + /** + * 渠道编号 + */ + @SerializedName("channel_no") + private String channelNo; + + /** + * 应用编号 + */ + @SerializedName("app_no") + private String appNo; + + /** + * 流水号 + */ + @SerializedName("serial_no") + private String serialNo; + + /** + * 操作日期 yyyy-MM-dd + */ + @SerializedName("trans_date") + private String transDate; + + /** + * 操作时间 yyyy-MM-dd HH:mm:ss + */ + @SerializedName("trans_tradetime") + private String transTradeTime; + + /** + * 项目编号 + */ + @SerializedName("project_no") + private String projectNo; +} diff --git a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillProjectDelResponse.java b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillProjectDelResponse.java new file mode 100644 index 0000000..5ecf4e0 --- /dev/null +++ b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillProjectDelResponse.java @@ -0,0 +1,46 @@ +package com.czcb.scfs.api.service.v2.customization.miyang.waybill.model; + +import com.czcb.scfs.api.core.ApiResponse; +import com.google.gson.annotations.SerializedName; +import lombok.Data; +import lombok.experimental.Accessors; + +/** + * 300408-项目白名单删除 + * + * @author H.T + * @since 2024-07-29 + */ +@Data +@Accessors(chain = true) +public class WayBillProjectDelResponse 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; +} \ No newline at end of file diff --git a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillProjectQueryRequest.java b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillProjectQueryRequest.java new file mode 100644 index 0000000..724f4e9 --- /dev/null +++ b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillProjectQueryRequest.java @@ -0,0 +1,54 @@ +package com.czcb.scfs.api.service.v2.customization.miyang.waybill.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; + +/** + * 300409-项目白名单查询 + * + * @author H.T + * @since 2024-07-29 + */ +@Data +@Accessors(chain = true) +@TransType("300409") +public class WayBillProjectQueryRequest implements ApiRequest { + /** + * 渠道编号 + */ + @SerializedName("channel_no") + private String channelNo; + + /** + * 应用编号 + */ + @SerializedName("app_no") + private String appNo; + + /** + * 流水号 + */ + @SerializedName("serial_no") + private String serialNo; + + /** + * 操作日期 yyyy-MM-dd + */ + @SerializedName("trans_date") + private String transDate; + + /** + * 操作时间 yyyy-MM-dd HH:mm:ss + */ + @SerializedName("trans_tradetime") + private String transTradeTime; + + /** + * 项目编号 + */ + @SerializedName("project_no") + private String projectNo; +} diff --git a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillProjectQueryResponse.java b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillProjectQueryResponse.java new file mode 100644 index 0000000..6bc4b4c --- /dev/null +++ b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillProjectQueryResponse.java @@ -0,0 +1,96 @@ +package com.czcb.scfs.api.service.v2.customization.miyang.waybill.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; + +/** + * 300409-项目白名单查询 + * + * @author H.T + * @since 2024-07-29 + */ +@Data +@Accessors(chain = true) +public class WayBillProjectQueryResponse 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; + + /** + * 项目编号 + */ + @SerializedName("project_no") + private String projectNo; + + /** + * 项目名称 + */ + @SerializedName("project_name") + private String projectName; + + /** + * 项目类型 + */ + @SerializedName("project_type") + private String projectType; + + /** + * 项目总金额 + */ + @SerializedName("project_amount_total") + private BigDecimal projectAmountTotal; + + /** + * 发包方名称 + */ + @SerializedName("payer_name") + private String payerName; + + /** + * 摘要 + */ + @SerializedName("note") + private String note; + + /** + * 放款总金额 + */ + @SerializedName("loan_amount_total") + private BigDecimal loanAmountTotal; + + /** + * 记录状态:0:正常 1:删除 + */ + @SerializedName("record_status") + private String recordStatus; +} diff --git a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillQueryRequest.java b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillQueryRequest.java new file mode 100644 index 0000000..19197cf --- /dev/null +++ b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillQueryRequest.java @@ -0,0 +1,54 @@ +package com.czcb.scfs.api.service.v2.customization.miyang.waybill.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; + +/** + * 300510-运单查询 + * + * @author H.T + * @since 2024-07-29 + */ +@Data +@Accessors(chain = true) +@TransType("300510") +public class WayBillQueryRequest implements ApiRequest { + /** + * 渠道编号 + */ + @SerializedName("channel_no") + private String channelNo; + + /** + * 应用编号 + */ + @SerializedName("app_no") + private String appNo; + + /** + * 流水号 + */ + @SerializedName("serial_no") + private String serialNo; + + /** + * 操作日期 yyyy-MM-dd + */ + @SerializedName("trans_date") + private String transDate; + + /** + * 操作时间 yyyy-MM-dd HH:mm:ss + */ + @SerializedName("trans_tradetime") + private String transTradeTime; + + /** + * 运单编号 + */ + @SerializedName("order_no") + private String orderNo; +} diff --git a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillQueryResponse.java b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillQueryResponse.java new file mode 100644 index 0000000..d71906e --- /dev/null +++ b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillQueryResponse.java @@ -0,0 +1,390 @@ +package com.czcb.scfs.api.service.v2.customization.miyang.waybill.model; + +import com.czcb.scfs.api.core.ApiResponse; +import com.google.gson.annotations.SerializedName; +import lombok.Data; +import lombok.experimental.Accessors; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.List; + +/** + * 300510-运单查询 + * + * @author H.T + * @since 2024-07-29 + */ +@Data +@Accessors(chain = true) +public class WayBillQueryResponse 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; + + /** + * 响应内容 + */ + @SerializedName("recode_data") + private WayBillQueryData recodeData; + + @Data + public static class WayBillQueryData implements Serializable { + /** + * 运单信息 + */ + @SerializedName("order_info") + private OrderWayBillInfo orderInfo; + + /** + * 订单贷款信息 + */ + @SerializedName("order_credit_info") + private List orderCreditInfoList; + } + + @Data + public static class OrderWayBillInfo implements Serializable { + /** + * 运单编号 + */ + @SerializedName("order_no") + private String orderNo; + + /** + * 项目编号 + */ + @SerializedName("project_no") + private String projectNo; + + /** + * 下单时间 + */ + @SerializedName("order_time") + private String orderTime; + + /** + * 订单类型:C、货运订单 + */ + @SerializedName("order_type") + private String orderType; + + /** + * 订单状态:0、正常 1、完结 + */ + @SerializedName("order_status") + private String orderStatus; + + /** + * 订单金额 + */ + @SerializedName("order_amount") + private BigDecimal orderAmount; + + /** + * 付款账号 + */ + @SerializedName("account_no") + private String accountNo; + + /** + * 付款户名 + */ + @SerializedName("account_name") + private String accountName; + + /** + * 收款账号 + */ + @SerializedName("opp_account_no") + private String oppAccountNo; + + /** + * 收款户名 + */ + @SerializedName("opp_account_name") + private String oppAccountName; + + /** + * 收款金额 + */ + @SerializedName("opp_amount") + private BigDecimal oppAmount; + + /** + * 分润账户账号 + */ + @SerializedName("settle_account_no") + private String settleAccountNo; + + /** + * 分润账户户名 + */ + @SerializedName("settle_account_name") + private String settleAccountName; + + /** + * 分润金额 + */ + @SerializedName("settle_amount") + private BigDecimal settleAmount; + + /** + * 收款账户1账号 + */ + @SerializedName("opp1_account_no") + private String opp1AccountNo; + + /** + * 收款账户1户名 + */ + @SerializedName("opp1_account_name") + private String opp1AccountName; + + /** + * 收款金额1 + */ + @SerializedName("opp1_amount") + private BigDecimal opp1Amount; + + /** + * 分润账户1账号 + */ + @SerializedName("settle1_account_no") + private String settle1AccountNo; + + /** + * 分润账户1户名 + */ + @SerializedName("settle1_account_name") + private String settle1AccountName; + + /** + * 分润金额1 + */ + @SerializedName("settle1_amount") + private BigDecimal settle1Amount; + + /** + * 收款账户2账号 + */ + @SerializedName("opp2_account_no") + private String opp2AccountNo; + + /** + * 收款账户2户名 + */ + @SerializedName("opp2_account_name") + private String opp2AccountName; + + /** + * 收款金额2 + */ + @SerializedName("opp2_amount") + private BigDecimal opp2Amount; + + /** + * 分润账户2账号 + */ + @SerializedName("settle2_account_no") + private String settle2AccountNo; + + /** + * 分润账户2户名 + */ + @SerializedName("settle2_account_name") + private String settle2AccountName; + + /** + * 分润金额2 + */ + @SerializedName("settle2_amount") + private BigDecimal settle2Amount; + + /** + * 摘要 + */ + @SerializedName("remork") + private String remark; + + /** + * 支付类型:1、现金支付 2、回款支付 3、退款 4、融资支付 + */ + @SerializedName("pay_type") + private String payType; + + /** + * 支付状态0:待支付 1:已支付 2:已撤销 + */ + @SerializedName("pay_status") + private String payStatus; + + /** + * 支付流水号 + */ + @SerializedName("pay_serial_no") + private String paySerialNo; + + /** + * 支付时间 + */ + @SerializedName("pay_time") + private String payTime; + + /** + * 支付摘要 + */ + @SerializedName("pay_remark") + private String payRemark; + + /** + * 支付撤销流水号 + */ + @SerializedName("pay_cancel_serial_no") + private String payCancelSerialNo; + + /** + * 支付撤销时间 + */ + @SerializedName("pay_cancel_time") + private String payCancelTime; + + /** + * 清算状态 0:未清算 1:已清算 + */ + @SerializedName("settle_status") + private String settleStatus; + + /** + * 清算流水号 + */ + @SerializedName("settle_serial_no") + private String settleSerialNo; + + /** + * 清算时间 + */ + @SerializedName("settle_time") + private String settleTime; + + /** + * 清算摘要 + */ + @SerializedName("settle_remark") + private String settleRemark; + + } + + @Data + public static class OrderCreditInfo implements Serializable { + /** + * 产品编号 + */ + @SerializedName("product_id") + private String productId; + + /** + * 合同编号 + */ + @SerializedName("contract_no") + private String contractNo; + + /** + * 授权流水号 + */ + @SerializedName("auth_serial_no") + private String authSerialNo; + + /** + * 授权时间 + */ + @SerializedName("auth_time") + private String authTime; + + /** + * 授权金额 + */ + @SerializedName("auth_amount") + private BigDecimal authAmount; + + /** + * 账号,申请人A1账户账号 + */ + @SerializedName("account_no") + private String accountNo; + + /** + * 户名,申请人A1账户户名 + */ + @SerializedName("account_name") + private String accountName; + + /** + * 放款的系统流水号 + */ + @SerializedName("sys_serial_no") + private String sysSerialNo; + + /** + * 核心流水号(轮询流水号) + */ + @SerializedName("core_serial_no") + private String coreSerialNo; + + /** + * 放款金额(订单确认金额) + */ + @SerializedName("trade_amount") + private BigDecimal tradeAmount; + + /** + * 放款日期 + */ + @SerializedName("trade_date") + private String tradeDate; + + /** + * 放款时间 + */ + @SerializedName("trade_time") + private String tradeTime; + + /** + * 状态(0、已授权 1、已撤销 2、已放款) + */ + @SerializedName("status") + private String status; + + /** + * 摘要 + */ + @SerializedName("remark") + private String remark; + } +} diff --git a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillSettleRequest.java b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillSettleRequest.java new file mode 100644 index 0000000..d0eec22 --- /dev/null +++ b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillSettleRequest.java @@ -0,0 +1,93 @@ +package com.czcb.scfs.api.service.v2.customization.miyang.waybill.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; + +/** + * 300509-运单结算 + * + * @author H.T + * @since 2024-07-29 + */ +@Data +@Accessors(chain = true) +@TransType("300509") +public class WayBillSettleRequest implements ApiRequest { + /** + * 渠道编号 + */ + @SerializedName("channel_no") + private String channelNo; + + /** + * 应用编号 + */ + @SerializedName("app_no") + private String appNo; + + /** + * 流水号 + */ + @SerializedName("serial_no") + private String serialNo; + + /** + * 操作日期 yyyy-MM-dd + */ + @SerializedName("trans_date") + private String transDate; + + /** + * 操作时间 yyyy-MM-dd HH:mm:ss + */ + @SerializedName("trans_tradetime") + private String transTradeTime; + + /** + * 订单编号 + */ + @SerializedName("order_no") + private String orderNo; + + /** + * 支付时间 + */ + @SerializedName("pay_time") + private String payTime; + + /** + * 支付金额 + */ + @SerializedName("pay_amount") + private BigDecimal payAmount; + + /** + * 付款账户账号(米阳A2) + */ + @SerializedName("account_no") + private String accountNo; + + /** + * 付款账户户名(米阳A2) + */ + @SerializedName("account_name") + private String accountName; + + /** + * 摘要 + */ + @SerializedName("remork") + private String remark; + + /** + * 短信验证码 + */ + @SerializedName("verify_code") + private String verifyCode; + +} diff --git a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillSettleResponse.java b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillSettleResponse.java new file mode 100644 index 0000000..b705b8b --- /dev/null +++ b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WayBillSettleResponse.java @@ -0,0 +1,46 @@ +package com.czcb.scfs.api.service.v2.customization.miyang.waybill.model; + +import com.czcb.scfs.api.core.ApiResponse; +import com.google.gson.annotations.SerializedName; +import lombok.Data; +import lombok.experimental.Accessors; + +/** + * 300509-运单结算 + * + * @author H.T + * @since 2024-07-29 + */ +@Data +@Accessors(chain = true) +public class WayBillSettleResponse 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; +} \ No newline at end of file diff --git a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WaybillCancelRequest.java b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WaybillCancelRequest.java new file mode 100644 index 0000000..3a719f3 --- /dev/null +++ b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WaybillCancelRequest.java @@ -0,0 +1,54 @@ +package com.czcb.scfs.api.service.v2.customization.miyang.waybill.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; + +/** + * 300508-运单取消 + * + * @author H.T + * @since 2024-07-29 + */ +@Data +@Accessors(chain = true) +@TransType("300508") +public class WaybillCancelRequest implements ApiRequest { + /** + * 渠道编号 + */ + @SerializedName("channel_no") + private String channelNo; + + /** + * 应用编号 + */ + @SerializedName("app_no") + private String appNo; + + /** + * 流水号 + */ + @SerializedName("serial_no") + private String serialNo; + + /** + * 操作日期 yyyy-MM-dd + */ + @SerializedName("trans_date") + private String transDate; + + /** + * 操作时间 yyyy-MM-dd HH:mm:ss + */ + @SerializedName("trans_tradetime") + private String transTradeTime; + + /** + * 订单编号 + */ + @SerializedName("order_no") + private String orderNo; +} diff --git a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WaybillCancelResponse.java b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WaybillCancelResponse.java new file mode 100644 index 0000000..9710a07 --- /dev/null +++ b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WaybillCancelResponse.java @@ -0,0 +1,46 @@ +package com.czcb.scfs.api.service.v2.customization.miyang.waybill.model; + +import com.czcb.scfs.api.core.ApiResponse; +import com.google.gson.annotations.SerializedName; +import lombok.Data; +import lombok.experimental.Accessors; + +/** + * 300508-运单取消 + * + * @author H.T + * @since 2024-07-29 + */ +@Data +@Accessors(chain = true) +public class WaybillCancelResponse 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; +} \ No newline at end of file diff --git a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WaybillCreateRequest.java b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WaybillCreateRequest.java new file mode 100644 index 0000000..3dd0c31 --- /dev/null +++ b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WaybillCreateRequest.java @@ -0,0 +1,206 @@ +package com.czcb.scfs.api.service.v2.customization.miyang.waybill.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; + +/** + * 300507-运单登记 + * + * @author H.T + * @since 2024-07-29 + */ +@Data +@Accessors(chain = true) +@TransType("300507") +public class WaybillCreateRequest implements ApiRequest { + /** + * 渠道编号 + */ + @SerializedName("channel_no") + private String channelNo; + + /** + * 应用编号 + */ + @SerializedName("app_no") + private String appNo; + + /** + * 流水号 + */ + @SerializedName("serial_no") + private String serialNo; + + /** + * 操作日期 yyyy-MM-dd + */ + @SerializedName("trans_date") + private String transDate; + + /** + * 操作时间 yyyy-MM-dd HH:mm:ss + */ + @SerializedName("trans_tradetime") + private String transTradeTime; + + /** + * 订单编号 + */ + @SerializedName("order_no") + private String orderNo; + + /** + * 项目编号 + */ + @SerializedName("project_no") + private String projectNo; + + /** + * 订单类型 C 货运运订单 + */ + @SerializedName("order_type") + private String orderType; + + /** + * 下单时间 + */ + @SerializedName("order_time") + private String orderTime; + + /** + * 运单金额(付款金额 大于0)=收款金额(网货平台A2)+分润金额(米阳A1) + */ + @SerializedName("order_amount") + private BigDecimal orderAmount; + + /** + * 付款账户账号(米阳A2) + */ + @SerializedName("account_no") + private String accountNo; + + /** + * 付款账户户名(米阳A2) + */ + @SerializedName("account_name") + private String accountName; + + /** + * 收款账户账号(网货平台A2) + */ + @SerializedName("opp_account_no") + private String oppAccountNo; + + /** + * 收款账户户名(网货平台A2) + */ + @SerializedName("opp_account_name") + private String oppAccountName; + + /** + * 收款金额(网货平台A2 大于等于0)=收款金额1(司机A2)+分润金额1(网货平台A1) + */ + @SerializedName("opp_amount") + private BigDecimal oppAmount; + + /** + * 分润账户账号(米阳A1) + */ + @SerializedName("settle_account_no") + private String settleAccountNo; + + /** + * 分润账户户名(米阳A1) + */ + @SerializedName("settle_account_name") + private String settleAccountName; + + /** + * 分润金额(米阳A1)大于等于0 + */ + @SerializedName("settle_amount") + private BigDecimal settleAmount; + + /** + * 收款账户1账号(司机A2) + */ + @SerializedName("opp1_account_no") + private String opp1AccountNo; + + /** + * 收款账户1户名(司机A2) + */ + @SerializedName("opp1_account_name") + private String opp1AccountName; + + /** + * 收款金额1(司机A2)大于等于0=收款金额2(车队长A1)+分润金额2(司机A1) + */ + @SerializedName("opp1_amount") + private BigDecimal opp1Amount; + + /** + * 分润账户1账号(网货平台A1) + */ + @SerializedName("settle1_account_no") + private String settle1AccountNo; + + /** + * 分润账户1户名(网货平台A1) + */ + @SerializedName("settle1_account_name") + private String settle1AccountName; + + /** + * 分润金额1(网货平台A1) 大于等于0 + */ + @SerializedName("settle1_amount") + private BigDecimal settle1Amount; + + /** + * 收款账户2账号(车队长A1) + */ + @SerializedName("opp2_account_no") + private String opp2AccountNo; + + /** + * 收款账户2户名(车队长A1) + */ + @SerializedName("opp2_account_name") + private String opp2AccountName; + + /** + * 收款金额2(车队长A1)大于等于0 + */ + @SerializedName("opp2_amount") + private BigDecimal opp2Amount; + + /** + * 分润账户2账号(司机A1) + */ + @SerializedName("settle2_account_no") + private String settle2AccountNo; + + /** + * 分润账户2户名(司机A1) + */ + @SerializedName("settle2_account_name") + private String settle2AccountName; + + /** + * 分润金额2(司机A1)大于等于0 + */ + @SerializedName("settle2_amount") + private BigDecimal settle2Amount; + + /** + * 摘要 + */ + @SerializedName("remork") + private String remark; +} diff --git a/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WaybillCreateResponse.java b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WaybillCreateResponse.java new file mode 100644 index 0000000..faeafe0 --- /dev/null +++ b/scfs-api-service/src/main/java/com/czcb/scfs/api/service/v2/customization/miyang/waybill/model/WaybillCreateResponse.java @@ -0,0 +1,46 @@ +package com.czcb.scfs.api.service.v2.customization.miyang.waybill.model; + +import com.czcb.scfs.api.core.ApiResponse; +import com.google.gson.annotations.SerializedName; +import lombok.Data; +import lombok.experimental.Accessors; + +/** + * 300507-运单登记 + * + * @author H.T + * @since 2024-07-29 + */ +@Data +@Accessors(chain = true) +public class WaybillCreateResponse 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; +} \ No newline at end of file